6.5 Simulating and Reconstructing events with Fast Simulation
Recipe for 13TeV (CMSSW_9_2_X)
Please check with your PAG/POG if they require specific conditions.
cmsrel CMSSW_9_2_10
cd CMSSW_9_2_10/src
cmsenv
No packages need to be checked, but for the sake of being more organized, you can create and work within
FastSimulation/GenProduction
.
For simulating a
MinBias sample with no PU, use the following cmsDriver command. You always can replace the
MinBias generator fragment with your favorite fragment.
SIMULATION WITHOUT PU:
cmsDriver.py MinBias_13TeV_pythia8_TuneCUETP8M1_cfi --conditions auto:run2_mc --fast -n 1000 --era Run2_25ns --eventcontent AODSIM -s GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,RECO --datatier GEN-SIM-DIGI-RECO --beamspot Realistic25ns13TeVEarly2017Collision
To simulate physics samples with PU we show the standard mixing method and we need a
MinBias sample to proceed with this example. In the meanwhile private
MinBias samples can be generated using the example below.
cmsDriver.py MinBias_13TeV_pythia8_TuneCUETP8M1_cfi --conditions auto:run2_mc --fast -n 1000 --era Run2_25ns --eventcontent FASTPU \
-s GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,RECO --datatier GEN-SIM-RECO --beamspot Realistic25ns13TeVEarly2017Collision
SIMULATION WITH PU:
cmsDriver.py MinBias_13TeV_pythia8_TuneCUETP8M1_cfi --conditions auto:run2_mc --fast -n 100 --eventcontent AODSIM -s GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,RECO --datatier AODSIM --beamspot Realistic25ns13TeVEarly2017Collision --era Run2_25ns --pileup_input file:MinBias_13TeV_pythia8_TuneCUETP8M1_cfi_GEN_SIM_RECOBEFMIX_DIGI_RECO.root --pileup AVE_35_BX_25ns
--
LukasVanelderen - 08 Jul 2014
--
ElizaMelo - 04 Oct 2017