Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:06:17

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def HGCalUncalibRecHitProducer(*args, **kwargs):
0004   mod = cms.EDProducer('HGCalUncalibRecHitProducer',
0005     HGCEEdigiCollection = cms.InputTag('hgcalDigis', 'EE'),
0006     HGCEEhitCollection = cms.string('HGCEEUncalibRecHits'),
0007     HGCHEFdigiCollection = cms.InputTag('hgcalDigis', 'HEfront'),
0008     HGCHEFhitCollection = cms.string('HGCHEFUncalibRecHits'),
0009     HGCHEBdigiCollection = cms.InputTag('hgcalDigis', 'HEback'),
0010     HGCHEBhitCollection = cms.string('HGCHEBUncalibRecHits'),
0011     HGCHFNosedigiCollection = cms.InputTag('hfnoseDigis', 'HFNose'),
0012     HGCHFNosehitCollection = cms.string('HGCHFNoseUncalibRecHits'),
0013     HGCEEConfig = cms.PSet(
0014       isSiFE = cms.bool(True),
0015       adcNbits = cms.uint32(10),
0016       adcSaturation = cms.double(100),
0017       tdcNbits = cms.uint32(12),
0018       tdcSaturation = cms.double(10000),
0019       tdcOnset = cms.double(60),
0020       toaLSB_ns = cms.double(0.0244),
0021       tofDelay = cms.double(-9),
0022       fCPerMIP = cms.vdouble(
0023         1.25,
0024         2.57,
0025         3.88
0026       )
0027     ),
0028     HGCHEFConfig = cms.PSet(
0029       isSiFE = cms.bool(True),
0030       adcNbits = cms.uint32(10),
0031       adcSaturation = cms.double(100),
0032       tdcNbits = cms.uint32(12),
0033       tdcSaturation = cms.double(10000),
0034       tdcOnset = cms.double(60),
0035       toaLSB_ns = cms.double(0.0244),
0036       tofDelay = cms.double(-11),
0037       fCPerMIP = cms.vdouble(
0038         1.25,
0039         2.57,
0040         3.88
0041       )
0042     ),
0043     HGCHEBConfig = cms.PSet(
0044       isSiFE = cms.bool(True),
0045       adcNbits = cms.uint32(10),
0046       adcSaturation = cms.double(68.75),
0047       tdcNbits = cms.uint32(12),
0048       tdcSaturation = cms.double(1000),
0049       tdcOnset = cms.double(55),
0050       toaLSB_ns = cms.double(0.0244),
0051       tofDelay = cms.double(-14),
0052       fCPerMIP = cms.vdouble(
0053         1,
0054         1,
0055         1
0056       )
0057     ),
0058     HGCHFNoseConfig = cms.PSet(
0059       isSiFE = cms.bool(False),
0060       adcNbits = cms.uint32(10),
0061       adcSaturation = cms.double(100),
0062       tdcNbits = cms.uint32(12),
0063       tdcSaturation = cms.double(10000),
0064       tdcOnset = cms.double(60),
0065       toaLSB_ns = cms.double(0.0244),
0066       tofDelay = cms.double(-33),
0067       fCPerMIP = cms.vdouble(
0068         1.25,
0069         2.57,
0070         3.88
0071       )
0072     ),
0073     algo = cms.string('HGCalUncalibRecHitWorkerWeights'),
0074     computeLocalTime = cms.bool(False),
0075     mightGet = cms.optional.untracked.vstring
0076   )
0077   for a in args:
0078     mod.update_(a)
0079   mod.update_(kwargs)
0080   return mod