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
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 if fastSim.isChosen():
79  hltassociation.remove(hltMultiTrackValidation)
80  hltassociation.remove(hltMultiPVValidation)
81  hltassociation.remove(hltMultiTrackValidationGsfTracks)
82  hltassociation.remove(hltMultiTrackValidationMuonTracks)
83 
84 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
85 pp_on_XeXe_2017.toReplaceWith(hltvalidation, hltvalidation.copyAndExclude([HiggsValidationSequence]))
86 
87 hltvalidation_preprod = cms.Sequence(
88  HLTTauVal
89  +heavyFlavorValidationSequence
90  +HLTSusyExoValSeq
91  #+HiggsValidationSequence
92  )
93 
94 hltvalidation_prod = cms.Sequence(
95  )
96 
97 trigdqm_forValidation = cms.Sequence(
98  hltMonTauReco+HLTTauDQMOffline
99  +egHLTOffDQMSource
100  )
101 
102 hltvalidation_withDQM = cms.Sequence(
103  hltvalidation
104  +trigdqm_forValidation
105  )
106 
107