def customisePostLS1(process): # deal with CSC separately: process = customise_csc_PostLS1(process) # deal with L1 Emulation separately: customiseSimL1EmulatorForPostLS1(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'): process=customise_Digi(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) return process
def customisePostLS1(process): # deal with CSC separately: process = customise_csc_PostLS1(process) # deal with L1 Emulation separately: customiseSimL1EmulatorForPostLS1(process) # deal with FastSim separately: 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'): process = customise_Digi(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) return process
def customisePostLS1_Common(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
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
'keep *_*EMTF*_*_*', 'keep recoMuons_muons__*', 'keep CSCDetIdCSCCorrelatedLCTDigiMuonDigiCollection_*_*_*', 'keep *_csctfDigis_*_*', 'keep *_emtfStage2Digis_*_*', 'keep *_simEmtfDigis_*_*', 'keep *_gmtStage2Digis_*_*', 'keep *_simGmtStage2Digis_*_*', ) out_dir = "/afs/cern.ch/work/a/abrinke1/public/EMTF/Commissioning/2017/" process.out = cms.OutputModule( "PoolOutputModule", # fileName = cms.untracked.string("EMTF_Tree_highPt200MuonSkim_2016D_debug.root"), # fileName = cms.untracked.string("EMTF_Tree_ZeroBias_IsoBunch_282650_SingleHit_test.root"), # fileName = cms.untracked.string(out_dir+"EMTF_Unpacked_Cosmics_291891_RPC_all_files.root"), fileName=cms.untracked.string( out_dir + "EMTF_Unpacked_Cosmics_293580_RPC_100k.root"), outputCommands=outCommands) process.output_step = cms.EndPath(process.out) process.schedule = cms.Schedule(process.L1TMuonPath) process.schedule.extend([process.output_step]) ## What does this do? Necessary? - AWB 29.04.16 from SLHCUpgradeSimulations.Configuration.muonCustoms import customise_csc_PostLS1 process = customise_csc_PostLS1(process)
'keep CSCDetIdCSCCorrelatedLCTDigiMuonDigiCollection_*_*_*', 'keep *_csctfDigis_*_*', 'keep *_emtfStage2Digis_*_*', 'keep *_simEmtfDigis_*_*', 'keep *_gmtStage2Digis_*_*', 'keep *_simGmtStage2Digis_*_*', ) # out_dir = "/afs/cern.ch/work/a/abrinke1/public/EMTF/Commissioning/2017/" out_dir = "./" process.out = cms.OutputModule("PoolOutputModule", # fileName = cms.untracked.string("EMTF_Tree_highPt200MuonSkim_2016D_emu16_noGT_10k.root"), # fileName = cms.untracked.string(out_dir+"EMTF_Tree_ZeroBias_IsoBunch_282650_emul16_noGT_test.root"), # fileName = cms.untracked.string("EMTF_Tree_Cosmics_291622_RPC_test.root"), # fileName = cms.untracked.string(out_dir+"EMTF_Tree_Collisions_295665_exact_emul_500k.root"), fileName = cms.untracked.string(out_dir+"EMTF_Tree_DoubleMu_302663_emul17_test.root"), outputCommands = outCommands ) process.output_step = cms.EndPath(process.out) process.schedule = cms.Schedule(process.L1TMuonPath) process.schedule.extend([process.output_step]) ## What does this do? Necessary? - AWB 29.04.16 from SLHCUpgradeSimulations.Configuration.muonCustoms import customise_csc_PostLS1 process = customise_csc_PostLS1(process)