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_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('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0011 
0012 from Configuration.AlCa.GlobalTag import GlobalTag
0013 process.GlobalTag = GlobalTag(process.GlobalTag,'auto:run2_data','')
0014 
0015 if 'MessageLogger' in process.__dict__:
0016     process.MessageLogger.HcalIsoTrack=dict()
0017 process.MessageLogger.cerr.FwkReport.reportEvery = 1
0018 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0019 
0020 process.load('Calibration.HcalCalibAlgos.hcalIsoTrackAnalyzer_cfi')
0021 process.source = cms.Source("PoolSource", 
0022                             fileNames = cms.untracked.vstring(
0023        'file:newPoolOutput.root',
0024     )
0025 )
0026 
0027 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0028 
0029 process.TFileService = cms.Service("TFileService",
0030    fileName = cms.string('outputNew.root')
0031 )
0032 
0033 process.hcalIsoTrackAnalyzer.useRaw = 0   # 1 for Raw
0034 
0035 process.p = cms.Path(process.hcalIsoTrackAnalyzer)
0036