File indexing completed on 2024-08-27 22:58:57
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def StudyCaloGen(**kwargs):
0004 mod = cms.EDAnalyzer('StudyCaloGen',
0005 GenSrc = cms.untracked.string('genParticles'),
0006 UseHepMC = cms.untracked.bool(False),
0007 ChargedHadronSeedP = cms.untracked.double(1),
0008 PTMin = cms.untracked.double(1),
0009 MaxChargedHadronEta = cms.untracked.double(2.5),
0010 ConeRadius = cms.untracked.double(34.98),
0011 ConeRadiusMIP = cms.untracked.double(14),
0012 UseConeIsolation = cms.untracked.bool(True),
0013 PMaxIsolation = cms.untracked.double(5),
0014 Verbosity = cms.untracked.int32(0),
0015 mightGet = cms.optional.untracked.vstring
0016 )
0017 for k,v in kwargs.items():
0018 setattr(mod, k, v)
0019 return mod