1 import FWCore.ParameterSet.Config
as cms
3 mergedtruth = cms.EDProducer(
"TrackingTruthProducer",
5 mixLabel = cms.string(
'mix'),
6 simHitLabel = cms.string(
'g4SimHits'),
7 volumeRadius = cms.double(1200.0),
8 vertexDistanceCut = cms.double(0.003),
9 volumeZ = cms.double(3000.0),
10 mergedBremsstrahlung = cms.bool(
True),
11 removeDeadModules = cms.bool(
False),
13 HepMCDataLabels = cms.vstring(
'generatorSmeared',
19 useMultipleHepMCLabels = cms.bool(
False),
21 simHitCollections = cms.PSet(
23 'g4SimHitsTrackerHitsPixelBarrelLowTof',
24 'g4SimHitsTrackerHitsPixelBarrelHighTof',
25 'g4SimHitsTrackerHitsPixelEndcapLowTof',
26 'g4SimHitsTrackerHitsPixelEndcapHighTof' 28 tracker = cms.vstring (
29 'g4SimHitsTrackerHitsTIBLowTof',
30 'g4SimHitsTrackerHitsTIBHighTof',
31 'g4SimHitsTrackerHitsTIDLowTof',
32 'g4SimHitsTrackerHitsTIDHighTof',
33 'g4SimHitsTrackerHitsTOBLowTof',
34 'g4SimHitsTrackerHitsTOBHighTof',
35 'g4SimHitsTrackerHitsTECLowTof',
36 'g4SimHitsTrackerHitsTECHighTof' 39 'g4SimHitsMuonDTHits',
40 'g4SimHitsMuonCSCHits',
41 'g4SimHitsMuonRPCHits' 46 lipTP = cms.double(1000),
47 chargedOnlyTP = cms.bool(
True),
48 pdgIdTP = cms.vint32(),
49 signalOnlyTP = cms.bool(
True),
50 intimeOnlyTP = cms.bool(
False),
51 minRapidityTP = cms.double(-2.6),
52 minHitTP = cms.int32(3),
53 ptMinTP = cms.double(0.2),
54 ptMaxTP = cms.double(1e100),
55 maxRapidityTP = cms.double(2.6),
56 tipTP = cms.double(1000)
60 trackingParticleSelection = cms.Sequence(mergedtruth)
62 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
63 run2_GEM_2017.toModify(trackingParticleSelection, simHitCollections =
dict(
64 muon = trackingParticleSelection.simHitCollections.muon+[
"g4SimHitsMuonGEMHits"]))
66 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
67 run3_GEM.toModify(trackingParticleSelection, simHitCollections =
dict(
68 muon = trackingParticleSelection.simHitCollections.muon+[
"g4SimHitsMuonGEMHits"]))
70 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
71 phase2_muon.toModify( trackingParticleSelection, simHitCollections =
dict(
72 muon = trackingParticleSelection.simHitCollections.muon+[
"g4SimHitsMuonME0Hits"]))