CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
postValidation_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
26 
27 postValidationTracking = cms.Sequence(
28  postProcessorTrackSequence
29  + postProcessorVertexSequence
30 )
31 postValidation = cms.Sequence(
32  recoMuonPostProcessors
33  + postValidationTracking
34  + MuIsoValPostProcessor
35  + calotowersPostProcessor
36  + hcalSimHitsPostProcessor
37  + hcaldigisPostProcessor
38  + hcalrechitsPostProcessor
39  + electronPostValidationSequence + photonPostProcessor
40  + pfJetClient + pfMETClient + pfJetResClient + pfElectronClient
41  + rpcRecHitPostValidation_step
42  + runTauEff + makeBetterPlots
43  + bTagCollectorSequenceMCbcl
44  + METPostProcessor
45  + L1GenPostProcessor
46  + bdHadronTrackPostProcessor
47  + MuonCSCDigisPostProcessors
48 )
49 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
50 
51 postValidation_preprod = cms.Sequence(
52  recoMuonPostProcessors
53  + postProcessorTrackSequence
54  + MuIsoValPostProcessor
55 )
56 
57 
58 postValidation_fastsim = cms.Sequence(
59  recoMuonPostProcessors
60  + postProcessorTrackSequence
61  + MuIsoValPostProcessor
62  + photonPostProcessor
63  + bTagCollectorSequenceMC
64  + runTauEff
65 )
66 
73 
74 postValidation_common = cms.Sequence()
75 
76 postValidation_trackingOnly = cms.Sequence(
77  postProcessorTrackSequenceTrackingOnly
78  + postProcessorVertexSequence
79 )
80 
81 postValidation_muons = cms.Sequence(
82  recoMuonPostProcessors
83  + MuonGEMHitsPostProcessors
84  + MuonGEMDigisPostProcessors
85  + MuonGEMRecHitsPostProcessors
86  + MuonME0DigisPostProcessors
87  + MuonME0SegPostProcessors
88  + MuonCSCDigisPostProcessors
89  + rpcRecHitPostValidation_step
90 )
91 
92 postValidation_JetMET = cms.Sequence(
93  METPostProcessor
94 )
95 
96 postValidation_ECAL = cms.Sequence()
97 
98 postValidation_HCAL = cms.Sequence(
99  hcalSimHitsPostProcessor
100  + hcaldigisPostProcessor
101  + hcalrechitsPostProcessor
102  + calotowersPostProcessor
103 )
104 
105 postValidation_gen = cms.Sequence(
106  EventGeneratorPostProcessor
107 )
108 
109 postValidationCosmics = cms.Sequence(
110  postProcessorMuonTrack
111 )
112 
113 postValidationMiniAOD = cms.Sequence(
114  electronPostValidationSequenceMiniAOD
115 )
116 
117 postValidationOuterTracker = cms.Sequence( OuterTracker_harvestingV )
118 
119 _phase1_postValidation = postValidation.copy()
120 _phase1_postValidation += siPixelPhase1OfflineDQM_harvestingV
121 
122 _phase1_postValidation_trackingOnly = postValidation_trackingOnly.copy()
123 _phase1_postValidation_trackingOnly += siPixelPhase1OfflineDQM_harvestingV
124 
125 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
126 phase1Pixel.toReplaceWith( postValidation, _phase1_postValidation )
127 phase1Pixel.toReplaceWith( postValidation_trackingOnly, _phase1_postValidation_trackingOnly)
128 
129 _run3_postValidation = postValidation.copy()
130 _run3_postValidation += MuonGEMHitsPostProcessors
131 _run3_postValidation += MuonGEMDigisPostProcessors
132 _run3_postValidation += MuonGEMRecHitsPostProcessors
133 
134 _phase2_postValidation = _run3_postValidation.copy()
135 _phase2_postValidation += hgcalPostProcessor
136 _phase2_postValidation += MuonME0DigisPostProcessors
137 _phase2_postValidation += MuonME0SegPostProcessors
138 _phase2_postValidation += trackerphase2ValidationHarvesting
139 
140 _phase2_ge0_postValidation = _run3_postValidation.copy()
141 _phase2_ge0_postValidation += hgcalPostProcessor
142 _phase2_ge0_postValidation += trackerphase2ValidationHarvesting
143 
144 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
145 run2_GEM_2017.toReplaceWith( postValidation, _run3_postValidation )
146 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
147 run3_GEM.toReplaceWith( postValidation, _run3_postValidation )
148 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
149 phase2_hgcal.toReplaceWith( postValidation, _phase2_postValidation )
150 from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
151 (phase2_GE0 & phase2_hgcal).toReplaceWith( postValidation, _phase2_ge0_postValidation )
152 phase2_GE0.toReplaceWith( postValidation_muons, postValidation_muons.copyAndExclude([MuonME0DigisPostProcessors, MuonME0SegPostProcessors]) )