Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-08-21 04:46:36

0001 from Validation.RecoTrack.HLTmultiTrackValidator_cff import *
0002 from Validation.RecoVertex.HLTmultiPVvalidator_cff import *
0003 from HLTriggerOffline.Muon.HLTMuonVal_cff import *
0004 from HLTriggerOffline.Tau.Validation.HLTTauValidation_cff import *
0005 from HLTriggerOffline.Egamma.EgammaValidationAutoConf_cff import *
0006 from HLTriggerOffline.HeavyFlavor.heavyFlavorValidationSequence_cff import *
0007 from HLTriggerOffline.JetMET.Validation.HLTJetMETValidation_cff import *
0008 #from HLTriggerOffline.special.hltAlCaVal_cff import *
0009 from HLTriggerOffline.SUSYBSM.SusyExoValidation_cff import *
0010 from HLTriggerOffline.Higgs.HiggsValidation_cff import *
0011 from HLTriggerOffline.B2G.b2gHLTValidation_cff import *
0012 from HLTriggerOffline.Exotica.ExoticaValidation_cff import *
0013 from HLTriggerOffline.SMP.SMPValidation_cff import *
0014 from HLTriggerOffline.Btag.HltBtagValidation_cff import *
0015 from HLTriggerOffline.Egamma.HLTmultiTrackValidatorGsfTracks_cff import *
0016 from HLTriggerOffline.Muon.HLTmultiTrackValidatorMuonTracks_cff import *
0017 # HCAL
0018 from Validation.HcalDigis.HLTHcalDigisParam_cfi import *
0019 from Validation.HcalRecHits.HLTHcalRecHitParam_cfi import *
0020 
0021 # HGCAL Rechit Calibration
0022 from Validation.HGCalValidation.hgcalHitCalibrationDefault_cfi import hgcalHitCalibrationDefault as _hgcalHitCalibrationDefault
0023 hgcalHitCalibrationHLT = _hgcalHitCalibrationDefault.clone()
0024 hgcalHitCalibrationHLT.folder = "HGCalHitCalibrationHLT"
0025 hgcalHitCalibrationHLT.recHitsEE = cms.InputTag("hltHGCalRecHit", "HGCEERecHits", "HLT")
0026 hgcalHitCalibrationHLT.recHitsFH = cms.InputTag("hltHGCalRecHit", "HGCHEFRecHits", "HLT")
0027 hgcalHitCalibrationHLT.recHitsBH = cms.InputTag("hltHGCalRecHit", "HGCHEBRecHits", "HLT")
0028 hgcalHitCalibrationHLT.hgcalMultiClusters = cms.InputTag("None")
0029 hgcalHitCalibrationHLT.electrons = cms.InputTag("None")
0030 hgcalHitCalibrationHLT.photons = cms.InputTag("None")
0031 
0032 # offline dqm:
0033 # from DQMOffline.Trigger.DQMOffline_Trigger_cff.py import *
0034 from DQMOffline.Trigger.HLTTauDQMOffline_cff import *
0035 from DQMOffline.Trigger.EgHLTOfflineSource_cfi import *
0036 #from DQMOffline.Trigger.MuonTrigRateAnalyzer_cfi import *
0037 
0038 # online dqm:
0039 from DQMOffline.Trigger.HLTMonTau_cfi import *
0040 
0041 # additional producer sequence prior to hltvalidation
0042 # to evacuate producers/filters from the EndPath
0043 hltassociation = cms.Sequence(
0044     hltMultiTrackValidation
0045     +hltMultiPVValidation
0046     +egammaSelectors
0047     +ExoticaValidationProdSeq
0048     +hltMultiTrackValidationGsfTracks
0049     +hltMultiTrackValidationMuonTracks
0050     )
0051 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0052 
0053 # Temporary Phase-2 config
0054 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
0055 phase2_common.toReplaceWith(hltassociation, hltassociation.copyAndExclude([egammaSelectors,
0056                                                                            ExoticaValidationProdSeq,
0057                                                                            hltMultiTrackValidationGsfTracks,
0058                                                                            hltMultiTrackValidationMuonTracks])
0059 )
0060 
0061 # hcal
0062 from DQMOffline.Trigger.HCALMonitoring_cff import *
0063 
0064 hltvalidationCommon = cms.Sequence(
0065     hcalMonitoringSequence
0066 )
0067 
0068 hltvalidationWithMC = cms.Sequence(
0069     HLTMuonVal
0070     +HLTTauVal
0071     +egammaValidationSequence
0072     +heavyFlavorValidationSequence
0073     +HLTJetMETValSeq
0074     +HLTSusyExoValSeq
0075     +HiggsValidationSequence
0076     +ExoticaValidationSequence
0077     +b2gHLTriggerValidation
0078     +SMPValidationSequence
0079     +hltbtagValidationSequence #too noisy for now
0080     +hltHCALdigisAnalyzer+hltHCALRecoAnalyzer+hltHCALNoiseRates # HCAL
0081 )
0082 
0083 # Temporary Phase-2 config
0084 # Exclude everything except Muon and JetMET for now. Add HGCAL Hit Calibration
0085 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
0086 _hltvalidationWithMC_Phase2 = hltvalidationWithMC.copyAndExclude([#HLTMuonVal,
0087   HLTTauVal,
0088   egammaValidationSequence,
0089   heavyFlavorValidationSequence,
0090   #HLTJetMETValSeq,
0091   HLTSusyExoValSeq,
0092   HiggsValidationSequence,
0093   ExoticaValidationSequence,
0094   b2gHLTriggerValidation,
0095   SMPValidationSequence,
0096   hltbtagValidationSequence,
0097   hltHCALdigisAnalyzer,
0098   hltHCALRecoAnalyzer,
0099   hltHCALNoiseRates])
0100 _hltvalidationWithMC_Phase2.insert(-1, hgcalHitCalibrationHLT)
0101 phase2_common.toReplaceWith(hltvalidationWithMC, _hltvalidationWithMC_Phase2)
0102 
0103 hltvalidationWithData = cms.Sequence(
0104 )
0105 
0106 hltvalidation = cms.Sequence(
0107     hltvalidationCommon *
0108     hltvalidationWithMC *
0109     hltvalidationWithData
0110 )
0111 
0112 # some hlt collections have no direct fastsim equivalent
0113 # remove the dependent modules for now
0114 # probably it would be rather easy to add or fake these collections
0115 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0116 fastSim.toReplaceWith(hltassociation, hltassociation.copyAndExclude([
0117     hltMultiTrackValidation,
0118     hltMultiPVValidation,
0119     hltMultiTrackValidationGsfTracks,
0120     hltMultiTrackValidationMuonTracks,
0121 ]))
0122 
0123 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0124 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0125 for e in [pp_on_XeXe_2017, pp_on_AA]:
0126     e.toReplaceWith(hltvalidation, hltvalidation.copyAndExclude([HiggsValidationSequence]))
0127 
0128 hltvalidation_preprod = cms.Sequence(
0129   HLTTauVal
0130   +heavyFlavorValidationSequence
0131   +HLTSusyExoValSeq
0132 # +HiggsValidationSequence
0133 )
0134 
0135 hltvalidation_prod = cms.Sequence(
0136 )
0137 
0138 trigdqm_forValidation = cms.Sequence(
0139     hltMonTauReco+HLTTauDQMOffline
0140     +egHLTOffDQMSource
0141 )
0142 
0143 hltvalidation_withDQM = cms.Sequence(
0144     hltvalidation
0145     +trigdqm_forValidation
0146 )
0147 
0148