Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FastSimulation
CaloRecHitsProducer
python
CaloRecHits_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
from
FastSimulation.Configuration.CommonInputs_cff
import
*
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
13
from
FastSimulation.CaloRecHitsProducer.EcalRecHitsCustom_cff
import
*
14
from
FastSimulation.CaloRecHitsProducer.HcalRecHitsCustom_cff
import
*
15
16
caloRecHits = cms.Sequence(ecalRecHit*ecalPreshowerRecHit*hbhereco*horeco*hfreco)
17
18
if
(CaloMode==1):
19
20
from
FastSimulation.CaloRecHitsProducer.EcalDigisPlusRecHits_cff
import
*
21
from
FastSimulation.CaloRecHitsProducer.HcalRecHitsCustom_cff
import
*
22
23
caloDigis = cms.Sequence(ecalDigisSequence)
24
caloRecHits = cms.Sequence(ecalRecHitSequence*hbhereco*horeco*hfreco)
25
26
if
(CaloMode==2):
27
28
from
FastSimulation.CaloRecHitsProducer.EcalRecHitsCustom_cff
import
*
29
from
FastSimulation.CaloRecHitsProducer.HcalDigisPlusRecHits_cff
import
*
30
31
caloDigis = cms.Sequence(hcalDigisSequence)
32
caloRecHits = cms.Sequence(ecalRecHit*ecalPreshowerRecHit*hcalRecHitSequence)
33
34
if
(CaloMode==3):
35
36
from
FastSimulation.CaloRecHitsProducer.FullDigisPlusRecHits_cff
import
*
37
caloDigis = cms.Sequence(DigiSequence)
38
caloRecHits = cms.Sequence(ecalRecHitSequence*hcalRecHitSequence)
39
40
Config
EcalRecHitsCustom_cff
CommonInputs_cff
HcalRecHitsCustom_cff
EcalDigisPlusRecHits_cff
FullDigisPlusRecHits_cff
reco::if
if(dp >Float(M_PI)) dp-
HcalDigisPlusRecHits_cff
Generated for CMSSW Reference Manual by
1.8.5