Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:43:43

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
0003 
0004 process = cms.Process("StudyCaloResponse", Run2_2018)
0005 
0006 process.load("Calibration.IsolatedParticles.studyCaloResponse_cfi")
0007 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0008 process.load('Configuration.StandardSequences.MagneticField_cff')
0009 process.load('TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff')
0010 process.load("RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi")
0011 process.load("FWCore.MessageService.MessageLogger_cfi")
0012 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0013 from Configuration.AlCa.GlobalTag import GlobalTag
0014 process.GlobalTag = GlobalTag(process.GlobalTag,'104X_dataRun2_v1', '')
0015 
0016 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(10000)
0017 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0018 process.options   = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0019 
0020 process.source = cms.Source("PoolSource",
0021                             fileNames = cms.untracked.vstring(
0022     '/store/data/Run2018B/MuonEGammaTOTEM/RECO/28Feb2019_resub-v1/260000/01B1233D-979E-F34F-A16F-308C41C36191.root',
0023     )
0024                             )
0025 
0026 process.studyCaloResponse.verbosity = 0
0027 process.studyCaloResponse.newNames = ["HLT_L1SingleMu_"]
0028 #process.studyCaloResponse.newNames = ["HLT_L1DoubleJet_"]
0029 process.studyCaloResponse.vetoMuon  = True
0030 process.studyCaloResponse.vetoEcal  = True
0031 
0032 process.TFileService = cms.Service("TFileService",
0033                                    fileName = cms.string('studyCaloResponseMu.root')
0034                                    )
0035 
0036 process.p = cms.Path(process.studyCaloResponse)