Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-18 23:28:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
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.hcalIsoTrkAnalyzer_cff')
0030 process.hcalIsoTrkAnalyzer.triggers = []
0031 process.hcalIsoTrkAnalyzer.useRaw = 0   # 1 for Raw
0032 process.hcalIsoTrkAnalyzer.ignoreTriggers = True
0033 
0034 process.source = cms.Source("PoolSource", 
0035                             fileNames = cms.untracked.vstring(
0036                                 'file:/eos/uscms/store/user/lpcrutgers/huiwang/HCAL/UL_DoublePion_E-50_RECO_DLPHIN_zeroOut_noPU-2021-09-21/MC_RECO_0.root',
0037                                 'file:/eos/uscms/store/user/lpcrutgers/huiwang/HCAL/UL_DoublePion_E-50_RECO_DLPHIN_zeroOut_noPU-2021-09-21/MC_RECO_1.root'
0038                             )
0039 )
0040 
0041 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0042 
0043 process.TFileService = cms.Service("TFileService",
0044    fileName = cms.string('output_alca.root')
0045 )
0046 
0047 process.p = cms.Path(process.hcalIsoTrkAnalyzer)
0048