Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:59:04

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 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 
0013 from Configuration.AlCa.GlobalTag import GlobalTag
0014 process.GlobalTag = GlobalTag(process.GlobalTag,'auto:run2_data','')
0015 
0016 if 'MessageLogger' in process.__dict__:
0017     process.MessageLogger.HcalIsoTrack=dict()
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.source = cms.Source("PoolSource", 
0031                             fileNames = cms.untracked.vstring(
0032        'file:/eos/cms/store/group/dpg_hcal/comm_hcal/ISOTRACK/MinBias_AlcaReco_2017D_IsotrkFilter.root',
0033     )
0034 )
0035 
0036 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0037 
0038 process.TFileService = cms.Service("TFileService",
0039    fileName = cms.string('output.root')
0040 )
0041 
0042 process.hcalIsoTrkAnalyzer.triggers = []
0043 process.hcalIsoTrkAnalyzer.oldID = [21701, 21603]
0044 process.hcalIsoTrkAnalyzer.newDepth = [2, 4]
0045 process.hcalIsoTrkAnalyzer.hep17 = True
0046 process.hcalIsoTrkAnalyzer.dataType = 0 # 0 for jetHT else 1
0047 process.hcalIsoTrkAnalyzer.maximumEcalEnergy = 2.0 # set MIP cut  
0048 process.hcalIsoTrkAnalyzer.useRaw = 0   # 1 for Raw
0049 process.hcalIsoTrkAnalyzer.unCorrect = True
0050 process.hcalIsoTrkAnalyzer.EEHitEnergyThreshold1 = 0.00 # default 0.30
0051 process.hcalIsoTrkAnalyzer.EEHitEnergyThreshold2 = 0.00 # coeff. of linear term
0052 process.hcalIsoTrkAnalyzer.EEHitEnergyThreshold3 = 0.00 # coeff. of quad term
0053 process.hcalIsoTrkAnalyzer.EEHitEnergyThresholdLow = 0.00 # minimum def 0.30
0054 
0055 process.p = cms.Path(process.hcalIsoTrkAnalyzer)
0056