CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalRecHitsCustom_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 
9 ecalRecHit = cms.EDProducer("CaloRecHitsProducer",
10  InputRecHitCollectionTypes = cms.vuint32(2, 3),
11  OutputRecHitCollections = cms.vstring('EcalRecHitsEB',
12  'EcalRecHitsEE'),
13  doDigis = cms.bool(False),
14  doMiscalib = cms.bool(False),
15 
16  RecHitsFactory = cms.PSet(
17  ECALBarrel = cms.PSet(
18  Noise = cms.double(-1.),
19  NoiseADC = cms.double(1.054),
20  HighNoiseParameters = cms.vdouble(0.04,0.51,0.016),
21  Threshold = cms.double(0.1),
22  SRThreshold = cms.double(1.),
23  Refactor = cms.double(1.),
24  Refactor_mean = cms.double(1.),
25  MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsEB"),
26  ContFact = cms.PSet(ecal_notCont_sim)),
27 
28  ECALEndcap = cms.PSet(
29  Noise = cms.double(-1.),
30  NoiseADC = cms.double(2.32),
31  HighNoiseParameters = cms.vdouble(5.72,1.65,2.7,6.1),
32  Threshold = cms.double(.32),
33  SRThreshold = cms.double(1.),
34  Refactor = cms.double(1.),
35  Refactor_mean = cms.double(1.),
36  MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsEE"),
37  ContFact = cms.PSet(ecal_notCont_sim)),
38  ))
39 
40 
41 ecalPreshowerRecHit = cms.EDProducer("CaloRecHitsProducer",
42  InputRecHitCollectionTypes = cms.vuint32(1),
43  OutputRecHitCollections = cms.vstring('EcalRecHitsES'),
44  doDigis = cms.bool(False),
45  doMiscalib = cms.bool(False),
46 
47  RecHitsFactory = cms.PSet(
48  ECALPreshower = cms.PSet(
49  Noise = cms.double(1.5e-05),
50  Threshold = cms.double(4.5e-05),
51  MixedSimHits = cms.InputTag("mix","famosSimHitsEcalHitsES"))))
52 
53 
54 simEcalTriggerPrimitiveDigis.Famos = True
55 simEcalTriggerPrimitiveDigis.Label = 'ecalRecHit'