test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
globalValidation_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
41 
42 # filter/producer "pre-" sequence for globalValidation
43 globalPrevalidation = cms.Sequence(
44  simHitTPAssocProducer
45  * tracksValidation
46  * vertexValidation
47  * photonPrevalidationSequence
48  * produceDenoms
49  * prebTagSequenceMC
50 )
51 
52 # filter/producer "pre-" sequence for validation_preprod
53 preprodPrevalidation = cms.Sequence(
54  tracksPreValidation
55 )
56 
57 globalValidation = cms.Sequence( trackerHitsValidation
58  + trackerDigisValidation
59  + trackerRecHitsValidation
60  + trackingTruthValid
61  + trackingRecHitsValid
62  + ecalSimHitsValidationSequence
63  + ecalDigisValidationSequence
64  + ecalRecHitsValidationSequence
65  + ecalClustersValidationSequence
66  + hcalSimHitsValidationSequence
67  + hcaldigisValidationSequence
68  + hcalSimHitStudy
69  + hcalRecHitsValidationSequence
70  + calotowersValidationSequence
71  + validSimHit+muondtdigianalyzer
72  + cscDigiValidation
73  + validationMuonRPCDigis
74  + recoMuonValidation
75  + muIsoVal_seq
76  + muonIdValDQMSeq
77  + mixCollectionValidation
78  + JetValidation
79  + METValidation
80  + egammaValidation
81  + pfJetValidationSequence
82  + pfMETValidationSequence
83  + pfElectronValidationSequence
84  + pfJetResValidationSequence
85  + pfMuonValidationSequence
86  + rpcRecHitValidation_step
87  + dtLocalRecoValidation_no2D
88  + pfTauRunDQMValidation
89  + bTagPlotsMCbcl
90  + L1Validator
91 )
92 
93 
94 from Configuration.StandardSequences.Eras import eras
95 if eras.fastSim.isChosen():
96  # fastsim has no tracker digis and different tracker rechit and simhit structure => skipp
97  globalValidation.remove(trackerHitsValidation)
98  globalValidation.remove(trackerDigisValidation)
99  globalValidation.remove(trackerRecHitsValidation)
100  globalValidation.remove(trackingRecHitsValid)
101  # globalValidation.remove(mixCollectionValidation) # can be put back, once mixing is migrated to fastsim era
102  # the following depends on crossing frame of ecal simhits, which is a bit hard to implement in the fastsim workflow
103  # besides: is this cross frame doing something, or is it a relic from the past?
104  globalValidation.remove(ecalDigisValidationSequence)
105  globalValidation.remove(ecalRecHitsValidationSequence)
106 
107 #lite tracking validator to be used in the Validation matrix
108 #lite validation
109 globalValidationLiteTracking = cms.Sequence(globalValidation)
110 
111 #lite pre-validation
112 globalPrevalidationLiteTracking = cms.Sequence(globalPrevalidation)
113 globalPrevalidationLiteTracking.replace(tracksValidation, tracksValidationLite)
114 
115 # Tracking-only validation
116 globalPrevalidationTrackingOnly = cms.Sequence(
117  simHitTPAssocProducer
118  + tracksValidationTrackingOnly
119  + vertexValidation
120 )
121 globalValidationTrackingOnly = cms.Sequence()