CMS 3D CMS Logo

caloTruthProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 caloParticles = cms.PSet(
4  accumulatorType = cms.string('CaloTruthAccumulator'),
5 # createUnmergedCollection = cms.bool(True),
6 # createMergedBremsstrahlung = cms.bool(True),
7 # createInitialVertexCollection = cms.bool(False),
8 # alwaysAddAncestors = cms.bool(True),
9  MinEnergy = cms.double(0.5),
10  MaxPseudoRapidity = cms.double(5.0),
11  maximumPreviousBunchCrossing = cms.uint32(0),
12  maximumSubsequentBunchCrossing = cms.uint32(0),
13  simHitCollections = cms.PSet(
14  hgc = cms.VInputTag(
15  cms.InputTag('g4SimHits','HGCHitsEE'),
16  cms.InputTag('g4SimHits','HGCHitsHEfront'),
17  cms.InputTag('g4SimHits','HcalHits')
18  ),
19 # hcal = cms.VInputTag(cms.InputTag('g4SimHits','HcalHits')),
20 # ecal = cms.VInputTag(
21 # cms.InputTag('g4SimHits','EcalHitsEE'),
22 # cms.InputTag('g4SimHits','EcalHitsEB'),
23 # cms.InputTag('g4SimHits','EcalHitsES')
24 # )
25  ),
26  simTrackCollection = cms.InputTag('g4SimHits'),
27  simVertexCollection = cms.InputTag('g4SimHits'),
28  genParticleCollection = cms.InputTag('genParticles'),
29  allowDifferentSimHitProcesses = cms.bool(False), # should be True for FastSim, False for FullSim
30  HepMCProductLabel = cms.InputTag('generatorSmeared')
31 )
32 
33 from Configuration.Eras.Modifier_fastSim_cff import fastSim
34 fastSim.toReplaceWith(caloParticles, cms.PSet()) # don't allow this to run in fastsim