File indexing completed on 2024-08-27 22:59:33
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def HGCalTBAnalyzer(**kwargs):
0004 mod = cms.EDAnalyzer('HGCalTBAnalyzer',
0005 detectorEE = cms.string('HGCalEESensitive'),
0006 useEE = cms.bool(True),
0007 zFrontEE = cms.double(0),
0008 caloHitSrcEE = cms.string('HGCHitsEE'),
0009 digiSrcEE = cms.InputTag('hgcalDigis', 'EE'),
0010 recHitSrcEE = cms.InputTag('HGCalRecHit', 'HGCEERecHits'),
0011 detectorFH = cms.string('HGCalHESiliconSensitive'),
0012 useFH = cms.bool(False),
0013 zFrontFH = cms.double(0),
0014 caloHitSrcFH = cms.string('HGCHitsHEfront'),
0015 digiSrcFH = cms.InputTag('hgcalDigis', 'HEfront'),
0016 recHitSrcFH = cms.InputTag('HGCalRecHit', 'HGCHEFRecHits'),
0017 detectorBH = cms.string('AHCal'),
0018 useBH = cms.bool(False),
0019 zFrontBH = cms.double(0),
0020 caloHitSrcBH = cms.string('HcalHits'),
0021 digiSrcBH = cms.InputTag('hgcalDigis', 'HEback'),
0022 recHitSrcBH = cms.InputTag('HGCalRecHit', 'HGCHEBRecHits'),
0023 detectorBeam = cms.string('HcalTB06BeamDetector'),
0024 useBeam = cms.bool(False),
0025 caloHitSrcBeam = cms.string('HcalTB06BeamHits'),
0026 idBeams = cms.vint32(
0027 1000,
0028 1001,
0029 1002,
0030 1003,
0031 1004,
0032 1005,
0033 1006,
0034 1007,
0035 1008,
0036 1011,
0037 1012,
0038 1013,
0039 1014,
0040 2001,
0041 2002,
0042 2003,
0043 2004,
0044 2005
0045 ),
0046 generatorSrc = cms.InputTag('generatorSmeared'),
0047 passiveEE = cms.InputTag('g4SimHits', 'HGCalEEPassiveHits'),
0048 passiveFH = cms.InputTag('g4SimHits', 'HGCalHEPassiveHits'),
0049 passiveBH = cms.InputTag('g4SimHits', 'HGCalAHPassiveHits'),
0050 passiveCMSE = cms.InputTag('g4SimHits', 'CMSEPassiveHits'),
0051 passiveBeam = cms.InputTag('g4SimHits', 'HGCalBeamPassiveHits'),
0052 doSimHits = cms.bool(True),
0053 doDigis = cms.bool(True),
0054 doRecHits = cms.bool(True),
0055 sampleIndex = cms.int32(0),
0056 doTree = cms.bool(True),
0057 doTreeCell = cms.bool(True),
0058 doPassive = cms.bool(False),
0059 doPassiveEE = cms.bool(False),
0060 doPassiveHE = cms.bool(False),
0061 doPassiveBH = cms.bool(False),
0062 addP = cms.bool(False),
0063 doBeam = cms.bool(False),
0064 gev2mip200 = cms.untracked.double(5.7e-05),
0065 gev2mip300 = cms.untracked.double(8.55e-05),
0066 stoc_smear_time_200 = cms.untracked.double(10.24),
0067 stoc_smear_time_300 = cms.untracked.double(15.5),
0068 maxDepth = cms.untracked.int32(12),
0069 deltaX = cms.untracked.double(30),
0070 deltaY = cms.untracked.double(30),
0071 deltaZ = cms.untracked.double(81),
0072 zFirst = cms.untracked.double(17.6),
0073 mightGet = cms.optional.untracked.vstring
0074 )
0075 for k,v in kwargs.items():
0076 setattr(mod, k, v)
0077 return mod