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 #process.hcalIsoTrkAnalyzer.processName  = 'HLTNew1'
0034 #process.hcalIsoTrkAnalyzer.producerName = 'ALCAISOTRACK'
0035 #process.hcalIsoTrkAnalyzer.moduleName   = 'IsoProd'
0036 
0037 process.source = cms.Source("PoolSource", 
0038                             fileNames = cms.untracked.vstring(
0039         'file:PoolOutput.root'
0040 #       'file:/afs/cern.ch/user/h/huwang/work/public/for_Sunanda/ALCARECO_MC.root'
0041     )
0042 )
0043 
0044 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0045 
0046 process.TFileService = cms.Service("TFileService",
0047    fileName = cms.string('output_alca.root')
0048 )
0049 
0050 process.p = cms.Path(process.hcalIsoTrkAnalyzer)
0051