CMS 3D CMS Logo

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