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),
26 tip = cms.double(3.5),
27 invertRapidityCut = cms.bool(
False),
28 maxPhi = cms.double(3.2),
29 minPhi = cms.double(-3.2)
33 GpSelectorForEfficiencyVsEtaBlock = cms.PSet(
34 status = cms.int32(1),
35 lip = cms.double(30.0),
36 chargedOnly = cms.bool(
True),
38 minRapidity = cms.double(-2.5),
39 ptMin = cms.double(0.9),
40 maxRapidity = cms.double(2.5),
41 tip = cms.double(3.5),
42 invertRapidityCut = cms.bool(
False),
43 maxPhi = cms.double(3.2),
44 minPhi = cms.double(-3.2)
47 GpSelectorForEfficiencyVsPhiBlock = cms.PSet(
48 status = cms.int32(1),
49 lip = cms.double(30.0),
50 chargedOnly = cms.bool(
True),
52 minRapidity = cms.double(-2.5),
53 ptMin = cms.double(0.9),
54 maxRapidity = cms.double(2.5),
55 tip = cms.double(3.5),
56 invertRapidityCut = cms.bool(
False),
57 maxPhi = cms.double(3.2),
58 minPhi = cms.double(-3.2)
61 GpSelectorForEfficiencyVsPtBlock = cms.PSet(
62 status = cms.int32(1),
63 chargedOnly = cms.bool(
True),
65 minRapidity = cms.double(-2.5),
66 maxRapidity = cms.double(2.5),
67 ptMin = cms.double(0.050),
68 tip = cms.double(3.5),
69 lip = cms.double(30.0),
70 invertRapidityCut = cms.bool(
False),
71 maxPhi = cms.double(3.2),
72 minPhi = cms.double(-3.2)
75 GpSelectorForEfficiencyVsVTXRBlock = cms.PSet(
76 status = cms.int32(1),
77 chargedOnly = cms.bool(
True),
79 minRapidity = cms.double(-2.5),
80 ptMin = cms.double(0.9),
81 maxRapidity = cms.double(2.5),
82 lip = cms.double(30.0),
83 tip = cms.double(30.0),
84 invertRapidityCut = cms.bool(
False),
85 maxPhi = cms.double(3.2),
86 minPhi = cms.double(-3.2)
89 GpSelectorForEfficiencyVsVTXZBlock = cms.PSet(
90 status = cms.int32(1),
91 chargedOnly = cms.bool(
True),
93 minRapidity = cms.double(-2.5),
94 ptMin = cms.double(0.9),
95 maxRapidity = cms.double(2.5),
96 lip = cms.double(35.0),
97 tip = cms.double(3.5),
98 invertRapidityCut = cms.bool(
False),
99 maxPhi = cms.double(3.2),
100 minPhi = cms.double(-3.2)
104 pset.minRapidity = -3
107 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
108 phase1Pixel.toModify(generalGpSelectorBlock, _modifyForPhase1)
109 phase1Pixel.toModify(GpSelectorForEfficiencyVsEtaBlock, _modifyForPhase1)
110 phase1Pixel.toModify(GpSelectorForEfficiencyVsPhiBlock, _modifyForPhase1)
111 phase1Pixel.toModify(GpSelectorForEfficiencyVsPtBlock, _modifyForPhase1)
112 phase1Pixel.toModify(GpSelectorForEfficiencyVsVTXRBlock, _modifyForPhase1)
113 phase1Pixel.toModify(GpSelectorForEfficiencyVsVTXZBlock, _modifyForPhase1)
116 pset.minRapidity = -4.5
117 pset.maxRapidity = 4.5
119 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
120 phase2_tracker.toModify(generalGpSelectorBlock, _modifyForPhase2)
121 phase2_tracker.toModify(GpSelectorForEfficiencyVsEtaBlock, _modifyForPhase2)
122 phase2_tracker.toModify(GpSelectorForEfficiencyVsPhiBlock, _modifyForPhase2)
123 phase2_tracker.toModify(GpSelectorForEfficiencyVsPtBlock, _modifyForPhase2)
124 phase2_tracker.toModify(GpSelectorForEfficiencyVsVTXRBlock, _modifyForPhase2)
125 phase2_tracker.toModify(GpSelectorForEfficiencyVsVTXZBlock, _modifyForPhase2)