File indexing completed on 2024-04-06 11:59:04
0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
0003
0004 process = cms.Process("ANALYSIS",Run2_2018)
0005
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 process.load('Configuration.StandardSequences.Services_cff')
0008 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0009 process.load("Configuration.StandardSequences.MagneticField_cff")
0010 process.load("RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi")
0011 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0012 from Configuration.AlCa.autoCond import autoCond
0013 process.GlobalTag.globaltag=autoCond['run2_mc']
0014
0015 if 'MessageLogger' in process.__dict__:
0016 process.MessageLogger.HcalIsoTrack=dict()
0017
0018 process.MessageLogger.cerr.FwkReport.reportEvery = 1
0019 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0020
0021 process.load('RecoLocalCalo.CaloTowersCreator.calotowermaker_cfi')
0022 process.towerMakerAll = process.calotowermaker.clone()
0023 process.towerMakerAll.hbheInput = cms.InputTag("hbhereco")
0024 process.towerMakerAll.hoInput = cms.InputTag("none")
0025 process.towerMakerAll.hfInput = cms.InputTag("none")
0026 process.towerMakerAll.ecalInputs = cms.VInputTag(cms.InputTag("ecalRecHit","EcalRecHitsEB"), cms.InputTag("ecalRecHit","EcalRecHitsEE"))
0027 process.towerMakerAll.AllowMissingInputs = True
0028
0029 process.load('Calibration.HcalCalibAlgos.hcalIsoTrkSimAnalyzer_cfi')
0030 process.hcalIsoTrkSimAnalyzer.triggers = []
0031 process.hcalIsoTrkSimAnalyzer.useRaw = 0
0032 process.hcalIsoTrkSimAnalyzer.ignoreTriggers = True
0033
0034 process.source = cms.Source("PoolSource",
0035 fileNames = cms.untracked.vstring(
0036 'file:/afs/cern.ch/user/h/huwang/work/public/for_Sunanda/RECO_MC.root'
0037 )
0038 )
0039
0040 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) )
0041
0042 process.TFileService = cms.Service("TFileService",
0043 fileName = cms.string('output_alca.root')
0044 )
0045
0046 process.p = cms.Path(process.hcalIsoTrkSimAnalyzer)
0047