1 import FWCore.ParameterSet.Config
as cms
4 hbheRecHitTable = cms.EDProducer(
"HBHERecHitFlatTableProducer",
5 src = cms.InputTag(
"hbhereco"),
7 name = cms.string(
"RecHitHBHE"),
8 doc = cms.string(
"HCAL barrel and endcap rec hits"),
9 singleton = cms.bool(
False),
10 extension = cms.bool(
False),
12 detId =
Var(
'detid().rawId()',
'int', precision=-1, doc=
'detId'),
13 energy =
Var(
'energy',
'float', precision=14, doc=
'energy'),
14 time =
Var(
'time',
'float', precision=14, doc=
'hit time'),
15 ieta =
Var(
'id().ieta()',
'int', precision=-1, doc=
'ieta'),
16 iphi =
Var(
'id().iphi()',
'int', precision=-1, doc=
'iphi'),
17 depth =
Var(
'id().depth()',
'int', precision=-1, doc=
'depth')
21 hfRecHitTable = cms.EDProducer(
"HFRecHitFlatTableProducer",
22 src = cms.InputTag(
"hfreco"),
24 name = cms.string(
"RecHitHF"),
25 doc = cms.string(
"HCAL forward (HF) rec hits"),
26 singleton = cms.bool(
False),
27 extension = cms.bool(
False),
29 detId =
Var(
'detid().rawId()',
'int', precision=-1, doc=
'detId'),
30 energy =
Var(
'energy',
'float', precision=14, doc=
'energy'),
31 time =
Var(
'time',
'float', precision=14, doc=
'hit time'),
32 ieta =
Var(
'id().ieta()',
'int', precision=-1, doc=
'ieta'),
33 iphi =
Var(
'id().iphi()',
'int', precision=-1, doc=
'iphi'),
34 depth =
Var(
'id().depth()',
'int', precision=-1, doc=
'depth')
38 hoRecHitTable = cms.EDProducer(
"HORecHitFlatTableProducer",
39 src = cms.InputTag(
"horeco"),
41 name = cms.string(
"RecHitHO"),
42 doc = cms.string(
"HCAL outer (HO) rec hits"),
43 singleton = cms.bool(
False),
44 extension = cms.bool(
False),
46 detId =
Var(
'detid().rawId()',
'int', precision=-1, doc=
'detId'),
47 energy =
Var(
'energy',
'float', precision=14, doc=
'energy'),
48 time =
Var(
'time',
'float', precision=14, doc=
'hit time'),
49 ieta =
Var(
'id().ieta()',
'int', precision=-1, doc=
'ieta'),
50 iphi =
Var(
'id().iphi()',
'int', precision=-1, doc=
'iphi'),
51 depth =
Var(
'id().depth()',
'int', precision=-1, doc=
'depth')
55 hcalRecHitTableSeq = cms.Sequence(
61 hcalRecHitTableTask = cms.Task(
def Var(expr, valtype, doc=None, precision=-1)