CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloRecHits_cff.py
Go to the documentation of this file.
2 
3 #To include the ECAL RecHit containment corrections (the famous 0.97 factor)
5 
6 # This includes is needed for the ECAL digis
8 
11 
12 # This includes is needed for the ECAL digis
14 
15 ecalRecHit = cms.EDProducer("CaloRecHitsProducer",
16  InputRecHitCollectionTypes = cms.vuint32(2, 3),
17  OutputRecHitCollections = cms.vstring('EcalRecHitsEB',
18  'EcalRecHitsEE'),
19  doDigis = cms.bool(False),
20  doMiscalib = cms.bool(False),
21 
22  RecHitsFactory = cms.PSet(
23  ECALBarrel = cms.PSet(
24  Noise = cms.double(-1.),
25  NoiseADC = cms.double(1.054),
26  HighNoiseParameters = cms.vdouble(0.04,0.51,0.000),
27  Threshold = cms.double(0.1),
28  SRThreshold = cms.double(1.),
29  Refactor = cms.double(1.),
30  Refactor_mean = cms.double(1.),
31  MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsEB"),
32  ContFact = cms.PSet(ecal_notCont_sim)),
33 
34  ECALEndcap = cms.PSet(
35  Noise = cms.double(-1.),
36  NoiseADC = cms.double(2.32),
37  HighNoiseParameters = cms.vdouble(5.72,1.65,2.7,6.1),
38  Threshold = cms.double(.32),
39  SRThreshold = cms.double(1.),
40  Refactor = cms.double(1.),
41  Refactor_mean = cms.double(1.),
42  MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsEE"),
43  ContFact = cms.PSet(ecal_notCont_sim)),
44  ))
45 
46 
47 ecalPreshowerRecHit = cms.EDProducer("CaloRecHitsProducer",
48  InputRecHitCollectionTypes = cms.vuint32(1),
49  OutputRecHitCollections = cms.vstring('EcalRecHitsES'),
50  doDigis = cms.bool(False),
51  doMiscalib = cms.bool(False),
52 
53  RecHitsFactory = cms.PSet(
54  ECALPreshower = cms.PSet(
55  Noise = cms.double(1.5e-05),
56  Threshold = cms.double(4.5e-05),
57  MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsES"))))
58 
59 
60 hbhereco = cms.EDProducer("CaloRecHitsProducer",
61  InputRecHitCollectionTypes = cms.vuint32(4),
62  OutputRecHitCollections = cms.vstring(""),
63  doDigis = cms.bool(False),
64  doMiscalib = cms.bool(False),
65 
66  RecHitsFactory = cms.PSet(
67  HCAL = cms.PSet(
68  Noise = cms.vdouble(-1.,-1.),
69  NoiseCorrectionFactor = cms.vdouble(1.39,1.32),
70  Threshold = cms.vdouble(-1.,-1.),
71  MixedSimHits = cms.InputTag("mix","famosSimHitsHcalHits"),
72  EnableSaturation = cms.bool(True),
73  Refactor = cms.double(1.),
74  Refactor_mean = cms.double(1.),
75  fileNameHcal = cms.string('hcalmiscalib_0.0.xml'))))
76 
77 
78 horeco = cms.EDProducer("CaloRecHitsProducer",
79  InputRecHitCollectionTypes = cms.vuint32(5),
80  OutputRecHitCollections = cms.vstring(""),
81  doDigis = cms.bool(False),
82  doMiscalib = cms.bool(False),
83 
84  RecHitsFactory = cms.PSet(
85  HCAL = cms.PSet(
86  Noise = cms.vdouble(-1.),
87  NoiseCorrectionFactor = cms.vdouble(3.),#1.17 to be tuned
88  Threshold = cms.vdouble(-1.5),
89  MixedSimHits = cms.InputTag("mix","famosSimHitsHcalHits"),
90  EnableSaturation = cms.bool(True),
91  Refactor = cms.double(1.),
92  Refactor_mean = cms.double(1.),
93  fileNameHcal = cms.string('hcalmiscalib_0.0.xml'))))
94 
95 hfreco = cms.EDProducer("CaloRecHitsProducer",
96  InputRecHitCollectionTypes = cms.vuint32(6),
97  OutputRecHitCollections = cms.vstring(""),
98  doDigis = cms.bool(False),
99  doMiscalib = cms.bool(False),
100 
101  RecHitsFactory = cms.PSet(
102  HCAL = cms.PSet(
103  Noise = cms.vdouble(-1.),
104  NoiseCorrectionFactor = cms.vdouble(2.51),
105  Threshold = cms.vdouble(-0.5),
106  MixedSimHits = cms.InputTag("mix","famosSimHitsHcalHits"),
107  EnableSaturation = cms.bool(True),
108  Refactor = cms.double(1.),
109  Refactor_mean = cms.double(1.),
110  fileNameHcal = cms.string('hcalmiscalib_0.0.xml'))))
111 
112 
113 simHcalTriggerPrimitiveDigis.peakFilter = False
114 simHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(cms.InputTag('hbhereco'), cms.InputTag('hfreco'))
115 'hbhereco'
116 simEcalTriggerPrimitiveDigis.Famos = True
117 simEcalTriggerPrimitiveDigis.Label = 'ecalRecHit'
118 
119 caloRecHits = cms.Sequence(ecalRecHit*ecalPreshowerRecHit*hbhereco*horeco*hfreco)