Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-22 06:26:47

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #from Configuration.Eras.Era_Run2_2017_cff import Run2_2017
0004 #process = cms.Process("ANALYSIS",Run2_2017)
0005 
0006 #from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
0007 #process = cms.Process("ANALYSIS",Run2_2018)
0008 
0009 from Configuration.Eras.Era_Run3_cff import Run3
0010 process = cms.Process("ANALYSIS",Run3)
0011 
0012 process.load("FWCore.MessageService.MessageLogger_cfi")
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0015 process.load("Configuration.StandardSequences.MagneticField_cff")
0016 process.load("RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi")
0017 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0018 
0019 from Configuration.AlCa.autoCond import autoCond
0020 process.GlobalTag.globaltag='106X_mcRun3_2021_realistic_v3'
0021 
0022 if 'MessageLogger' in process.__dict__:
0023     process.MessageLogger.HcalIsoTrack=dict()
0024 
0025 process.MessageLogger.cerr.FwkReport.reportEvery = 1
0026 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0027 
0028 process.load('RecoLocalCalo.CaloTowersCreator.calotowermaker_cfi')
0029 process.towerMakerAll = process.calotowermaker.clone()
0030 process.towerMakerAll.hbheInput = cms.InputTag("hbhereco")
0031 process.towerMakerAll.hoInput = cms.InputTag("none")
0032 process.towerMakerAll.hfInput = cms.InputTag("none")
0033 process.towerMakerAll.ecalInputs = cms.VInputTag(cms.InputTag("ecalRecHit","EcalRecHitsEB"), cms.InputTag("ecalRecHit","EcalRecHitsEE"))
0034 process.towerMakerAll.AllowMissingInputs = True
0035 
0036 process.load('Calibration.HcalCalibAlgos.hcalIsoTrackStudy_cff')
0037 process.source = cms.Source("PoolSource", 
0038                             fileNames = cms.untracked.vstring(
0039         #'/store/data/Run2018B/JetHT/ALCARECO/HcalCalIsoTrkFilter-PromptReco-v1/000/317/696/00000/D60EC93B-9870-E811-BAF3-FA163E8DA20D.root',
0040         #'/store/mc/Run3Summer19DR/DoublePion_E-50/GEN-SIM-RECO/2021ScenarioNZSRECONoPU_106X_mcRun3_2021_realistic_v3-v2/270000/22481A14-0F65-E046-809A-C03709C76325.root'
0041         'file:/afs/cern.ch/work/d/dbhowmik/public/etaPlus_input.root',
0042 #       'file:/eos/user/d/dbhowmik/Results_2019/etaPlus_input.root',
0043     )
0044 )
0045 
0046 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0047 
0048 process.TFileService = cms.Service("TFileService",
0049    fileName = cms.string('output.root')
0050 )
0051 
0052 process.hcalIsoTrackStudy.maxDzPV = 1.0
0053 process.hcalIsoTrackStudy.minOuterHit =  0
0054 process.hcalIsoTrackStudy.minLayerCrossed =  0
0055 process.hcalIsoTrackStudy.triggers = []
0056 process.hcalIsoTrackStudy.dataType = 1 #0 for jetHT else 1
0057 process.hcalIsoTrackStudy.maximumEcalEnergy = 100 # set MIP cut  
0058 #process.hcalIsoTrackStudy.useRaw = 1
0059 
0060 process.p = cms.Path(process.hcalIsoTrackStudy)
0061