1 import FWCore.ParameterSet.Config
as cms
3 trackingParticles = cms.PSet(
4 accumulatorType = cms.string(
'TrackingTruthAccumulator'),
5 createUnmergedCollection = cms.bool(
True),
6 createMergedBremsstrahlung = cms.bool(
True),
7 createInitialVertexCollection = cms.bool(
False),
8 alwaysAddAncestors = cms.bool(
True),
9 maximumPreviousBunchCrossing = cms.uint32(9999),
10 maximumSubsequentBunchCrossing = cms.uint32(9999),
11 simHitCollections = cms.PSet(
12 muon = cms.VInputTag( cms.InputTag(
'g4SimHits',
'MuonDTHits'),
13 cms.InputTag(
'g4SimHits',
'MuonCSCHits'),
14 cms.InputTag(
'g4SimHits',
'MuonRPCHits') ),
15 tracker = cms.VInputTag( cms.InputTag(
'g4SimHits',
'TrackerHitsTIBLowTof'),
16 cms.InputTag(
'g4SimHits',
'TrackerHitsTIBHighTof'),
17 cms.InputTag(
'g4SimHits',
'TrackerHitsTIDLowTof'),
18 cms.InputTag(
'g4SimHits',
'TrackerHitsTIDHighTof'),
19 cms.InputTag(
'g4SimHits',
'TrackerHitsTOBLowTof'),
20 cms.InputTag(
'g4SimHits',
'TrackerHitsTOBHighTof'),
21 cms.InputTag(
'g4SimHits',
'TrackerHitsTECLowTof'),
22 cms.InputTag(
'g4SimHits',
'TrackerHitsTECHighTof') ),
23 pixel = cms.VInputTag(cms.InputTag(
'g4SimHits',
'TrackerHitsPixelBarrelLowTof'),
24 cms.InputTag(
'g4SimHits',
'TrackerHitsPixelBarrelHighTof'),
25 cms.InputTag(
'g4SimHits',
'TrackerHitsPixelEndcapLowTof'),
26 cms.InputTag(
'g4SimHits',
'TrackerHitsPixelEndcapHighTof') )
28 simTrackCollection = cms.InputTag(
'g4SimHits'),
29 simVertexCollection = cms.InputTag(
'g4SimHits'),
30 genParticleCollection = cms.InputTag(
'genParticles'),
31 removeDeadModules = cms.bool(
False),
32 volumeRadius = cms.double(120.0),
33 volumeZ = cms.double(300.0),
34 vertexDistanceCut = cms.double(0.003),
35 ignoreTracksOutsideVolume = cms.bool(
False),
36 allowDifferentSimHitProcesses = cms.bool(
False),
37 HepMCProductLabel = cms.InputTag(
'generatorSmeared')
40 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
41 fastSim.toModify(trackingParticles,
43 allowDifferentSimHitProcesses =
True,
45 simHitCollections = cms.PSet(
46 muon = cms.VInputTag( cms.InputTag(
'MuonSimHits',
'MuonDTHits'),
47 cms.InputTag(
'MuonSimHits',
'MuonCSCHits'),
48 cms.InputTag(
'MuonSimHits',
'MuonRPCHits') ),
49 trackerAndPixel = cms.VInputTag( cms.InputTag(
'fastSimProducer',
'TrackerHits') )
51 simTrackCollection =
'fastSimProducer',
52 simVertexCollection =
'fastSimProducer' 55 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
56 run2_GEM_2017.toModify(trackingParticles, simHitCollections =
dict(
57 muon = trackingParticles.simHitCollections.muon+[cms.InputTag(
"g4SimHits",
"MuonGEMHits")]))
59 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
60 run3_GEM.toModify(trackingParticles, simHitCollections =
dict(
61 muon = trackingParticles.simHitCollections.muon+[cms.InputTag(
"g4SimHits",
"MuonGEMHits")]))
63 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
64 phase2_muon.toModify( trackingParticles, simHitCollections =
dict(
65 muon = trackingParticles.simHitCollections.muon+[cms.InputTag(
"g4SimHits",
"MuonME0Hits")]))
67 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
68 phase2_tracker.toModify( trackingParticles, simHitCollections =
dict( tracker = []) )