File indexing completed on 2024-08-27 22:59:33
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def CaloSimHitAnalysis(**kwargs):
0004 mod = cms.EDAnalyzer('CaloSimHitAnalysis',
0005 moduleLabel = cms.untracked.string('g4SimHits'),
0006 hitCollection = cms.vstring(
0007 'EcalHitsEB1',
0008 'EcalHitsEE1',
0009 'HcalHits1'
0010 ),
0011 timeSliceUnit = cms.vdouble(
0012 1,
0013 1,
0014 1
0015 ),
0016 maxEnergy = cms.untracked.double(250),
0017 maxTime = cms.untracked.double(1000),
0018 timeCut = cms.untracked.double(100),
0019 timeScale = cms.untracked.double(1),
0020 timeThreshold = cms.untracked.double(15),
0021 testNumbering = cms.untracked.bool(False),
0022 passiveHits = cms.untracked.bool(False),
0023 detNames = cms.untracked.vstring(
0024 'PixelBarrel',
0025 'PixelForward',
0026 'TIB',
0027 'TID',
0028 'TOB',
0029 'TEC'
0030 ),
0031 allStep = cms.untracked.int32(100),
0032 mightGet = cms.optional.untracked.vstring
0033 )
0034 for k,v in kwargs.items():
0035 setattr(mod, k, v)
0036 return mod