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(90)
0031 )
0032 
0033 # Input source

0034 process.source = cms.Source("PoolSource",
0035     secondaryFileNames = cms.untracked.vstring(),
0036     fileNames = cms.untracked.vstring(
0037         #        'file:step2.root')

0038         "file:/afs/cern.ch/work/r/ruchi/public/0048FA62-B924-E411-A09C-002590DB916E.root"),
0039                             skipEvents=cms.untracked.uint32(190)
0040                             )
0041 
0042 process.options = cms.untracked.PSet(
0043 )
0044 
0045 # Production Info

0046 process.configurationMetadata = cms.untracked.PSet(
0047     version = cms.untracked.string('$Revision: 1.19 $'),
0048     annotation = cms.untracked.string('step3 nevts:10'),
0049     name = cms.untracked.string('Applications')
0050 )
0051 
0052 process.TFileService = cms.Service("TFileService",
0053                                    fileName = cms.string('Try_HLTIsoTrig_MC_New1_2.root')
0054                                    )
0055 
0056 process.load('Calibration.IsolatedParticles.isoTrig_cfi')
0057 process.IsoTrigHB.Verbosity = 0
0058 process.IsoTrigHB.ProcessName = "HLTNew1"
0059 process.IsoTrigHB.DoL2L3 = True
0060 process.IsoTrigHB.DoTimingTree = False
0061 process.IsoTrigHB.DoStudyIsol = True
0062 process.IsoTrigHB.DoChgIsolTree = True
0063 process.IsoTrigHB.DoMipCutTree = False
0064 
0065 process.IsoTrigHE = process.IsoTrigHB.clone(
0066     Triggers       = ["HLT_IsoTrackHE"],
0067     DoTimingTree = False)
0068 
0069 process.load('Calibration.IsolatedParticles.isoTrackCalibration_cfi')
0070 process.IsoTrackCalibration.Triggers = ["HLT_IsoTrackHE_v16", "HLT_IsoTrackHB_v15"]
0071 process.IsoTrackCalibration.ProcessName = "HLTNew1"
0072 process.IsoTrackCalibration.L1Filter  = "hltL1sV0SingleJet"
0073 process.IsoTrackCalibration.L2Filter  = "hltIsolPixelTrackL2Filter"
0074 process.IsoTrackCalibration.L3Filter  = "L3Filter"
0075 process.IsoTrackCalibration.Verbosity = 0
0076 
0077 process.analyze = cms.EndPath(process.IsoTrigHB + process.IsoTrigHE + process.IsoTrackCalibration)
0078 
0079 from Configuration.AlCa.autoCond import autoCond
0080 process.GlobalTag.globaltag=autoCond['run2_mc']
0081 
0082 process.load('Calibration.IsolatedParticles.HLT_IsoTrack_cff')
0083 
0084 process.HLT_IsoTrackHE_v16 = cms.Path(process.HLTBeginSequence + 
0085                                       process.hltL1sV0SingleJet60 + 
0086                                       process.hltPreIsoTrackHE +
0087                                       process.HLTDoLocalPixelSequence + 
0088                                       process.hltPixelLayerTriplets + 
0089                                       process.hltPixelTracks + 
0090                                       process.hltPixelVertices +
0091                                       process.hltTrimmedPixelVertices +
0092                                       process.hltIsolPixelTrackProdHE +
0093                                       process.hltIsolPixelTrackL2FilterHE + 
0094                                       process.HLTDoFullUnpackingEgammaEcalSequence + 
0095                                       process.hltIsolEcalPixelTrackProdHE + 
0096                                       process.hltEcalIsolPixelTrackL2FilterHE +
0097                                       process.HLTDoLocalStripSequence + 
0098                                       process.hltIter0PFLowPixelSeedsFromPixelTracks +
0099                                       process.hltIter0PFlowCkfTrackCandidates +
0100                                       process.hltIter0PFlowCtfWithMaterialTracks +
0101                                       process.hltHcalITIPTCorrectorHE + 
0102                                       process.hltIsolPixelTrackL3FilterHE + 
0103                                       process.HLTEndSequence 
0104                                       )
0105 
0106 process.HLT_IsoTrackHB_v15 = cms.Path(process.HLTBeginSequence + 
0107                                       process.hltL1sV0SingleJet60 + 
0108                                       process.hltPreIsoTrackHB +
0109                                       process.HLTDoLocalPixelSequence + 
0110                                       process.hltPixelLayerTriplets + 
0111                                       process.hltPixelTracks + 
0112                                       process.hltPixelVertices + 
0113                                       process.hltTrimmedPixelVertices +
0114                                       process.hltIsolPixelTrackProdHB + 
0115                                       process.hltIsolPixelTrackL2FilterHB +
0116                                       process.HLTDoFullUnpackingEgammaEcalSequence + 
0117                                       process.hltIsolEcalPixelTrackProdHB + 
0118                                       process.hltEcalIsolPixelTrackL2FilterHB +
0119                                       process.HLTDoLocalStripSequence + 
0120                                       process.hltIter0PFLowPixelSeedsFromPixelTracks +
0121                                       process.hltIter0PFlowCkfTrackCandidates +
0122                                       process.hltIter0PFlowCtfWithMaterialTracks +
0123                                       process.hltHcalITIPTCorrectorHB + 
0124                                       process.hltIsolPixelTrackL3FilterHB + 
0125                                       process.HLTEndSequence 
0126                                       )
0127 
0128 # remove any instance of the FastTimerService

