File indexing completed on 2024-04-06 11:59:21
0001 import os
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process('HLTNew1')
0005
0006
0007 process.load('Configuration.StandardSequences.Services_cff')
0008 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Configuration.EventContent.EventContent_cff')
0011 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0012 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0013 process.load('Configuration.StandardSequences.MagneticField_cff')
0014 process.load('Configuration.StandardSequences.Digi_cff')
0015 process.load('Configuration.StandardSequences.SimIdeal_cff')
0016 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0017 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0018 process.load('HLTrigger.Configuration.HLT_GRun_cff')
0019 process.load('Configuration.StandardSequences.RawToDigi_cff')
0020 process.load('Configuration.StandardSequences.L1Reco_cff')
0021 process.load('Configuration.StandardSequences.Reconstruction_cff')
0022 process.load('CommonTools.ParticleFlow.EITopPAG_cff')
0023 process.load('Configuration.StandardSequences.Validation_cff')
0024 process.load('DQMOffline.Configuration.DQMOfflineMC_cff')
0025 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0026 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0027 process.load('Calibration.HcalAlCaRecoProducers.alcaisotrk_cfi')
0028 process.load('DQMOffline.Configuration.ALCARECOHcalCalDQM_cff')
0029 process.load('Calibration.HcalAlCaRecoProducers.alcastreamHcalIsotrkOutput_cff')
0030 process.load('Calibration.HcalAlCaRecoProducers.alcastreamHcalIsotrk_cff')
0031
0032 process.MessageLogger.cerr.FwkReport.reportEvery = 1
0033 process.maxEvents = cms.untracked.PSet(
0034 input = cms.untracked.int32(100)
0035 )
0036
0037
0038 process.source = cms.Source("PoolSource",
0039 secondaryFileNames = cms.untracked.vstring(),
0040 fileNames = cms.untracked.vstring(
0041 'file:/afs/cern.ch/user/g/gwalia/public/file_dqm.root'
0042 ),
0043
0044 )
0045
0046 process.options = cms.untracked.PSet(
0047 )
0048
0049
0050 process.configurationMetadata = cms.untracked.PSet(
0051 version = cms.untracked.string('$Revision: 1.19 $'),
0052 annotation = cms.untracked.string('step3 nevts:10'),
0053 name = cms.untracked.string('Applications')
0054 )
0055
0056 process.load('Calibration.HcalAlCaRecoProducers.alcastreamHcalIsotrkOutput_cff')
0057 process.isotkOutput = cms.OutputModule("PoolOutputModule",
0058 outputCommands = process.alcastreamHcalIsotrkOutput.outputCommands,
0059 fileName = cms.untracked.string('PoolOutput.root'),
0060 )
0061
0062 process.TFileService = cms.Service("TFileService",
0063 fileName = cms.string('Try_HLTIsoTrig_MC_New1_2.root')
0064 )
0065 process.load('Calibration.IsolatedParticles.isoTrig_cfi')
0066 process.IsoTrigHB.Verbosity = 0
0067 process.IsoTrigHB.ProcessName = "HLTNew1"
0068 process.IsoTrigHB.DoL2L3 = True
0069 process.IsoTrigHB.DoTimingTree = False
0070 process.IsoTrigHB.DoStudyIsol = True
0071 process.IsoTrigHB.DoChgIsolTree = True
0072 process.IsoTrigHB.DoMipCutTree = False
0073
0074 process.IsoTrigHE = process.IsoTrigHB.clone(
0075 Triggers = ["HLT_IsoTrackHE"],
0076 DoTimingTree = False)
0077
0078 process.load('Calibration.IsolatedParticles.isoTrackCalibration_cfi')
0079 process.IsoTrackCalibration.Triggers = ["HLT_IsoTrackHE_v16", "HLT_IsoTrackHB_v15"]
0080 process.IsoTrackCalibration.ProcessName = "HLTNew1"
0081 process.IsoTrackCalibration.L1Filter = "hltL1sV0SingleJet"
0082 process.IsoTrackCalibration.L2Filter = "hltIsolPixelTrackL2Filter"
0083 process.IsoTrackCalibration.L3Filter = "L3Filter"
0084 process.IsoTrackCalibration.Verbosity = 0
0085 process.analyze = cms.EndPath(process.IsoTrigHB + process.IsoTrigHE + process.IsoTrackCalibration)
0086 process.e = cms.EndPath(process.isotkOutput)
0087
0088 from Configuration.AlCa.autoCond import autoCond
0089 process.GlobalTag.globaltag=autoCond['run2_mc']
0090
0091 process.load('Calibration.IsolatedParticles.HLT_IsoTrack_cff')
0092
0093 process.HLT_IsoTrackHE_v16 = cms.Path(process.HLTBeginSequence +
0094 process.hltL1sV0SingleJet60 +
0095 process.hltPreIsoTrackHE +
0096 process.HLTDoLocalPixelSequence +
0097 process.hltPixelLayerTriplets +
0098 process.hltPixelTracks +
0099 process.hltPixelVertices +
0100 process.hltTrimmedPixelVertices +
0101 process.hltIsolPixelTrackProdHE +
0102 process.hltIsolPixelTrackL2FilterHE +
0103 process.HLTDoFullUnpackingEgammaEcalSequence +
0104 process.hltIsolEcalPixelTrackProdHE +
0105 process.hltEcalIsolPixelTrackL2FilterHE +
0106 process.HLTDoLocalStripSequence +
0107 process.hltIter0PFLowPixelSeedsFromPixelTracks +
0108 process.hltIter0PFlowCkfTrackCandidates +
0109 process.hltIter0PFlowCtfWithMaterialTracks +
0110 process.hltHcalITIPTCorrectorHE +
0111 process.hltIsolPixelTrackL3FilterHE +
0112 process.HLTEndSequence
0113 )
0114
0115 process.HLT_IsoTrackHB_v15 = cms.Path(process.HLTBeginSequence +
0116 process.hltL1sV0SingleJet60 +
0117 process.hltPreIsoTrackHB +
0118 process.HLTDoLocalPixelSequence +
0119 process.hltPixelLayerTriplets +
0120 process.hltPixelTracks +
0121 process.hltPixelVertices +
0122 process.hltTrimmedPixelVertices +
0123 process.hltIsolPixelTrackProdHB +
0124 process.hltIsolPixelTrackL2FilterHB +
0125 process.HLTDoFullUnpackingEgammaEcalSequence +
0126 process.hltIsolEcalPixelTrackProdHB +
0127 process.hltEcalIsolPixelTrackL2FilterHB +
0128 process.HLTDoLocalStripSequence +
0129 process.hltIter0PFLowPixelSeedsFromPixelTracks +
0130 process.hltIter0PFlowCkfTrackCandidates +
0131 process.hltIter0PFlowCtfWithMaterialTracks +
0132 process.hltHcalITIPTCorrectorHB +
0133 process.hltIsolPixelTrackL3FilterHB +
0134 process.HLTEndSequence
0135 )
0136
0137
0138 if 'FastTimerService' in process.__dict__:
0139 del process.FastTimerService
0140
0141
0142 process.load( "HLTrigger.Timer.FastTimerService_cfi" )
0143 process.load ("HLTrigger.Timer.fastTimerServiceClient_cfi" )
0144
0145
0146 process.FastTimerService.printJobSummary = True
0147
0148
0149 process.FastTimerService.enableDQM = True
0150
0151
0152 process.FastTimerService.enableDQMbyModule = True
0153
0154
0155 process.FastTimerService.enableDQMbyLumiSection = True
0156 process.FastTimerService.dqmLumiSectionsRange = 2500
0157
0158
0159 process.FastTimerService.dqmTimeRange = 100000.
0160 process.FastTimerService.dqmTimeResolution = 5.
0161 process.FastTimerService.dqmPathTimeRange = 10000.
0162 process.FastTimerService.dqmPathTimeResolution = 0.5
0163 process.FastTimerService.dqmModuleTimeRange = 4000.
0164 process.FastTimerService.dqmModuleTimeResolution = 0.2
0165
0166
0167 process.FastTimerService.dqmPath = "HLTNew1/TimerService"
0168 process.fastTimerServiceClient.dqmPath = "HLTNew1/TimerService"
0169 process.FastTimerService.enableDQMbyProcesses = True
0170
0171
0172 process.dqmOutput = cms.OutputModule("DQMRootOutputModule",
0173 fileName = cms.untracked.string("DQMNew1.root"),
0174 outputCommands = cms.untracked.vstring(["drop CastorDataFramesSorted_mix_*_HLTNew1"])
0175 )
0176 process.FastTimerOutput = cms.EndPath( process.dqmOutput)
0177
0178 process.load('DQMServices.Core.DQMStore_cfg')
0179 process.load('DQMOffline.CalibCalo.MonitorHcalIsoTrackAlCaReco_cfi')
0180 process.load('DQMOffline.CalibCalo.PostProcessorHcalIsoTrack_cfi')
0181
0182 process.load("DQMServices.Components.DQMEnvironment_cfi")
0183
0184 process.load("Configuration.StandardSequences.EDMtoMEAtRunEnd_cff")
0185 process.dqmSaver.referenceHandling = cms.untracked.string('all')
0186
0187 cmssw_version = os.environ.get('CMSSW_VERSION','CMSSW_X_Y_Z')
0188 process.dqmSaver.workflow = '/Test/Cal/DQM'
0189
0190 process.IsoProd.ProcessName = 'HLTNew1'
0191
0192 process.p = cms.EndPath(process.EDMtoME*process.PostProcessorHcalIsoTrack*process.dqmSaver)
0193
0194 process.digitisation_step = cms.Path(process.pdigi)
0195 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0196 process.digi2raw_step = cms.Path(process.DigiToRaw)
0197
0198 process.raw2digi_step = cms.Path(process.RawToDigi)
0199 process.L1Reco_step = cms.Path(process.L1Reco)
0200 process.reconstruction_step = cms.Path(process.reconstruction+process.IsoProd)
0201 process.eventinterpretaion_step = cms.Path(process.EIsequence)
0202 process.prevalidation_step = cms.Path(process.prevalidation)
0203 process.dqmoffline_step = cms.Path(process.DQMOffline+process.ALCARECOHcalCalIsoTrackDQM)
0204 process.validation_step = cms.EndPath(process.validation)
0205 process.endjob_step = cms.EndPath(process.endOfProcess)
0206
0207 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
0208 process.schedule.extend([process.HLTriggerFirstPath,process.HLT_IsoTrackHE_v16,process.HLT_IsoTrackHB_v15,process.HLTriggerFinalPath])
0209 process.schedule.extend([process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.eventinterpretaion_step])
0210 process.schedule.extend([process.dqmoffline_step])
0211 process.schedule.extend([process.e])
0212 process.schedule.extend([process.analyze])
0213 process.schedule.extend([process.p])
0214 process.schedule.extend([process.FastTimerOutput])
0215
0216
0217
0218 from SLHCUpgradeSimulations.Configuration.postLS1Customs import customisePostLS1
0219 process = customisePostLS1(process)
0220
0221
0222 from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforMC
0223
0224
0225 process = customizeHLTforMC(process)
0226
0227
0228
0229
0230
0231
0232
0233
0234
0235
0236
0237
0238