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 maxRapidityTP = cms.double(2.6),
55 tipTP = cms.double(1000)
59 trackingParticleSelection = cms.Sequence(mergedtruth)
61 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
62 run3_GEM.toModify(trackingParticleSelection, simHitCollections =
dict(
63 muon = trackingParticleSelection.simHitCollections.muon+[
"g4SimHitsMuonGEMHits"]))
65 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
66 phase2_muon.toModify( trackingParticleSelection, simHitCollections =
dict(
67 muon = trackingParticleSelection.simHitCollections.muon+[
"g4SimHitsMuonME0Hits"]))