Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-24 09:52:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("StudyCaloResponse")
0004 
0005 process.load("Calibration.IsolatedParticles.studyCaloResponse_cfi")
0006 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0007 process.load('Configuration.StandardSequences.MagneticField_cff')
0008 process.load('TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff')
0009 process.load("RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi")
0010 process.load("FWCore.MessageService.MessageLogger_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 hasattr(process,'MessageLogger'):
0016     process.MessageLogger.IsoTrack=dict()
0017 
0018 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(10000)
0019 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0020 process.options   = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0021 
0022 process.source = cms.Source("PoolSource",
0023                             fileNames = cms.untracked.vstring(
0024 '/store/mc/RunIILowPUAutumn18MiniAOD/QCD_Pt-15to7000_TuneCP5_Flat2018_13TeV_pythia8/MINIAODSIM/NoPU_102X_upgrade2018_realistic_v15-v2/00000/0227F562-C82C-814E-9D51-F8895E245DD5.root',)
0025                             )
0026 
0027 process.studyCaloResponse.verbosity = 110
0028 process.studyCaloResponse.vetoMuon = True
0029 process.studyCaloResponse.vetoEcal = True
0030 process.studyCaloResponse.triggers = []
0031 
0032 process.TFileService = cms.Service("TFileService",
0033                                    fileName = cms.string('studyCaloResponseMC.root')
0034                                    )
0035 
0036 process.p = cms.Path(process.studyCaloResponse)