Difference: SWGuideHeavyIonEvtMixing (2 vs. 3)

Revision 32009-10-01 - YetkinYilmaz

Line: 1 to 1
 
META TOPICPARENT name="SWGuideHIDocReview09"

Mixing Signal Events into Heavy Ion Background

Deleted:
<
<
<!--/twistyPlugin twikiMakeVisibleInline-->
 
Deleted:
<
<
<!--/twistyPlugin-->
 

Instructions for generating, simulating and mixing signal event

Line: 21 to 12
 

Using cmsDriver.py

Added:
>
>
cmsDriver.py [Generator cfi - with label = hiSignal ] --himix --no_exec --scenario HeavyIons -s [Sequences, at least GEN,SIM] -n [Number of events] --conditions [Conditions with Tag] --datatier [Data Tier] --eventcontent [Event Content] --filein=[Input file LFN, or PFL with prefix] --fileout=[Output file]

Example (Mixing GammaJets):

cmsDriver.py Pyquen_GammaJet_pt20_4TeV.cfi --himix --no_exec --scenario HeavyIons -s GEN,SIM,DIGI,L1,DIGI2RAW,RAW2DIGI,RECO -n 1 --conditions FrontierConditions_GlobalTag,MC_31X_V8::All --datatier 'GEN-SIM-RAW-RECO' --eventcontent FEVTDEBUG --filein=/store/relval/CMSSW_3_3_0_pre3/RelValHydjetQ_MinBias_4TeV/GEN-SIM-RAW/MC_31X_V8-v1/0015/DC571B73-43A1-DE11-BD0C-000423D98804.root --fileout=gammajet20_MIX_RECO.root
 

Writing a custom configuration

Changed:
<
<
Create a PoolSource that opens an input (heavy ion background) file.
>
>
  • Create a PoolSource that opens an input (heavy ion background) file.
 
Changed:
<
<
Load a generator particularly configured for mixing:
>
>
  • Load a generator particularly configured for mixing:
 
process.load('Configuration.Generator.Pyquen_GammaJet_pt20_4TeV_cfi')
Line: 36 to 35
 process.hiSignal = cms.EDFilter('PyquenProducer',....)
Changed:
<
<
Load the heavy ion mixing module:
>
>
  • Load the standard sequences for your job, and then add the extra sequences needed for hi-mixing:
 

Changed:
<
<
process.load('Configuration.StandardSequences.HiEventMixing_cff')
>
>
process.load('Configuration/StandardSequences/HiEventMixing_cff') process.load('SimGeneral/MixingModule/himixGEN_cff') process.load('SimGeneral/MixingModule/himixSIMExtended_cff') process.load('SimGeneral/MixingModule/himixDIGI_cff')
 
Added:
>
>
Make sure you load the hi-mix cff files AFTER you load the standard ones in your cfg!
 
Changed:
<
<
Add the sequence as a first thing to run in a path, or the first path to run in a schedule.
>
>
  • Run the standard sequences, except pgen_himix instead of pgen_hi.
 

Changed:
<
<
process.signal_step = cms.Path(process.hiSignalSequence)
>
>
process.generation_step = cms.Path(process.pgen_himix) process.simulation_step = cms.Path(process.psim) process.digitisation_step = cms.Path(process.pdigi) ...
 
Line: 61 to 67
 

Production Instructions

Changed:
<
<

Setup

>
>

Instructions for running mixing in pre-releases with CRAB jobs at MIT

CRAB can only recognize the official OSG installations at a Tier 2 site. In order to run with a prerelease, one needs to use a custom script. The instructions are in CmsafUserGuide

Setup of the working area

  Here are instruction for setting up a CMSSW project area that is capable to run the event embedding configurations. For detailed help on the steps involved, please consult the WorkBook, or MIT Tier-2/3 user guide for running locally at MIT.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback