1 import FWCore.ParameterSet.Config
as cms
3 GenParticleSelectionForEfficiency = cms.PSet(
4 lipGP = cms.double(30.0),
5 chargedOnlyGP = cms.bool(
True),
6 pdgIdGP = cms.vint32(),
7 minRapidityGP = cms.double(-2.5),
8 ptMinGP = cms.double(0.005),
9 maxRapidityGP = cms.double(2.5),
10 tipGP = cms.double(60),
11 statusGP = cms.int32(1)
13 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
14 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
15 phase1Pixel.toModify(GenParticleSelectionForEfficiency,minRapidityGP = -3.0, maxRapidityGP = 3.0)
16 phase2_tracker.toModify(GenParticleSelectionForEfficiency,minRapidityGP = -4.5, maxRapidityGP = 4.5)
18 generalGpSelectorBlock = cms.PSet(
19 status = cms.int32(1),
20 lip = cms.double(30.0),
21 chargedOnly = cms.bool(
True),
23 minRapidity = cms.double(-2.5),
24 ptMin = cms.double(0.9),
25 maxRapidity = cms.double(2.5),
30 GpSelectorForEfficiencyVsEtaBlock = cms.PSet(
31 status = cms.int32(1),
32 lip = cms.double(30.0),
33 chargedOnly = cms.bool(
True),
35 minRapidity = cms.double(-2.5),
36 ptMin = cms.double(0.9),
37 maxRapidity = cms.double(2.5),
41 GpSelectorForEfficiencyVsPhiBlock = cms.PSet(
42 status = cms.int32(1),
43 lip = cms.double(30.0),
44 chargedOnly = cms.bool(
True),
46 minRapidity = cms.double(-2.5),
47 ptMin = cms.double(0.9),
48 maxRapidity = cms.double(2.5),
52 GpSelectorForEfficiencyVsPtBlock = cms.PSet(
53 status = cms.int32(1),
54 chargedOnly = cms.bool(
True),
56 minRapidity = cms.double(-2.5),
57 maxRapidity = cms.double(2.5),
58 ptMin = cms.double(0.050),
59 tip = cms.double(3.5),
60 lip = cms.double(30.0),
63 GpSelectorForEfficiencyVsVTXRBlock = cms.PSet(
64 status = cms.int32(1),
65 chargedOnly = cms.bool(
True),
67 minRapidity = cms.double(-2.5),
68 ptMin = cms.double(0.9),
69 maxRapidity = cms.double(2.5),
70 lip = cms.double(30.0),
71 tip = cms.double(30.0)
74 GpSelectorForEfficiencyVsVTXZBlock = cms.PSet(
75 status = cms.int32(1),
76 chargedOnly = cms.bool(
True),
78 minRapidity = cms.double(-2.5),
79 ptMin = cms.double(0.9),
80 maxRapidity = cms.double(2.5),
81 lip = cms.double(35.0),
89 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
90 phase1Pixel.toModify(generalGpSelectorBlock, _modifyForPhase1)
91 phase1Pixel.toModify(GpSelectorForEfficiencyVsEtaBlock, _modifyForPhase1)
92 phase1Pixel.toModify(GpSelectorForEfficiencyVsPhiBlock, _modifyForPhase1)
93 phase1Pixel.toModify(GpSelectorForEfficiencyVsPtBlock, _modifyForPhase1)
94 phase1Pixel.toModify(GpSelectorForEfficiencyVsVTXRBlock, _modifyForPhase1)
95 phase1Pixel.toModify(GpSelectorForEfficiencyVsVTXZBlock, _modifyForPhase1)
98 pset.minRapidity = -4.5
99 pset.maxRapidity = 4.5
101 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
102 phase2_tracker.toModify(generalGpSelectorBlock, _modifyForPhase2)
103 phase2_tracker.toModify(GpSelectorForEfficiencyVsEtaBlock, _modifyForPhase2)
104 phase2_tracker.toModify(GpSelectorForEfficiencyVsPhiBlock, _modifyForPhase2)
105 phase2_tracker.toModify(GpSelectorForEfficiencyVsPtBlock, _modifyForPhase2)
106 phase2_tracker.toModify(GpSelectorForEfficiencyVsVTXRBlock, _modifyForPhase2)
107 phase2_tracker.toModify(GpSelectorForEfficiencyVsVTXZBlock, _modifyForPhase2)
def _modifyForPhase2(pset)
def _modifyForPhase1(pset)