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 
4 
5 #CaloMode is defined in CommonInputs
6 # 0: custom local reco bypassing digis, ECAL and HCAL - it was the only option available until 60X
7 # 1: as 0, but full digi + std local reco in ECAL - default since 610pre6
8 # 2: as 0, but full digi + std local reco in HCAL
9 # 3: full digi + std local reco in ECAL and HCAL
10 
11 if(CaloMode==0):
12 
15 
16  caloRecHits = cms.Sequence(ecalRecHit*ecalPreshowerRecHit*hbhereco*horeco*hfreco)
17 
18 if(CaloMode==1):
19 
22 
23  caloDigis = cms.Sequence(ecalDigisSequence)
24  caloRecHits = cms.Sequence(ecalRecHitSequence*hbhereco*horeco*hfreco)
25 
26 if(CaloMode==2):
27 
30 
31  caloDigis = cms.Sequence(hcalDigisSequence)
32  caloRecHits = cms.Sequence(ecalRecHit*ecalPreshowerRecHit*hcalRecHitSequence)
33 
34 if(CaloMode==3):
35 
37  caloDigis = cms.Sequence(DigiSequence)
38  caloRecHits = cms.Sequence(ecalRecHitSequence*hcalRecHitSequence)
39 
40 
if(dp >Float(M_PI)) dp-