CMS 3D CMS Logo

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 
50 effPlotting = cms.Sequence(runTauEff + makeBetterPlots) #test
51 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
52 
53 postValidation_preprod = cms.Sequence(
54  recoMuonPostProcessors
55  + postProcessorTrackSequence
56  + MuIsoValPostProcessor
57 )
58 
59 
60 postValidation_fastsim = cms.Sequence(
61  recoMuonPostProcessors
62  + postProcessorTrackSequence
63  + MuIsoValPostProcessor
64  + photonPostProcessor
65  + bTagCollectorSequenceMC
66  + runTauEff
67 )
68 
75 
76 postValidation_common = cms.Sequence()
77 
78 postValidation_trackingOnly = cms.Sequence(
79  postProcessorTrackSequenceTrackingOnly
80  + postProcessorVertexSequence
81 )
82 
83 postValidation_muons = cms.Sequence(
84  recoMuonPostProcessors
85  + MuonGEMHitsPostProcessors
86  + MuonGEMDigisPostProcessors
87  + MuonGEMRecHitsPostProcessors
88  + MuonME0DigisPostProcessors
89  + MuonME0SegPostProcessors
90  + MuonCSCDigisPostProcessors
91  + rpcRecHitPostValidation_step
92 )
93 
94 postValidation_JetMET = cms.Sequence(
95  METPostProcessor
96 )
97 
98 postValidation_ECAL = cms.Sequence()
99 
100 postValidation_HCAL = cms.Sequence(
101  hcalSimHitsPostProcessor
102  + hcaldigisPostProcessor
103  + hcalrechitsPostProcessor
104  + calotowersPostProcessor
105 )
106 
107 postValidation_gen = cms.Sequence(
108  EventGeneratorPostProcessor
109 )
110 
111 postValidationCosmics = cms.Sequence(
112  postProcessorMuonTrack
113 )
114 
115 postValidationMiniAOD = cms.Sequence(
116  electronPostValidationSequenceMiniAOD
117 )
118 
119 postValidationOuterTracker = cms.Sequence( OuterTracker_harvestingV )
120 
121 _phase1_postValidation = postValidation.copy()
122 _phase1_postValidation += siPixelPhase1OfflineDQM_harvestingV
123 
124 _phase1_postValidation_trackingOnly = postValidation_trackingOnly.copy()
125 _phase1_postValidation_trackingOnly += siPixelPhase1OfflineDQM_harvestingV
126 
127 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
128 phase1Pixel.toReplaceWith( postValidation, _phase1_postValidation )
129 phase1Pixel.toReplaceWith( postValidation_trackingOnly, _phase1_postValidation_trackingOnly)
130 
131 _run3_postValidation = postValidation.copy()
132 _run3_postValidation += MuonGEMHitsPostProcessors
133 _run3_postValidation += MuonGEMDigisPostProcessors
134 _run3_postValidation += MuonGEMRecHitsPostProcessors
135 
136 _phase2_postValidation = _run3_postValidation.copy()
137 _phase2_postValidation += hgcalPostProcessor
138 _phase2_postValidation += MuonME0DigisPostProcessors
139 _phase2_postValidation += MuonME0SegPostProcessors
140 _phase2_postValidation += trackerphase2ValidationHarvesting
141 
142 _phase2_ge0_postValidation = _run3_postValidation.copy()
143 _phase2_ge0_postValidation += hgcalPostProcessor
144 _phase2_ge0_postValidation += trackerphase2ValidationHarvesting
145 
146 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
147 run2_GEM_2017.toReplaceWith( postValidation, _run3_postValidation )
148 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
149 run3_GEM.toReplaceWith( postValidation, _run3_postValidation )
150 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
151 phase2_hgcal.toReplaceWith( postValidation, _phase2_postValidation )
152 from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
153 (phase2_GE0 & phase2_hgcal).toReplaceWith( postValidation, _phase2_ge0_postValidation )
154 phase2_GE0.toReplaceWith( postValidation_muons, postValidation_muons.copyAndExclude([MuonME0DigisPostProcessors, MuonME0SegPostProcessors]) )