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
0005 process = cms.Process("RaddamMuon",Run2_2017)
0006
0007 process.load("FWCore.MessageService.MessageLogger_cfi")
0008 process.load("Configuration.StandardSequences.GeometryDB_cff")
0009 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0010
0011 process.load("Configuration.StandardSequences.MagneticField_cff")
0012 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0013 from Configuration.AlCa.autoCond import autoCond
0014 process.GlobalTag.globaltag=autoCond['run2_data']
0015
0016
0017 process.load("Calibration.HcalCalibAlgos.hcalHBHEMuonAnalysis_cfi")
0018
0019 if 'MessageLogger' in process.__dict__:
0020 process.MessageLogger.HBHEMuon=dict()
0021
0022 process.maxEvents = cms.untracked.PSet(
0023 input = cms.untracked.int32(-1)
0024 )
0025
0026 process.source = cms.Source("PoolSource",
0027 fileNames = cms.untracked.vstring(
0028 'file:/afs/cern.ch/work/a/amkaur/public/ForSunandaDa/AlcaProducer_codecheck/new/OutputBHEMuonProducerFilter_new_2017.root'
0029 )
0030 )
0031
0032 process.TFileService = cms.Service("TFileService",
0033 fileName = cms.string("ValidationNew.root")
0034 )
0035
0036 process.p = cms.Path(process.hcalHBHEMuonAnalysis)