CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackingParticleSelectionForEfficiency_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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  maxRapidityTP = cms.double(2.5),
14  tipTP = cms.double(60)
15 )
16 
17 from Configuration.StandardSequences.Eras import eras
18 def _modifyForPhase1(pset):
19  pset.minRapidityTP = -3
20  pset.maxRapidityTP = 3
21 eras.phase1Pixel.toModify(TrackingParticleSelectionForEfficiency, _modifyForPhase1)
22 if eras.fastSim.isChosen():
23  TrackingParticleSelectionForEfficiency.stableOnlyTP = True