CMS 3D CMS Logo

HLTValidation_cff.py
Go to the documentation of this file.
8 #from HLTriggerOffline.special.hltAlCaVal_cff import *
17 # HCAL
20 
21 # offline dqm:
22 # from DQMOffline.Trigger.DQMOffline_Trigger_cff.py import *
25 #from DQMOffline.Trigger.MuonTrigRateAnalyzer_cfi import *
26 
27 # online dqm:
29 
30 # additional producer sequence prior to hltvalidation
31 # to evacuate producers/filters from the EndPath
32 hltassociation = cms.Sequence(
33  hltMultiTrackValidation
34  +hltMultiPVValidation
35  +egammaSelectors
36  +ExoticaValidationProdSeq
37  +hltMultiTrackValidationGsfTracks
38  +hltMultiTrackValidationMuonTracks
39  )
40 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
41 
42 # hcal
44 
45 hltvalidationCommon = cms.Sequence(
46  hcalMonitoringSequence
47 )
48 
49 hltvalidationWithMC = cms.Sequence(
50  HLTMuonVal
51  +HLTTauVal
52  +egammaValidationSequence
53  +heavyFlavorValidationSequence
54  +HLTJetMETValSeq
55  +HLTSusyExoValSeq
56  +HiggsValidationSequence
57  +ExoticaValidationSequence
58  +b2gHLTriggerValidation
59  +SMPValidationSequence
60  +hltbtagValidationSequence #too noisy for now
61  +hltHCALdigisAnalyzer+hltHCALRecoAnalyzer+hltHCALNoiseRates # HCAL
62 )
63 
64 hltvalidationWithData = cms.Sequence(
65 )
66 
67 hltvalidation = cms.Sequence(
68  hltvalidationCommon *
69  hltvalidationWithMC *
70  hltvalidationWithData
71 )
72 
73 # some hlt collections have no direct fastsim equivalent
74 # remove the dependent modules for now
75 # probably it would be rather easy to add or fake these collections
76 from Configuration.Eras.Modifier_fastSim_cff import fastSim
77 fastSim.toReplaceWith(hltassociation, hltassociation.copyAndExclude([
78  hltMultiTrackValidation,
79  hltMultiPVValidation,
80  hltMultiTrackValidationGsfTracks,
81  hltMultiTrackValidationMuonTracks,
82 ]))
83 
84 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
85 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
86 for e in [pp_on_XeXe_2017, pp_on_AA_2018]:
87  e.toReplaceWith(hltvalidation, hltvalidation.copyAndExclude([HiggsValidationSequence]))
88 
89 hltvalidation_preprod = cms.Sequence(
90  HLTTauVal
91  +heavyFlavorValidationSequence
92  +HLTSusyExoValSeq
93 # +HiggsValidationSequence
94 )
95 
96 hltvalidation_prod = cms.Sequence(
97 )
98 
99 trigdqm_forValidation = cms.Sequence(
100  hltMonTauReco+HLTTauDQMOffline
101  +egHLTOffDQMSource
102 )
103 
104 hltvalidation_withDQM = cms.Sequence(
105  hltvalidation
106  +trigdqm_forValidation
107 )
108 
109