test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  ),
26 
27  HGCHEFConfig = cms.PSet(
28  isSiFE = cms.bool(True),
29  # adc information
30  adcNbits = hgchefrontDigitizer.digiCfg.feCfg.adcNbits,
31  adcSaturation = hgchefrontDigitizer.digiCfg.feCfg.adcSaturation_fC,
32  #tdc information
33  tdcNbits = hgchefrontDigitizer.digiCfg.feCfg.tdcNbits,
34  tdcSaturation = hgchefrontDigitizer.digiCfg.feCfg.tdcSaturation_fC,
35  tdcOnset = hgchefrontDigitizer.digiCfg.feCfg.tdcOnset_fC,
36  toaLSB_ns = hgchefrontDigitizer.digiCfg.feCfg.toaLSB_ns
37  ),
38 
39  HGCHEBConfig = cms.PSet(
40  isSiFE = cms.bool(False),
41  adcNbits = hgchebackDigitizer.digiCfg.feCfg.adcNbits,
42  adcSaturation = hgchebackDigitizer.digiCfg.feCfg.adcSaturation_fC
43  ),
44 
45  algo = cms.string("HGCalUncalibRecHitWorkerWeights")
46 )