1 import FWCore.ParameterSet.Config
as cms
3 TrackingParticleSelectionForEfficiency = cms.PSet(
4 lipTP = cms.double(30.0),
5 chargedOnlyTP = cms.bool(
True),
6 stableOnlyTP = cms.bool(
False),
7 pdgIdTP = cms.vint32(),
8 signalOnlyTP = cms.bool(
False),
9 intimeOnlyTP = cms.bool(
True),
10 minRapidityTP = cms.double(-2.5),
11 minHitTP = cms.int32(0),
12 ptMinTP = cms.double(0.005),
13 ptMaxTP = cms.double(1e100),
14 maxRapidityTP = cms.double(2.5),
15 tipTP = cms.double(60),
16 invertRapidityCutTP = cms.bool(
False),
17 maxPhi = cms.double(3.2),
18 minPhi = cms.double(-3.2),
22 pset.minRapidityTP = -3
23 pset.maxRapidityTP = 3
24 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
25 phase1Pixel.toModify(TrackingParticleSelectionForEfficiency, _modifyForPhase1)
26 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
27 phase2_tracker.toModify(TrackingParticleSelectionForEfficiency, minRapidityTP = -4.5, maxRapidityTP = 4.5)
28 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
29 fastSim.toModify(TrackingParticleSelectionForEfficiency, stableOnlyTP =
True)
def _modifyForPhase1(pset)