File indexing completed on 2024-04-06 12:30:39
0001 import FWCore.ParameterSet.Config as cms
0002
0003 trackingParticles = cms.PSet(
0004 accumulatorType = cms.string('TrackingTruthAccumulator'),
0005 createUnmergedCollection = cms.bool(True),
0006 createMergedBremsstrahlung = cms.bool(True),
0007 createInitialVertexCollection = cms.bool(False),
0008 alwaysAddAncestors = cms.bool(True),
0009 maximumPreviousBunchCrossing = cms.uint32(9999),
0010 maximumSubsequentBunchCrossing = cms.uint32(9999),
0011 simHitCollections = cms.PSet(
0012 muon = cms.VInputTag( cms.InputTag('g4SimHits','MuonDTHits'),
0013 cms.InputTag('g4SimHits','MuonCSCHits'),
0014 cms.InputTag('g4SimHits','MuonRPCHits') ),
0015 tracker = cms.VInputTag( cms.InputTag('g4SimHits','TrackerHitsTIBLowTof'),
0016 cms.InputTag('g4SimHits','TrackerHitsTIBHighTof'),
0017 cms.InputTag('g4SimHits','TrackerHitsTIDLowTof'),
0018 cms.InputTag('g4SimHits','TrackerHitsTIDHighTof'),
0019 cms.InputTag('g4SimHits','TrackerHitsTOBLowTof'),
0020 cms.InputTag('g4SimHits','TrackerHitsTOBHighTof'),
0021 cms.InputTag('g4SimHits','TrackerHitsTECLowTof'),
0022 cms.InputTag('g4SimHits','TrackerHitsTECHighTof') ),
0023 pixel = cms.VInputTag(cms.InputTag( 'g4SimHits','TrackerHitsPixelBarrelLowTof'),
0024 cms.InputTag('g4SimHits','TrackerHitsPixelBarrelHighTof'),
0025 cms.InputTag('g4SimHits','TrackerHitsPixelEndcapLowTof'),
0026 cms.InputTag('g4SimHits','TrackerHitsPixelEndcapHighTof') )
0027 ),
0028 simTrackCollection = cms.InputTag('g4SimHits'),
0029 simVertexCollection = cms.InputTag('g4SimHits'),
0030 genParticleCollection = cms.InputTag('genParticles'),
0031 removeDeadModules = cms.bool(False),
0032 volumeRadius = cms.double(120.0),
0033 volumeZ = cms.double(300.0),
0034 vertexDistanceCut = cms.double(0.003),
0035 ignoreTracksOutsideVolume = cms.bool(False),
0036 allowDifferentSimHitProcesses = cms.bool(False),
0037 HepMCProductLabel = cms.InputTag('generatorSmeared')
0038 )
0039
0040 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0041 fastSim.toModify(trackingParticles,
0042
0043 allowDifferentSimHitProcesses = True,
0044
0045 simHitCollections = cms.PSet(
0046 muon = cms.VInputTag( cms.InputTag('MuonSimHits','MuonDTHits'),
0047 cms.InputTag('MuonSimHits','MuonCSCHits'),
0048 cms.InputTag('MuonSimHits','MuonRPCHits') ),
0049 trackerAndPixel = cms.VInputTag( cms.InputTag('fastSimProducer','TrackerHits') )
0050 ),
0051 simTrackCollection = 'fastSimProducer',
0052 simVertexCollection = 'fastSimProducer'
0053 )
0054
0055 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
0056 run2_GEM_2017.toModify(trackingParticles, simHitCollections = dict(
0057 muon = trackingParticles.simHitCollections.muon+[cms.InputTag("g4SimHits","MuonGEMHits")]))
0058
0059 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0060 run3_GEM.toModify(trackingParticles, simHitCollections = dict(
0061 muon = trackingParticles.simHitCollections.muon+[cms.InputTag("g4SimHits","MuonGEMHits")]))
0062
0063 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
0064 phase2_muon.toModify( trackingParticles, simHitCollections = dict(
0065 muon = trackingParticles.simHitCollections.muon+[cms.InputTag("g4SimHits","MuonME0Hits")]))
0066
0067 from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
0068 phase2_GE0.toModify( trackingParticles, simHitCollections = dict(
0069 muon = list(filter(lambda x: x != cms.InputTag("g4SimHits","MuonME0Hits"),
0070 trackingParticles.simHitCollections.muon))))
0071
0072 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0073 phase2_tracker.toModify( trackingParticles, simHitCollections = dict( tracker = []) )