CMS 3D CMS Logo

HGCalUncalibRecHit_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import hgceeDigitizer, hgchefrontDigitizer, hgchebackDigitizer
4 
5 # HGCAL producer of rechits starting from digis
6 HGCalUncalibRecHit = cms.EDProducer(
7  "HGCalUncalibRecHitProducer",
8  HGCEEdigiCollection = cms.InputTag('mix:HGCDigisEE'),
9  HGCEEhitCollection = cms.string('HGCEEUncalibRecHits'),
10  HGCHEFdigiCollection = cms.InputTag('mix:HGCDigisHEfront'),
11  HGCHEFhitCollection = cms.string('HGCHEFUncalibRecHits'),
12  HGCHEBdigiCollection = cms.InputTag('mix:HGCDigisHEback'),
13  HGCHEBhitCollection = cms.string('HGCHEBUncalibRecHits'),
14 
15  HGCEEConfig = cms.PSet(
16  isSiFE = cms.bool(True),
17  # adc information
18  adcNbits = hgceeDigitizer.digiCfg.feCfg.adcNbits,
19  adcSaturation = hgceeDigitizer.digiCfg.feCfg.adcSaturation_fC,
20  #tdc information
21  tdcNbits = hgceeDigitizer.digiCfg.feCfg.tdcNbits,
22  tdcSaturation = hgceeDigitizer.digiCfg.feCfg.tdcSaturation_fC,
23  tdcOnset = hgceeDigitizer.digiCfg.feCfg.tdcOnset_fC,
24  toaLSB_ns = hgceeDigitizer.digiCfg.feCfg.toaLSB_ns,
25  fCPerMIP = cms.vdouble(1.25,2.57,3.88) #100um, 200um, 300um
26  ),
27 
28  HGCHEFConfig = cms.PSet(
29  isSiFE = cms.bool(True),
30  # adc information
31  adcNbits = hgchefrontDigitizer.digiCfg.feCfg.adcNbits,
32  adcSaturation = hgchefrontDigitizer.digiCfg.feCfg.adcSaturation_fC,
33  #tdc information
34  tdcNbits = hgchefrontDigitizer.digiCfg.feCfg.tdcNbits,
35  tdcSaturation = hgchefrontDigitizer.digiCfg.feCfg.tdcSaturation_fC,
36  tdcOnset = hgchefrontDigitizer.digiCfg.feCfg.tdcOnset_fC,
37  toaLSB_ns = hgchefrontDigitizer.digiCfg.feCfg.toaLSB_ns,
38  fCPerMIP = cms.vdouble(1.25,2.57,3.88) #100um, 200um, 300um
39  ),
40 
41  HGCHEBConfig = cms.PSet(
42  isSiFE = cms.bool(False),
43  adcNbits = hgchebackDigitizer.digiCfg.feCfg.adcNbits,
44  adcSaturation = hgchebackDigitizer.digiCfg.feCfg.adcSaturation_fC,
45  fCPerMIP = cms.vdouble(1.0,1.0,1.0) #dummy values, it's scintillator
46  ),
47 
48  algo = cms.string("HGCalUncalibRecHitWorkerWeights")
49 )