0129 if 'FastTimerService' in process.__dict__:
0130     del process.FastTimerService
0131 
0132 # instrument the menu with the FastTimerService

0133 process.load( "HLTrigger.Timer.FastTimerService_cfi" )
0134 process.load ("HLTrigger.Timer.fastTimerServiceClient_cfi" )
0135 
0136 # print a text summary at the end of the job

0137 process.FastTimerService.printJobSummary          = True
0138 
0139 # enable per-event DQM plots

0140 process.FastTimerService.enableDQM                = True
0141 
0142 # enable per-module DQM plots

0143 process.FastTimerService.enableDQMbyModule        = True
0144 
0145 # enable per-event DQM plots by lumisection

0146 process.FastTimerService.enableDQMbyLumiSection   = True
0147 process.FastTimerService.dqmLumiSectionsRange     = 2500    # lumisections (23.31 s)

0148 
0149 # set the time resolution of the DQM plots

0150 process.FastTimerService.dqmTimeRange             = 100000.   # ms

0151 process.FastTimerService.dqmTimeResolution        =    5.   # ms

0152 process.FastTimerService.dqmPathTimeRange         =  10000.   # ms

0153 process.FastTimerService.dqmPathTimeResolution    =    0.5  # ms

0154 process.FastTimerService.dqmModuleTimeRange       =   4000.   # ms

0155 process.FastTimerService.dqmModuleTimeResolution  =    0.2  # ms

0156 
0157 # set the base DQM folder for the plots

0158 process.FastTimerService.dqmPath                  = "HLTNew1/TimerService"
0159 process.fastTimerServiceClient.dqmPath            = "HLTNew1/TimerService"
0160 process.FastTimerService.enableDQMbyProcesses     = True
0161 
0162 # save the DQM plots in the DQMIO format

0163 process.dqmOutput = cms.OutputModule("DQMRootOutputModule",
0164                                      fileName = cms.untracked.string("DQMNew1.root"),
0165                                      outputCommands = cms.untracked.vstring(["drop CastorDataFramesSorted_mix_*_HLTNew1"])
0166 )
0167 process.FastTimerOutput = cms.EndPath( process.dqmOutput )
0168 
0169 # Path and EndPath definitions

