Mixing Signal Events into Heavy Ion Background

Instructions for generating, simulating and mixing signal event

Quick Instructions

Heavy Ion mixing job can be created in two ways, by either using cmsDriver.py command, or writing a cfg yourself.

Using cmsDriver.py

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

  • Create a PoolSource that opens an input (heavy ion background) file.

  • Load a generator particularly configured for mixing:
process.load('Configuration.Generator.Pyquen_GammaJet_pt20_4TeV_cfi')

Or, define a generator module from scratch:

process.hiSignal = cms.EDFilter('PyquenProducer',....)

  • Load the standard sequences for your job, and then add the extra sequences needed for hi-mixing:
process.load('Configuration/StandardSequences/HiEventMixing_cff')
process.load('SimGeneral/MixingModule/himixGEN_cff')
process.load('SimGeneral/MixingModule/himixSIMExtended_cff')
process.load('SimGeneral/MixingModule/himixDIGI_cff')

Make sure you load the hi-mix cff files AFTER you load the standard ones in your cfg!

  • Run the standard sequences, except pgen_himix instead of pgen_hi.
process.generation_step = cms.Path(process.pgen_himix)
process.simulation_step = cms.Path(process.psim)
process.digitisation_step = cms.Path(process.pdigi)
...

Step by step Instructions

Generation

Vertex

Simulation

Mix

GenParticles

TrackingParticles

Production Instructions

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.

CMSSW_3_3_X

  • Setup your CMSSW area and environment
  • Setup you CVSROOT and get your kerberos 5 token
  • Execute the following:
     cvs co UserCode/CmsHi/Utilities/scripts/setup33X.sh
     ./UserCode/CmsHi/Utilities/scripts/setup33X.sh

Running with Crab

Configuration Examples

UserCode/CmsHi/Utilities/test/pyquen_gammajet_pt20.py

Related Links

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2009-10-01 - YetkinYilmaz
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

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