Skip to content

Commit

Permalink
Merge pull request #36073 from missirol/devel_cleanHLTSchedule
Browse files Browse the repository at this point in the history
removed refs to `HLTSchedule` outside of `HLTrigger/Configuration`
  • Loading branch information
cmsbuild committed Nov 17, 2021
2 parents 643b9ed + 3707caf commit 9e3204e
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@

# Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.postLS1Customs
from SLHCUpgradeSimulations.Configuration.postLS1Customs import *
process = customise_HLT(process)
process = customisePostLS1(process)

# Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@

# Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.postLS1Customs
#from SLHCUpgradeSimulations.Configuration.postLS1Customs import *
#process = customise_HLT(process)
#process = customisePostLS1(process)

# Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@

# Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.postLS1Customs
#from SLHCUpgradeSimulations.Configuration.postLS1Customs import *
#process = customise_HLT(process)
#process = customisePostLS1(process)

# Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@

# Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.postLS1Customs
#from SLHCUpgradeSimulations.Configuration.postLS1Customs import *
#process = customise_HLT(process)
#process = customisePostLS1(process)

# Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
Expand Down
2 changes: 0 additions & 2 deletions FastSimulation/Calorimetry/test/neutrinogun_fastsim_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,4 @@


# Schedule definition
process.schedule = cms.Schedule(process.HLTSchedule)
process.schedule.extend([process.hcalHitsValidation_step,process.FEVTDEBUGHLToutput_step])

2 changes: 0 additions & 2 deletions FastSimulation/Calorimetry/test/piongun_fastsim_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,4 @@
)

# Schedule definition
process.schedule = cms.Schedule(process.HLTSchedule)
process.schedule.extend([process.hcalHitsValidation_step,process.FEVTDEBUGHLToutput_step])

2 changes: 0 additions & 2 deletions FastSimulation/Validation/test/Template_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
process.HLTEndSequence = cms.Sequence(process.reconstructionWithFamos)

# Schedule the HLT paths
process.schedule = cms.Schedule()
process.schedule.extend(process.HLTSchedule)

# If uncommented : All events are reconstructed, including those rejected at L1/HLT
process.reconstruction = cms.Path(process.reconstructionWithFamos)
Expand Down
6 changes: 1 addition & 5 deletions HLTrigger/special/test/test_AsymFilters_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@

process.HLT_L1_HF_BeamGas = cms.Path( process.HLTBeginSequence + process.hltL1sL1BptxXORBscMinBiasOR + process.HLTDoLocalHF + process.hltHFAsymmetryFilter + process.HLTEndSequence )

process.m_HLTSchedule = cms.Schedule( *(process.HLTriggerFirstPath, process.HLT_L1_BSC_BeamGas, process.HLT_L1_HF_BeamGas, process.HLTriggerFinalPath, process.HLTAnalyzerEndpath ))


#Deal with the global tag
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
Expand All @@ -107,7 +105,5 @@


# Schedule definition

process.schedule = cms.Schedule(process.m_HLTSchedule)
process.schedule = cms.Schedule(*( process.HLTriggerFirstPath, process.HLT_L1_BSC_BeamGas, process.HLT_L1_HF_BeamGas, process.HLTriggerFinalPath, process.HLTAnalyzerEndpath ))
process.schedule.extend([process.endjob_step,process.out_step])

8 changes: 1 addition & 7 deletions HLTrigger/special/test/test_CosmicsFilters_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@

process.HLT_TrackerCosmics_RegionalCosmicTracking = cms.Path( process.HLTBeginSequence + process.hltL1sTrackerCosmics + process.hltPreTrackerCosmics + process.hltTrackerCosmicsPattern + process.HLTL2muonrecoSequenceNoVtx + process.HLTRegionalCosmicSeeding + process.HLTEndSequence )

process.m_HLTSchedule = cms.Schedule( *(process.HLTriggerFirstPath, process.HLT_TrackerCosmics_RegionalCosmicTracking, process.HLTriggerFinalPath, process.HLTAnalyzerEndpath ))


#Deal with the global tag
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
Expand All @@ -171,9 +169,5 @@


# Schedule definition

process.schedule = cms.Schedule(process.m_HLTSchedule)
#process.schedule = cms.Schedule(process.HLTSchedule)

process.schedule = cms.Schedule(*( process.HLTriggerFirstPath, process.HLT_TrackerCosmics_RegionalCosmicTracking, process.HLTriggerFinalPath, process.HLTAnalyzerEndpath ))
process.schedule.extend([process.endjob_step,process.out_step])

8 changes: 1 addition & 7 deletions HLTrigger/special/test/test_HaloFilters_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@
process.HLT_BeamHalo = cms.Path( process.HLTBeginSequence + process.hltL1sL1BptxXORBscMinBiasOR + process.HLTDoLocalPixel + process.hltPixelActivityFilter + process.HLTDoLocalStrips + process.hltTrackerHaloFilter + process.HLTEndSequence )


