Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-10 02:50:39

0001 import os
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process('HLTNew1')
0005 
0006 # import of standard configurations
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 
0028 process.MessageLogger.cerr.FwkReport.reportEvery = 1
0029 process.maxEvents = cms.untracked.PSet(
0030     input = cms.untracked.int32(-1)
0031 )
0032 
0033 # Input source
0034 process.source = cms.Source("PoolSource",
0035     secondaryFileNames = cms.untracked.vstring(),
0036     fileNames = cms.untracked.vstring(
0037         "file:/afs/cern.ch/work/r/ruchi/public/0048FA62-B924-E411-A09C-002590DB916E.root"),
0038                             skipEvents=cms.untracked.uint32(190)
0039                             )
0040 
0041 process.options = cms.untracked.PSet(
0042 )
0043 
0044 # Production Info
0045 process.configurationMetadata = cms.untracked.PSet(
0046     version = cms.untracked.string('$Revision: 1.19 $'),
0047     annotation = cms.untracked.string('step3 nevts:10'),
0048     name = cms.untracked.string('Applications')
0049 )
0050 
0051 process.TFileService = cms.Service("TFileService",
0052                                    fileName = cms.string('Try_HLTIsoTrig_MC_New1_2.root')
0053                                    )
0054 process.load('Calibration.IsolatedParticles.isoTrig_cfi')
0055 process.IsoTrigHB.Verbosity = 0
0056 process.IsoTrigHB.ProcessName = "HLTNew1"
0057 process.IsoTrigHB.DoL2L3 = True
0058 process.IsoTrigHB.DoTimingTree = False
0059 process.IsoTrigHB.DoStudyIsol = True
0060 process.IsoTrigHB.DoChgIsolTree = True
0061 process.IsoTrigHB.DoMipCutTree = False
0062 
0063 process.IsoTrigHE = process.IsoTrigHB.clone(
0064     Triggers       = ["HLT_IsoTrackHE"],
0065     DoTimingTree = False)
0066 
0067 process.load('Calibration.IsolatedParticles.isoTrackCalibration_cfi')
0068 process.IsoTrackCalibration.Triggers = ["HLT_IsoTrackHE_v16", "HLT_IsoTrackHB_v15"]
0069 process.IsoTrackCalibration.ProcessName = "HLTNew1"
0070 process.IsoTrackCalibration.L1Filter  = "hltL1sV0SingleJet"
0071 process.IsoTrackCalibration.L2Filter  = "hltIsolPixelTrackL2Filter"
0072 process.IsoTrackCalibration.L3Filter  = "L3Filter"
0073 process.IsoTrackCalibration.Verbosity = 0
0074 
0075 process.analyze = cms.EndPath(process.IsoTrigHB + process.IsoTrigHE + process.IsoTrackCalibration)
0076 
0077 from Configuration.AlCa.autoCond import autoCond
0078 process.GlobalTag.globaltag=autoCond['run2_mc']
0079 
0080 process.load('Calibration.IsolatedParticles.HLT_IsoTrack_cff')
0081 
0082 process.HLT_IsoTrackHE_v16 = cms.Path(process.HLTBeginSequence + 
0083                                       process.hltL1sV0SingleJet60 + 
0084                                       process.hltPreIsoTrackHE +
0085                                       process.HLTDoLocalPixelSequence + 
0086                                       process.hltPixelLayerTriplets + 
0087                                       process.hltPixelTracks + 
0088                                       process.hltPixelVertices +
0089                                       process.hltTrimmedPixelVertices +
0090                                       process.hltIsolPixelTrackProdHE +
0091                                       process.hltIsolPixelTrackL2FilterHE + 
0092                                       process.HLTDoFullUnpackingEgammaEcalSequence + 
0093                                       process.hltIsolEcalPixelTrackProdHE + 
0094                                       process.hltEcalIsolPixelTrackL2FilterHE +
0095                                       process.HLTDoLocalStripSequence + 
0096                                       process.hltIter0PFLowPixelSeedsFromPixelTracks +
0097                                       process.hltIter0PFlowCkfTrackCandidates +
0098                                       process.hltIter0PFlowCtfWithMaterialTracks +
0099                                       process.hltHcalITIPTCorrectorHE + 
0100                                       process.hltIsolPixelTrackL3FilterHE + 
0101                                       process.HLTEndSequence 
0102                                       )
0103 
0104 process.HLT_IsoTrackHB_v15 = cms.Path(process.HLTBeginSequence + 
0105                                       process.hltL1sV0SingleJet60 + 
0106                                       process.hltPreIsoTrackHB +
0107                                       process.HLTDoLocalPixelSequence + 
0108                                       process.hltPixelLayerTriplets + 
0109                                       process.hltPixelTracks + 
0110                                       process.hltPixelVertices + 
0111                                       process.hltTrimmedPixelVertices +
0112                                       process.hltIsolPixelTrackProdHB + 
0113                                       process.hltIsolPixelTrackL2FilterHB +
0114                                       process.HLTDoFullUnpackingEgammaEcalSequence + 
0115                                       process.hltIsolEcalPixelTrackProdHB + 
0116                                       process.hltEcalIsolPixelTrackL2FilterHB +
0117                                       process.HLTDoLocalStripSequence + 
0118                                       process.hltIter0PFLowPixelSeedsFromPixelTracks +
0119                                       process.hltIter0PFlowCkfTrackCandidates +
0120                                       process.hltIter0PFlowCtfWithMaterialTracks +
0121                                       process.hltHcalITIPTCorrectorHB + 
0122                                       process.hltIsolPixelTrackL3FilterHB + 
0123                                       process.HLTEndSequence 
0124                                       )
0125 
0126 # remove any instance of the FastTimerService
0127 if 'FastTimerService' in process.__dict__:
0128     del process.FastTimerService
0129 
0130 # instrument the menu with the FastTimerService
0131 process.load( "HLTrigger.Timer.FastTimerService_cfi" )
0132 process.load ("HLTrigger.Timer.fastTimerServiceClient_cfi" )
0133 
0134 # print a text summary at the end of the job
0135 process.FastTimerService.printJobSummary          = True
0136 
0137 # enable per-event DQM plots
0138 process.FastTimerService.enableDQM                = True
0139 
0140 # enable per-module DQM plots
0141 process.FastTimerService.enableDQMbyModule        = True
0142 
0143 # enable per-event DQM plots by lumisection
0144 process.FastTimerService.enableDQMbyLumiSection   = True
0145 process.FastTimerService.dqmLumiSectionsRange     = 2500    # lumisections (23.31 s)
0146 
0147 # set the time resolution of the DQM plots
0148 process.FastTimerService.dqmTimeRange             = 100000.   # ms
0149 process.FastTimerService.dqmTimeResolution        =    5.   # ms
0150 process.FastTimerService.dqmPathTimeRange         =  10000.   # ms
0151 process.FastTimerService.dqmPathTimeResolution    =    0.5  # ms
0152 process.FastTimerService.dqmModuleTimeRange       =   4000.   # ms
0153 process.FastTimerService.dqmModuleTimeResolution  =    0.2  # ms
0154 
0155 # set the base DQM folder for the plots
0156 process.FastTimerService.dqmPath                  = "HLTNew1/TimerService"
0157 process.fastTimerServiceClient.dqmPath            = "HLTNew1/TimerService"
0158 process.FastTimerService.enableDQMbyProcesses     = True
0159 
0160 # save the DQM plots in the DQMIO format
0161 process.dqmOutput = cms.OutputModule("DQMRootOutputModule",
0162                                      fileName = cms.untracked.string("DQMNew1.root"),
0163                                      outputCommands = cms.untracked.vstring(["drop CastorDataFramesSorted_mix_*_HLTNew1"])
0164 )
0165 process.FastTimerOutput = cms.EndPath( process.dqmOutput)
0166 
0167 # Path and EndPath definitions
0168 process.digitisation_step = cms.Path(process.pdigi)
0169 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0170 process.digi2raw_step = cms.Path(process.DigiToRaw)
0171 
0172 process.raw2digi_step = cms.Path(process.RawToDigi)
0173 process.L1Reco_step = cms.Path(process.L1Reco)
0174 process.reconstruction_step = cms.Path(process.reconstruction)
0175 process.eventinterpretaion_step = cms.Path(process.EIsequence)
0176 process.prevalidation_step = cms.Path(process.prevalidation)
0177 process.dqmoffline_step = cms.Path(process.DQMOffline)
0178 process.validation_step = cms.EndPath(process.validation)
0179 process.endjob_step = cms.EndPath(process.endOfProcess)
0180 
0181 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
0182 process.schedule.extend([process.HLTriggerFirstPath,process.HLT_IsoTrackHE_v16,process.HLT_IsoTrackHB_v15,process.HLTriggerFinalPath])
0183 process.schedule.extend([process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.eventinterpretaion_step])
0184 process.schedule.extend([process.analyze])
0185 process.schedule.extend([process.FastTimerOutput])
0186 
0187 # customisation of the process.
0188 from SLHCUpgradeSimulations.Configuration.postLS1Customs import customisePostLS1
0189 process = customisePostLS1(process)
0190 
0191 # Automatic addition of the customisation function from HLTrigger.Configuration.customizeHLTforMC
0192 from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforMC 
0193 
0194 #call to customisation function customizeHLTforMC imported from HLTrigger.Configuration.customizeHLTforMC
0195 process = customizeHLTforMC(process)
0196 
0197 # Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.postLS1Customs
0198 #from SLHCUpgradeSimulations.Configuration.postLS1Customs import *
0199 #process = customisePostLS1(process)
0200 
0201 # Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
0202 #from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn 
0203 
0204 #call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff
0205 #process = setCrossingFrameOn(process)
0206 
0207 # End of customisation functions
0208