CMS 3D CMS Logo

HGCalRecHit_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
4 
5 dEdX_weights = cms.vdouble(0.0, # there is no layer zero
6  8.603, # Mev
7  8.0675,
8  8.0675,
9  8.0675,
10  8.0675,
11  8.0675,
12  8.0675,
13  8.0675,
14  8.0675,
15  8.9515,
16  10.135,
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  11.682,
26  13.654,
27  13.654,
28  13.654,
29  13.654,
30  13.654,
31  13.654,
32  13.654,
33  38.2005,
34  55.0265,
35  49.871,
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  62.005,
46  83.1675,
47  92.196,
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  46.098)
58 
59 # HGCAL rechit producer
60 HGCalRecHit = cms.EDProducer(
61  "HGCalRecHitProducer",
62  HGCEErechitCollection = cms.string('HGCEERecHits'),
63  HGCEEuncalibRecHitCollection = cms.InputTag('HGCalUncalibRecHit:HGCEEUncalibRecHits'),
64  HGCHEFrechitCollection = cms.string('HGCHEFRecHits'),
65  HGCHEFuncalibRecHitCollection = cms.InputTag('HGCalUncalibRecHit:HGCHEFUncalibRecHits'),
66  HGCHEBrechitCollection = cms.string('HGCHEBRecHits'),
67  HGCHEBuncalibRecHitCollection = cms.InputTag('HGCalUncalibRecHit:HGCHEBUncalibRecHits'),
68 
69  # digi constants
70  HGCEE_keV2DIGI = hgceeDigitizer.digiCfg.keV2fC,
71  HGCEE_isSiFE = HGCalUncalibRecHit.HGCEEConfig.isSiFE,
72  HGCEE_fCPerMIP = HGCalUncalibRecHit.HGCEEConfig.fCPerMIP,
73  HGCHEF_keV2DIGI = hgchefrontDigitizer.digiCfg.keV2fC,
74  HGCHEF_isSiFE = HGCalUncalibRecHit.HGCHEFConfig.isSiFE,
75  HGCHEF_fCPerMIP = HGCalUncalibRecHit.HGCHEFConfig.fCPerMIP,
76  HGCHEB_keV2DIGI = hgchebackDigitizer.digiCfg.keV2MIP,
77  HGCHEB_isSiFE = HGCalUncalibRecHit.HGCHEBConfig.isSiFE,
78  # don't produce rechit if detid is a ghost one
79  rangeMask = cms.uint32(4294442496),
80  rangeMatch = cms.uint32(1161838592),
81 
82 
83  # EM Scale calibrations
84  layerWeights = dEdX_weights,
85 
86  thicknessCorrection = cms.vdouble(1.132,1.092,1.084), # 100, 200, 300 um
87  HGCEE_noise_fC = hgceeDigitizer.digiCfg.noise_fC,
88  HGCEE_cce = hgceeDigitizer.digiCfg.chargeCollectionEfficiencies,
89  HGCHEF_noise_fC = hgchefrontDigitizer.digiCfg.noise_fC,
90  HGCHEF_cce = hgchefrontDigitizer.digiCfg.chargeCollectionEfficiencies,
91  HGCHEB_noise_MIP = hgchebackDigitizer.digiCfg.noise_MIP,
92  # algo
93  algo = cms.string("HGCalRecHitWorkerSimple")
94 
95  )
96 
97