0170 process.digitisation_step = cms.Path(process.pdigi)
0171 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0172 process.digi2raw_step = cms.Path(process.DigiToRaw)
0173 
0174 process.raw2digi_step = cms.Path(process.RawToDigi)
0175 process.L1Reco_step = cms.Path(process.L1Reco)
0176 process.reconstruction_step = cms.Path(process.reconstruction)
0177 process.eventinterpretaion_step = cms.Path(process.EIsequence)
0178 process.prevalidation_step = cms.Path(process.prevalidation)
0179 process.dqmoffline_step = cms.Path(process.DQMOffline)
0180 process.validation_step = cms.EndPath(process.validation)
0181 process.endjob_step = cms.EndPath(process.endOfProcess)
0182 
0183 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
0184 process.schedule.extend([
0185   process.HLTriggerFirstPath,
0186   process.HLT_AK8PFHT700_TrimR0p1PT0p03Mass50_v1,
0187   process.HLT_DoubleMu33NoFiltersNoVtx_v1,
0188   process.HLT_DoubleMu38NoFiltersNoVtx_v1,
0189   process.HLT_DoubleMu23NoFiltersNoVtxDisplaced_v1,
0190   process.HLT_DoubleMu28NoFiltersNoVtxDisplaced_v1,
0191   process.HLT_Ele20WP60_Ele8_Mass55_v1,
0192   process.HLT_Ele25WP60_SC4_Mass55_v1,
0193   process.HLT_IsoMu17_eta2p1_v1,
0194   process.HLT_DoubleIsoMu17_eta2p1_v1,
0195   process.HLT_IsoMu24_eta2p1_LooseIsoPFTau20_v1,
0196   process.HLT_IsoMu20_eta2p1_CentralPFJet30_BTagCSV_v1,
0197   process.HLT_IsoMu20_eta2p1_TriCentralPFJet40_v1,
0198   process.HLT_IsoMu20_eta2p1_TriCentralPFJet60_50_35_v1,
0199   process.HLT_IsoMu20_eta2p1_v1,process.HLT_IsoMu24_v1,
0200   process.HLT_IsoMu24_eta2p1_CentralPFJet30_BTagCSV_v1,
0201   process.HLT_IsoMu24_eta2p1_TriCentralPFJet40_v1,
0202   process.HLT_IsoMu24_eta2p1_TriCentralPFJet60_50_35_v1,
0203   process.HLT_IsoMu24_eta2p1_v1,
0204   process.HLT_IsoTkMu20_eta2p1_v1,
0205   process.HLT_IsoTkMu24_v1,
0206   process.HLT_IsoTkMu24_eta2p1_v1,
0207   process.HLT_JetE30_NoBPTX3BX_NoHalo_v1,
0208   process.HLT_JetE30_NoBPTX_v1,
0209   process.HLT_JetE50_NoBPTX3BX_NoHalo_v1,
0210   process.HLT_JetE70_NoBPTX3BX_NoHalo_v1,
0211   process.HLT_L2DoubleMu23_NoVertex_v1,
0212   process.HLT_L2DoubleMu28_NoVertex_2Cha_Angle2p5_Mass10_v1,
0213   process.HLT_L2DoubleMu38_NoVertex_2Cha_Angle2p5_Mass10_v1,
0214   process.HLT_L2Mu10_NoVertex_NoBPTX3BX_NoHalo_v1,
0215   process.HLT_L2Mu10_NoVertex_NoBPTX_v1,
0216   process.HLT_L2Mu20_NoVertex_3Sta_NoBPTX3BX_NoHalo_v1,
0217   process.HLT_L2Mu30_NoVertex_3Sta_NoBPTX3BX_NoHalo_v1,
0218   process.HLT_Mu17_Mu8_DZ_v1,
0219   process.HLT_Mu17_TkMu8_DZ_v1,
0220   process.HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v1,
0221   process.HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v1,
0222   process.HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_v1,
0223   process.HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v1,
0224   process.HLT_Mu40_eta2p1_PFJet200_PFJet50_v1,
0225   process.HLT_Mu24_eta2p1_v1,
0226   process.HLT_TkMu24_eta2p1_v1,
0227   process.HLT_PFHT350_PFMET120_NoiseCleaned_v1,
0228   process.HLT_PFHT550_4Jet_v1,
0229   process.HLT_PFHT650_4Jet_v1,
0230   process.HLT_PFHT750_4Jet_v1,
0231   process.HLT_PFHT350_v1,
0232   process.HLT_PFHT600_v1,
0233   process.HLT_PFHT650_v1,
0234   process.HLT_PFHT900_v1,
0235   process.HLT_PFJet40_v1,
0236   process.HLT_PFJet60_v1,
0237   process.HLT_PFJet80_v1,
0238   process.HLT_PFJet140_v1,
0239   process.HLT_PFJet200_v1,
0240   process.HLT_DiPFJetAve30_HFJEC_v1,
0241   process.HLT_DiPFJetAve60_HFJEC_v1,
0242   process.HLT_DiPFJetAve80_HFJEC_v1,
0243   process.HLT_DiPFJetAve100_HFJEC_v1,
0244   process.HLT_DiPFJetAve160_HFJEC_v1,
0245   process.HLT_DiPFJet40_DEta3p5_MJJ600_PFMETNoMu80_v1,
0246   process.HLT_HT200_v1,
0247   process.HLT_HT250_v1,
0248   process.HLT_HT300_v1,
0249   process.HLT_HT350_v1,
0250   process.HLT_HT400_v1,
0251   process.HLT_HT200_DiJet90_AlphaT0p57_v1,
0252   process.HLT_HT250_DiJet90_AlphaT0p55_v1,
0253   process.HLT_HT300_DiJet90_AlphaT0p53_v1,
0254   process.HLT_HT350_DiJet90_AlphaT0p52_v1,
0255   process.HLT_HT400_DiJet90_AlphaT0p51_v1,
0256   process.HLT_Photon22_R9Id90_HE10_Iso40_EBOnly_PFMET40_v1,
0257   process.HLT_Photon22_R9Id90_HE10_Iso40_EBOnly_VBF_v1,
0258   process.HLT_Photon36_R9Id90_HE10_Iso40_EBOnly_PFMET40_v1,
0259   process.HLT_Photon36_R9Id90_HE10_Iso40_EBOnly_VBF_v1,
0260   process.HLT_Mu17_TrkIsoVVL_v1,
0261   process.HLT_Mu24_TrkIsoVVL_v1,
0262   process.HLT_Mu34_TrkIsoVVL_v1,
0263   process.HLT_Ele23_CaloIdL_TrackIdL_IsoVL_PFJet30_v1,
0264   process.HLT_Ele33_CaloIdL_TrackIdL_IsoVL_PFJet30_v1,
0265   process.HLT_BTagMu_DiJet20_Mu5_v1,
0266   process.HLT_BTagMu_DiJet40_Mu5_v1,
0267   process.HLT_BTagMu_DiJet70_Mu5_v1,
0268   process.HLT_BTagMu_DiJet110_Mu5_v1,
0269   process.HLT_Ele23_CaloIdL_TrackIdL_IsoVL_v1,
0270   process.HLT_PFHT650_WideJetMJJ900DEtaJJ1p5_v1,
0271   process.HLT_PFHT650_WideJetMJJ950DEtaJJ1p5_v1,
0272   process.HLT_Photon22_v1,
0273   process.HLT_Photon36_v1,
0274   process.HLT_Photon22_R9Id90_HE10_Iso40_v1,
0275   process.HLT_Photon36_R9Id90_HE10_Iso40_v1,
0276   process.HLT_Dimuon0_Jpsi_Muon_v1,
0277   process.HLT_Dimuon0_Upsilon_Muon_v1,
0278   process.HLT_Mu17_Mu8_SameSign_v1,
0279   process.HLT_Mu17_Mu8_SameSign_DPhi_v1,
0280   process.HLT_HT750_DisplacedDijet80_Inclusive_v1,
0281   process.HLT_HT650_DisplacedDijet80_Inclusive_v1,
0282   process.HLT_HT350_DisplacedDijet80_Tight_DisplacedTrack_v1,
0283   process.HLT_HT350_DisplacedDijet80_DisplacedTrack_v1,
0284   process.HLT_DoubleEle8_CaloIdL_TrkIdVL_Mass8_PFHT300_v1,
0285   process.HLT_Mu10_CentralPFJet40_BTagCSV_v1,
0286   process.HLT_Ele10_CaloId_TrackIdVL_CentralPFJet40_BTagCSV_v1,
0287   process.HLT_Ele15_IsoVVVL_BTagtop8CSV07_PFHT400_v1,
0288   process.HLT_Ele15_IsoVVVL_PFHT400_PFMET70_v1,
0289   process.HLT_Ele15_IsoVVVL_PFHT600_v1,
0290   process.HLT_Ele15_PFHT300_v1,
0291   process.HLT_Physics_v1,
0292   process.HLT_ReducedIterativeTracking_v1,
0293   process.HLT_ZeroBias_v1,
0294   process.HLT_IsoTrackHE_v16,
0295   process.HLT_IsoTrackHB_v15,
0296   process.HLTriggerFinalPath
0297 ])
0298 process.schedule.extend([process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.eventinterpretaion_step])
0299 process.schedule.extend([process.analyze])
0300 process.schedule.extend([process.FastTimerOutput])
0301 
0302 # customisation of the process.

0303 from SLHCUpgradeSimulations.Configuration.postLS1Customs import customisePostLS1
0304 process = customisePostLS1(process)
0305 
0306 # Automatic addition of the customisation function from HLTrigger.Configuration.customizeHLTforMC

0307 from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforMC 
0308 
0309 #call to customisation function customizeHLTforMC imported from HLTrigger.Configuration.customizeHLTforMC

0310 process = customizeHLTforMC(process)
0311 
0312 # Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.postLS1Customs

0313 #from SLHCUpgradeSimulations.Configuration.postLS1Customs import *

0314 #process = customisePostLS1(process)

0315 
0316 # Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff

0317 #from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn 

0318 
0319 #call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff

0320 #process = setCrossingFrameOn(process)

0321 
0322 # End of customisation functions

0323