CMS 3D CMS Logo

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