def customisePostLS1(process): # deal with L1 Emulation separately from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForStage1 process = customiseSimL1EmulatorForStage1(process) # common customisation process = customisePostLS1_Common(process) # 25ns specific customisation if hasattr(process, 'digitisation_step'): process = customise_Digi_25ns(process) if hasattr(process, 'dqmoffline_step'): process = customise_DQM_25ns(process) return process
def customisePostLS1_HI(process): # deal with L1 Emulation separately from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForStage1 process = customiseSimL1EmulatorForStage1(process) # common customisation process = customisePostLS1_Common(process) # HI Specific additional customizations: from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI process = customiseSimL1EmulatorForPostLS1_Additional_HI(process) # HI L1Menu: #from L1Trigger.Configuration.customise_overwriteL1Menu import L1Menu_CollisionsHeavyIons2015_v0 #process = L1Menu_CollisionsHeavyIons2015_v0(process) return process
def customisePostLS1_Common(process): # deal with L1 Emulation separately from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForStage1 process = customiseSimL1EmulatorForStage1(process) # deal with CSC separately from SLHCUpgradeSimulations.Configuration.muonCustoms import customise_csc_PostLS1 process = customise_csc_PostLS1(process) # deal with FastSim separately from SLHCUpgradeSimulations.Configuration.fastSimCustoms import customise_fastSimPostLS1 process = customise_fastSimPostLS1(process) # all the rest if hasattr(process, "g4SimHits"): process = customise_Sim(process) if hasattr(process, "DigiToRaw"): process = customise_DigiToRaw(process) if hasattr(process, "RawToDigi"): process = customise_RawToDigi(process) if hasattr(process, "reconstruction"): 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"): process = customise_DQM(process) if hasattr(process, "dqmHarvesting"): process = customise_harvesting(process) if hasattr(process, "validation_step"): process = customise_Validation(process) if hasattr(process, "datamixing_step"): process = customise_DataMix(process) return process
def customisePostLS1_Common(process): # deal with L1 Emulation separately from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForStage1 process = customiseSimL1EmulatorForStage1(process) # deal with CSC separately from SLHCUpgradeSimulations.Configuration.muonCustoms import customise_csc_PostLS1 process = customise_csc_PostLS1(process) # deal with FastSim separately from SLHCUpgradeSimulations.Configuration.fastSimCustoms import customise_fastSimPostLS1 process = customise_fastSimPostLS1(process) # all the rest if hasattr(process, 'g4SimHits'): process = customise_Sim(process) if hasattr(process, 'DigiToRaw'): process = customise_DigiToRaw(process) if hasattr(process, 'RawToDigi'): process = customise_RawToDigi(process) if hasattr(process, 'reconstruction'): 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'): process = customise_DQM(process) if hasattr(process, 'dqmHarvesting'): process = customise_harvesting(process) if hasattr(process, 'validation_step'): process = customise_Validation(process) if hasattr(process, 'datamixing_step'): process = customise_DataMix(process) return process