File indexing completed on 2024-04-06 12:33:26
0001 import FWCore.ParameterSet.Config as cms
0002
0003 generalTpSelectorBlock = cms.PSet(
0004 lip = cms.double(30.0),
0005 chargedOnly = cms.bool(True),
0006 pdgId = cms.vint32(),
0007 signalOnly = cms.bool(True),
0008 intimeOnly = cms.bool(False),
0009 stableOnly = cms.bool(False),
0010 minRapidity = cms.double(-2.5),
0011 minHit = cms.int32(0),
0012 ptMin = cms.double(0.9),
0013 ptMax = cms.double(1e100),
0014 maxRapidity = cms.double(2.5),
0015 tip = cms.double(3.5),
0016 minPhi = cms.double(-3.2),
0017 maxPhi = cms.double(3.2),
0018 invertRapidityCut = cms.bool(False)
0019 )
0020
0021 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0022 fastSim.toModify(generalTpSelectorBlock, stableOnly = True)
0023
0024 TpSelectorForEfficiencyVsEtaBlock = generalTpSelectorBlock.clone()
0025 TpSelectorForEfficiencyVsPhiBlock = generalTpSelectorBlock.clone()
0026 TpSelectorForEfficiencyVsPtBlock = generalTpSelectorBlock.clone(ptMin = 0.050 )
0027 TpSelectorForEfficiencyVsVTXRBlock = generalTpSelectorBlock.clone(tip = 60.0)
0028 TpSelectorForEfficiencyVsVTXZBlock = generalTpSelectorBlock.clone()
0029
0030 def _modifyForPhase1(pset):
0031 pset.minRapidity = -3
0032 pset.maxRapidity = 3
0033 pset.tip = 2.5
0034
0035 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0036 phase1Pixel.toModify(generalTpSelectorBlock, _modifyForPhase1)
0037 phase1Pixel.toModify(TpSelectorForEfficiencyVsEtaBlock, _modifyForPhase1)
0038
0039 def _modifyForPhase2(pset):
0040 pset.minRapidity = -4.5
0041 pset.maxRapidity = 4.5
0042 pset.tip = 2.5
0043
0044 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0045 phase2_tracker.toModify(generalTpSelectorBlock, _modifyForPhase2)
0046 phase2_tracker.toModify(TpSelectorForEfficiencyVsEtaBlock, _modifyForPhase2)