CMS 3D CMS Logo

mtdTruthProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 mtdTruth = cms.PSet(
4  accumulatorType = cms.string('MtdTruthAccumulator'),
5  MinEnergy = cms.double(0.5),
6  MaxPseudoRapidity = cms.double(5.0),
7  premixStage1 = cms.bool(False),
8  maximumPreviousBunchCrossing = cms.uint32(0),
9  maximumSubsequentBunchCrossing = cms.uint32(0),
10  bunchspace = cms.uint32(25), #ns
11 
12  simHitCollections = cms.PSet(
13  mtdCollections = cms.VInputTag(
14  cms.InputTag('g4SimHits','FastTimerHitsBarrel'),
15  cms.InputTag('g4SimHits','FastTimerHitsEndcap')
16  ),
17  ),
18  simTrackCollection = cms.InputTag('g4SimHits'),
19  simVertexCollection = cms.InputTag('g4SimHits'),
20  genParticleCollection = cms.InputTag('genParticles'),
21  allowDifferentSimHitProcesses = cms.bool(False),
22  HepMCProductLabel = cms.InputTag('generatorSmeared'),
23 )
24 
25 from Configuration.ProcessModifiers.premix_stage1_cff import premix_stage1
26 premix_stage1.toModify(mtdTruth, premixStage1 = True)