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(2.56,0.51,0.0086),
27  Threshold = cms.double(0.1),
28  SRThreshold = cms.double(1.),
29 # SREtaSize = cms.untracked.int32(1),
30 # SRPhiSize = cms.untracked.int32(1),
31  Refactor = cms.double(1.),
32  Refactor_mean = cms.double(1.),
33  MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsEB"),
34  ContFact = cms.PSet(ecal_notCont_sim)),
35 
36  ECALEndcap = cms.PSet(
37  Noise = cms.double(-1.),
38  NoiseADC = cms.double(2.32),
39  HighNoiseParameters = cms.vdouble(4.77,1.65,2.7,5.1),
40  Threshold = cms.double(.32),
41  SRThreshold = cms.double(1.),
42  Refactor = cms.double(1.),
43  Refactor_mean = cms.double(1.),
44  MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsEE"),
45  ContFact = cms.PSet(ecal_notCont_sim)),
46  ))
47 
48 
49 ecalPreshowerRecHit = cms.EDProducer("CaloRecHitsProducer",
50  InputRecHitCollectionTypes = cms.vuint32(1),
51  OutputRecHitCollections = cms.vstring('EcalRecHitsES'),
52  doDigis = cms.bool(False),
53  doMiscalib = cms.bool(False),
54 
55  RecHitsFactory = cms.PSet(
56  ECALPreshower = cms.PSet(
57  Noise = cms.double(1.5e-05),
58  Threshold = cms.double(4.5e-05),
59  MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsES"))))
60 
61 
62 hbhereco = cms.EDProducer("CaloRecHitsProducer",
63  InputRecHitCollectionTypes = cms.vuint32(4),
64  OutputRecHitCollections = cms.vstring(""),
65  doDigis = cms.bool(False),
66  doMiscalib = cms.bool(False),
67 
68  RecHitsFactory = cms.PSet(
69  HCAL = cms.PSet(
70  Noise = cms.vdouble(-1.,-1.),
71  Threshold = cms.vdouble(-0.5,-0.5),
72  MixedSimHits = cms.InputTag("mix","famosSimHitsHcalHits"),
73  EnableSaturation = cms.bool(True),
74  Refactor = cms.double(1.),
75  Refactor_mean = cms.double(1.),
76  fileNameHcal = cms.string('hcalmiscalib_0.0.xml'))))
77 
78 
79 horeco = cms.EDProducer("CaloRecHitsProducer",
80  InputRecHitCollectionTypes = cms.vuint32(5),
81  OutputRecHitCollections = cms.vstring(""),
82  doDigis = cms.bool(False),
83  doMiscalib = cms.bool(False),
84 
85  RecHitsFactory = cms.PSet(
86  HCAL = cms.PSet(
87  Noise = cms.vdouble(-1.),
88  Threshold = cms.vdouble(-0.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  Threshold = cms.vdouble(-0.5),
105  MixedSimHits = cms.InputTag("mix","famosSimHitsHcalHits"),
106  EnableSaturation = cms.bool(True),
107  Refactor = cms.double(1.),
108  Refactor_mean = cms.double(1.),
109  fileNameHcal = cms.string('hcalmiscalib_0.0.xml'))))
110 
111 
112 simHcalTriggerPrimitiveDigis.peakFilter = False
113 simHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(cms.InputTag('hbhereco'), cms.InputTag('hfreco'))
114 'hbhereco'
115 simEcalTriggerPrimitiveDigis.Famos = True
116 simEcalTriggerPrimitiveDigis.Label = 'ecalRecHit'
117 
118 caloRecHits = cms.Sequence(ecalRecHit*ecalPreshowerRecHit*hbhereco*horeco*hfreco)