Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-25 05:51:28

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 # with command line options: step3 --conditions auto:run2_mc_GRun -n 10 --eventcontent FEVTDEBUGHLT,DQM -s RAW2DIGI,L1Reco,RECO,VALIDATION,DQM --datatier GEN-SIM-RECO,DQM --customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1 --geometry Extended2015 --magField 38T_PostLS1 --conditions auto:run2_mc_GRun --no_exec --filein file:step2.root --fileout file:step3.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process('HLTNew1')
0009 
0010 # import of standard configurations
0011 process.load('Configuration.StandardSequences.Services_cff')
0012 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load('Configuration.EventContent.EventContent_cff')
0015 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0016 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0017 process.load('Configuration.StandardSequences.MagneticField_cff')
0018 process.load('Configuration.StandardSequences.Digi_cff')
0019 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0020 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0021 process.load('HLTrigger.Configuration.HLT_GRun_cff')
0022 process.load('Configuration.StandardSequences.RawToDigi_cff')
0023 process.load('Configuration.StandardSequences.L1Reco_cff')
0024 process.load('Configuration.StandardSequences.Reconstruction_cff')
0025 process.load('Configuration.StandardSequences.Validation_cff')
0026 process.load('DQMOffline.Configuration.DQMOfflineMC_cff')
0027 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0028 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0029 
0030 from Configuration.AlCa.autoCond import autoCond
0031 process.GlobalTag.globaltag=autoCond['run1_data']
0032 
0033 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0034 process.maxEvents = cms.untracked.PSet(
0035     input = cms.untracked.int32(10)
0036 )
0037 
0038 # Input source
0039 process.source = cms.Source("PoolSource",
0040     secondaryFileNames = cms.untracked.vstring(),
0041     fileNames = cms.untracked.vstring(
0042         'file:/afs/cern.ch/work/r/ruchi/9A19F942-E380-E111-8AEE-001D09F24303.root')
0043 )
0044 
0045 process.options = cms.untracked.PSet(
0046 
0047 )
0048 
0049 # Production Info
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 # Output definition
0057 
0058 #process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0059 #    splitLevel = cms.untracked.int32(0),
0060 #    eventAutoFlushCompressedSize = cms.untracked.int32(1048576),
0061 #    outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0062 #    fileName = cms.untracked.string('file:step3.root'),
0063 #    dataset = cms.untracked.PSet(
0064 #        filterName = cms.untracked.string(''),
0065 #        dataTier = cms.untracked.string('GEN-SIM-RECO')
0066 #    )
0067 #)
0068 
0069 #process.DQMoutput = cms.OutputModule("PoolOutputModule",
0070 #    splitLevel = cms.untracked.int32(0),
0071 #    outputCommands = process.DQMEventContent.outputCommands,
0072 #    fileName = cms.untracked.string('file:step3_inDQM.root'),
0073 #    dataset = cms.untracked.PSet(
0074 #        filterName = cms.untracked.string(''),
0075 #        dataTier = cms.untracked.string('DQM')
0076 #    )
0077 #)
0078 
0079 process.TFileService = cms.Service("TFileService",
0080 #                                   fileName = cms.string('/uscmst1b_scratch/lpc1/3DayLifetime/guptar/Try_HLTIsoTrig_Modified.root')
0081                                    fileName = cms.string('Try_HLTIsoTrig_New1.root')
0082                                    )
0083 
0084 process.load('Calibration.IsolatedParticles.isoTrig_cfi')
0085 process.IsoTrigHB.Verbosity = 0
0086 #process.IsoTrigHB.Verbosity = 201
0087 process.IsoTrigHB.ProcessName = "HLTNew1"
0088 process.IsoTrigHB.DoL2L3 = True
0089 process.IsoTrigHB.DoTimingTree = False
0090 process.IsoTrigHB.DoStudyIsol = True
0091 process.IsoTrigHB.DoChgIsolTree = True
0092 process.IsoTrigHB.DoMipCutTree = False
0093 
0094 process.IsoTrigHE = process.IsoTrigHB.clone(
0095     Triggers       = ["HLT_IsoTrackHE"],
0096     DoTimingTree = False)
0097 
0098 #process.analyze = cms.EndPath(process.IsoTrigHB + process.IsoTrigHE)
0099 process.load('Calibration.IsolatedParticles.isoTrackCalibration_cfi')
0100 process.IsoTrackCalibration.Triggers = ["HLT_IsoTrackHE_v16", "HLT_IsoTrackHB_v15"]
0101 process.IsoTrackCalibration.ProcessName = "HLTNew1"
0102 process.IsoTrackCalibration.L1Filter  = "hltL1sV0SingleJet"
0103 process.IsoTrackCalibration.L2Filter  = "hltIsolPixelTrackL2Filter"
0104 process.IsoTrackCalibration.L3Filter  = "L3Filter"
0105 process.IsoTrackCalibration.Verbosity = 0
0106 
0107 process.analyze = cms.EndPath(process.IsoTrigHB + process.IsoTrigHE + process.IsoTrackCalibration)
0108 
0109 # Additional output definition
0110 
0111 # Other statements
0112 #process.mix.playback = True
0113 #process.mix.digitizers = cms.PSet()
0114 #for a in process.aliases: delattr(process, a)
0115 #process.RandomNumberGeneratorService.restoreStateLabel=cms.untracked.string("randomEngineStateProducer")
0116 
0117 process.load('Calibration.IsolatedParticles.HLT_IsoTrack_cff')
0118 
0119 process.HLT_IsoTrackHE_v16 = cms.Path(process.HLTBeginSequence + 
0120                                       process.hltL1sV0SingleJet60 + 
0121                                       process.hltPreIsoTrackHE +
0122                                       process.HLTDoLocalPixelSequence + 
0123                                       process.hltPixelLayerTriplets + 
0124                                       process.hltPixelTracks + 
0125                                       process.hltPixelVertices +
0126                                       process.hltTrimmedPixelVertices +
0127                                       process.hltIsolPixelTrackProdHE +
0128                                       process.hltIsolPixelTrackL2FilterHE + 
0129                                       process.HLTDoFullUnpackingEgammaEcalSequence + 
0130                                       process.hltIsolEcalPixelTrackProdHE + 
0131                                       process.hltEcalIsolPixelTrackL2FilterHE +
0132                                       process.HLTDoLocalStripSequence + 
0133                                       process.hltIter0PFLowPixelSeedsFromPixelTracks +
0134                                       process.hltIter0PFlowCkfTrackCandidates +
0135                                       process.hltIter0PFlowCtfWithMaterialTracks +
0136                                       process.hltHcalITIPTCorrectorHE + 
0137                                       process.hltIsolPixelTrackL3FilterHE + 
0138                                       process.HLTEndSequence 
0139                                       )
0140 
0141 process.HLT_IsoTrackHB_v15 = cms.Path(process.HLTBeginSequence + 
0142                                       process.hltL1sV0SingleJet60 + 
0143                                       process.hltPreIsoTrackHB +
0144                                       process.HLTDoLocalPixelSequence + 
0145                                       process.hltPixelLayerTriplets + 
0146                                       process.hltPixelTracks + 
0147                                       process.hltPixelVertices + 
0148                                       process.hltTrimmedPixelVertices +
0149                                       process.hltIsolPixelTrackProdHB + 
0150                                       process.hltIsolPixelTrackL2FilterHB +
0151                                       process.HLTDoFullUnpackingEgammaEcalSequence + 
0152                                       process.hltIsolEcalPixelTrackProdHB + 
0153                                       process.hltEcalIsolPixelTrackL2FilterHB +
0154                                       process.HLTDoLocalStripSequence + 
0155                                       process.hltIter0PFLowPixelSeedsFromPixelTracks +
0156                                       process.hltIter0PFlowCkfTrackCandidates +
0157                                       process.hltIter0PFlowCtfWithMaterialTracks +
0158                                       process.hltHcalITIPTCorrectorHB + 
0159                                       process.hltIsolPixelTrackL3FilterHB + 
0160                                       process.HLTEndSequence 
0161                                       )
0162 
0163 
0164 
0165 ## remove any instance of the FastTimerService
0166 if 'FastTimerService' in process.__dict__:
0167     del process.FastTimerService
0168 
0169 # instrument the menu with the FastTimerService
0170 process.load( "HLTrigger.Timer.FastTimerService_cfi" )
0171 
0172 # print a text summary at the end of the job
0173 process.FastTimerService.printJobSummary          = True
0174 
0175 # enable per-event DQM plots
0176 process.FastTimerService.enableDQM                = True
0177 
0178 # enable per-module DQM plots
0179 process.FastTimerService.enableDQMbyModule        = True
0180 
0181 # enable per-event DQM plots by lumisection
0182 process.FastTimerService.enableDQMbyLumiSection   = True
0183 process.FastTimerService.dqmLumiSectionsRange     = 2500    # lumisections (23.31 s)
0184 
0185 # set the time resolution of the DQM plots
0186 process.FastTimerService.dqmTimeRange             = 100000.   # ms
0187 process.FastTimerService.dqmTimeResolution        =    5.   # ms
0188 process.FastTimerService.dqmPathTimeRange         =  10000.   # ms
0189 process.FastTimerService.dqmPathTimeResolution    =    0.5  # ms
0190 process.FastTimerService.dqmModuleTimeRange       =   4000.   # ms
0191 process.FastTimerService.dqmModuleTimeResolution  =    0.2  # ms
0192 
0193 # set the base DQM folder for the plots
0194 process.FastTimerService.dqmPath                  = "HLTNew1/TimerService"
0195 process.FastTimerService.enableDQMbyProcesses     = True
0196 
0197 # save the DQM plots in the DQMIO format
0198 process.dqmOutput = cms.OutputModule("DQMRootOutputModule",
0199     fileName = cms.untracked.string("DQMNew1.root"),
0200     outputCommands = cms.untracked.vstring(["drop *_mix_*_HLTNew1"])
0201 #CastorDataFramesSorted, mix, , HLTNew1
0202 )
0203 process.FastTimerOutput = cms.EndPath( process.dqmOutput )
0204 
0205 # Path and EndPath definitions
0206 #process.digitisation_step = cms.Path(process.pdigi)
0207 #process.L1simulation_step = cms.Path(process.SimL1Emulator)
0208 #process.digi2raw_step = cms.Path(process.DigiToRaw)
0209 
0210 process.raw2digi_step = cms.Path(process.RawToDigi)
0211 process.L1Reco_step = cms.Path(process.L1Reco)
0212 process.reconstruction_step = cms.Path(process.reconstruction)
0213 process.prevalidation_step = cms.Path(process.prevalidation)
0214 process.dqmoffline_step = cms.Path(process.DQMOffline)
0215 process.validation_step = cms.EndPath(process.validation)
0216 process.endjob_step = cms.EndPath(process.endOfProcess)
0217 #process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0218 #process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0219 
0220 # Schedule definition
0221 #process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.eventinterpretaion_step,process.prevalidation_step,process.validation_step,process.dqmoffline_step,process.endjob_step,process.FEVTDEBUGHLToutput_step,process.DQMoutput_step)
0222 #process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
0223 process.schedule = cms.Schedule( *(process.HLTriggerFirstPath,process.HLT_IsoTrackHE_v16,process.HLT_IsoTrackHB_v15,process.HLTriggerFinalPath))
0224 process.schedule.extend([process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.eventinterpretaion_step])
0225 process.schedule.extend([process.analyze])
0226 #process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
0227 process.schedule.extend([process.endjob_step])
0228 process.schedule.extend([process.FastTimerOutput])
0229 # customisation of the process.
0230 # Automatic addition of the customisation function from HLTrigger.Configuration.customizeHLTforMC
0231 #from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforMC 
0232 
0233 #call to customisation function customizeHLTforMC imported from HLTrigger.Configuration.customizeHLTforMC
0234 #process = customizeHLTforMC(process)
0235 
0236 # Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.postLS1Customs
0237 from SLHCUpgradeSimulations.Configuration.postLS1Customs import *
0238 process = customisePostLS1(process)
0239 
0240 # Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
0241 from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn 
0242 
0243 #call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff
0244 process = setCrossingFrameOn(process)
0245 
0246 # End of customisation functions
0247