process.m_HLTSchedule = cms.Schedule( *(process.HLTriggerFirstPath, process.HLT_BeamHalo, process.HLTriggerFinalPath, process.HLTAnalyzerEndpath ))


#Deal with the global tag
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
process.GlobalTag.connect = 'frontier://FrontierProd/CMS_COND_31X_GLOBALTAG'
Expand All @@ -119,8 +116,5 @@


# Schedule definition

process.schedule = cms.Schedule(process.m_HLTSchedule)

process.schedule = cms.Schedule(*( process.HLTriggerFirstPath, process.HLT_BeamHalo, process.HLTriggerFinalPath, process.HLTAnalyzerEndpath ))
process.schedule.extend([process.endjob_step,process.out_step])

1 change: 0 additions & 1 deletion HLTriggerOffline/Tau/test/runHLTTauValidation_WithHLT.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
# run HLT
process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
process.load("HLTrigger.Configuration.HLT_2E30_cff")
process.schedule = process.HLTSchedule

process.hltL1gtTrigReport = cms.EDAnalyzer( "L1GtTrigReport",
UseL1GlobalTriggerRecord = cms.bool( False ),
Expand Down
1 change: 0 additions & 1 deletion L1Trigger/L1TCommon/test/devHLT.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step,process.debug_step)
#process.schedule.extend(process.HLTSchedule)
#process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
process.schedule.extend([process.endjob_step])

Expand Down
8 changes: 5 additions & 3 deletions L1Trigger/L1TMuonCPPF/test/step2_DIGI_L1_DIGI2RAW_HLT.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,11 @@
process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,process.emulatorCppfDigis_step,process.L1simulation_step,process.digi2raw_step)
#process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
# process.schedule imported from cff in HLTrigger.Configuration
process.schedule.insert(0, process.digitisation_step)
process.schedule.insert(1, process.emulatorCppfDigis_step)
process.schedule.insert(2, process.L1simulation_step)
process.schedule.insert(3, process.digi2raw_step)
process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
associatePatAlgosToolsTask(process)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@
HLTriggerResults = cms.InputTag( 'TriggerResults','','HLT' )
)
process.HLTAnalyzerEndpath = cms.EndPath( hltL1GtTrigReport + process.hltTrigReport )
process.HLTSchedule.append(process.HLTAnalyzerEndpath)
process.schedule = cms.Schedule()
process.schedule.extend(process.HLTSchedule)
process.schedule.append(process.HLTAnalyzerEndpath)

# If uncommented : All events are reconstructed, including those rejected at L1/HLT
# process.reconstruction = cms.Path(process.reconstructionWithFamos)
Expand Down
6 changes: 0 additions & 6 deletions SLHCUpgradeSimulations/Configuration/python/postLS1Customs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ def customisePostLS1_Common(process):
process = customise_Reco(process)
if hasattr(process,'digitisation_step') or ( hasattr(process,'mix') and hasattr(process.mix,'digitizers')):
process = customise_Digi_Common(process)
if hasattr(process,'HLTSchedule'):
process = customise_HLT(process)
if hasattr(process,'L1simulation_step'):
process = customise_L1Emulator(process)
if hasattr(process,'dqmoffline_step'):
Expand Down Expand Up @@ -779,10 +777,6 @@ def customise_DigiToRaw(process):
return process


def customise_HLT(process):
return process


def customise_Reco(process):
#lowering HO threshold with SiPM
if hasattr(process,'particleFlowRecHitHO'):
Expand Down
6 changes: 4 additions & 2 deletions SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step2_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@
process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
# process.schedule imported from cff in HLTrigger.Configuration
process.schedule.insert(0, process.digitisation_step)
process.schedule.insert(1, process.L1simulation_step)
process.schedule.insert(2, process.digi2raw_step)
process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
associatePatAlgosToolsTask(process)
Expand Down
6 changes: 4 additions & 2 deletions SimG4Core/Configuration/test/ddd_ZMM_Run3_Step2_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@
process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
# process.schedule imported from cff in HLTrigger.Configuration
process.schedule.insert(0, process.digitisation_step)
process.schedule.insert(1, process.L1simulation_step)
process.schedule.insert(2, process.digi2raw_step)
process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
associatePatAlgosToolsTask(process)
Expand Down
3 changes: 1 addition & 2 deletions Validation/RecoHI/test/step1_HLT.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,5 @@
process.out_step = cms.EndPath(process.output)

# Schedule definition
process.schedule = cms.Schedule()
process.schedule.extend(process.HLTSchedule)
# process.schedule imported from cff in HLTrigger.Configuration
process.schedule.extend([process.endjob_step,process.out_step])

0 comments on commit 9e3204e

Please sign in to comment.