CMS 3D CMS Logo

HGCalRecHit_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 dEdX_weights = cms.vdouble(0.0, # there is no layer zero
7  8.603, # Mev
8  8.0675,
9  8.0675,
10  8.0675,
11  8.0675,
12  8.0675,
13  8.0675,
14  8.0675,
15  8.0675,
16  8.9515,
17  10.135,
18  10.135,
19  10.135,
20  10.135,
21  10.135,
22  10.135,
23  10.135,
24  10.135,
25  10.135,
26  11.682,
27  13.654,
28  13.654,
29  13.654,
30  13.654,
31  13.654,
32  13.654,
33  13.654,
34  38.2005,
35  55.0265,
36  49.871,
37  49.871,
38  49.871,
39  49.871,
40  49.871,
41  49.871,
42  49.871,
43  49.871,
44  49.871,
45  49.871,
46  62.005,
47  83.1675,
48  92.196,
49  92.196,
50  92.196,
51  92.196,
52  92.196,
53  92.196,
54  92.196,
55  92.196,
56  92.196,
57  92.196,
58  46.098)
59 
60 # HGCAL rechit producer
61 HGCalRecHit = cms.EDProducer(
62  "HGCalRecHitProducer",
63  HGCEErechitCollection = cms.string('HGCEERecHits'),
64  HGCEEuncalibRecHitCollection = cms.InputTag('HGCalUncalibRecHit:HGCEEUncalibRecHits'),
65  HGCHEFrechitCollection = cms.string('HGCHEFRecHits'),
66  HGCHEFuncalibRecHitCollection = cms.InputTag('HGCalUncalibRecHit:HGCHEFUncalibRecHits'),
67  HGCHEBrechitCollection = cms.string('HGCHEBRecHits'),
68  HGCHEBuncalibRecHitCollection = cms.InputTag('HGCalUncalibRecHit:HGCHEBUncalibRecHits'),
69 
70  # digi constants
71  HGCEE_keV2DIGI = hgceeDigitizer.digiCfg.keV2fC,
72  HGCEE_isSiFE = HGCalUncalibRecHit.HGCEEConfig.isSiFE,
73  HGCEE_fCPerMIP = HGCalUncalibRecHit.HGCEEConfig.fCPerMIP,
74  HGCHEF_keV2DIGI = hgchefrontDigitizer.digiCfg.keV2fC,
75  HGCHEF_isSiFE = HGCalUncalibRecHit.HGCHEFConfig.isSiFE,
76  HGCHEF_fCPerMIP = HGCalUncalibRecHit.HGCHEFConfig.fCPerMIP,
77  HGCHEB_keV2DIGI = hgchebackDigitizer.digiCfg.keV2MIP,
78  HGCHEB_isSiFE = HGCalUncalibRecHit.HGCHEBConfig.isSiFE,
79 
80  # EM Scale calibrations
81  layerWeights = dEdX_weights,
82  thicknessCorrection = cms.vdouble(1.132,1.092,1.084), # 100, 200, 300 um
83 
84  # algo
85  algo = cms.string("HGCalRecHitWorkerSimple")
86 
87  )