1 import FWCore.ParameterSet.Config
as cms
5 ecalPhiSymRecHitLumiTableEB = cms.EDProducer(
"EcalPhiSymRecHitFlatTableProducerLumi",
6 src = cms.InputTag(
"EcalPhiSymRecHitProducerLumi",
"EB"),
8 name = cms.string(
"EcalPhiSymEB"),
9 doc = cms.string(
"ECAL RecHits with information summed over a LS"),
11 id =
Var(
"rawId()", int, doc=
"ECAL PhiSym rechits: channel detector id"),
12 status =
Var(
"statusCode()", int, doc=
"ECAL PhiSym rechits: channel status"),
13 nHits =
Var(
"nHits()", int, doc=
"ECAL PhiSym rechits: number of recorded hits"),
14 sumEt =
Var(
"sumEt(0)", float, doc=
"ECAL PhiSym rechits: nominal et", precision=23),
15 sumEt2 =
Var(
"sumEt2()", float, doc=
"ECAL PhiSym rechits: sum et^2", precision=23),
16 sumLC =
Var(
"lcSum()", float, doc=
"ECAL PhiSym rechits: laser correction", precision=23),
17 sumLC2 =
Var(
"lc2Sum()", float, doc=
"ECAL PhiSym rechits: sum lc^2", precision=23)
21 ecalPhiSymRecHitLumiTableEE = ecalPhiSymRecHitLumiTableEB.clone(
22 src = cms.InputTag(
"EcalPhiSymRecHitProducerLumi",
"EE"),
23 name = cms.string(
"EcalPhiSymEE")
26 setattr(ecalPhiSymRecHitLumiTableEE.variables,
'ring',
Var(
"eeRing()", int, doc=
"ECAL PhiSym rechits: EE channel ring index"))
28 ecalPhiSymInfoLumiTable = cms.EDProducer(
"EcalPhiSymInfoFlatTableProducerLumi",
29 src = cms.InputTag(
"EcalPhiSymRecHitProducerLumi"),
31 name = cms.string(
"EcalPhiSymInfo"),
32 doc = cms.string(
"Global phisym info with information summed over one or more LS"),
34 hitsEB =
Var(
"totHitsEB()", int, doc=
"Total number of rechits in EB"),
35 hitsEE =
Var(
"totHitsEE()", int, doc=
"Total number of rechits in EE"),
36 nEvents =
Var(
"nEvents()", int, doc=
"Total number of events recorded"),
37 nLumis =
Var(
"nLumis()", int, doc=
"Total number of lumis recorded"),
38 fill =
Var(
"fillNumber()", int, doc=
"LHC fill number"),
39 delivLumi =
Var(
"delivLumi()", float, doc=
"LHC delivered integrated luminosity"),
40 recLumi =
Var(
"recLumi()", float, doc=
"CMS recorded integrated luminosity"),
41 nMis =
Var(
"nMis()", float, doc=
"Number of mis-calibration steps injected (nominal value excluded)"),
42 minMisEB =
Var(
"minMisEB()", float, doc=
"Minimum mis-calibration value in EB"),
43 maxMisEB =
Var(
"maxMisEB()", float, doc=
"Maximum mis-calibration value in EB"),
44 minMisEE =
Var(
"minMisEE()", float, doc=
"Minimum mis-calibration value in EE"),
45 maxMisEE =
Var(
"maxMisEE()", float, doc=
"Maximum mis-calibration value in EE")))
49 ecalPhiSymRecHitRunTableEB = cms.EDProducer(
"EcalPhiSymRecHitFlatTableProducerRun",
50 src = cms.InputTag(
"EcalPhiSymRecHitProducerRun",
"EB"),
52 name = cms.string(
"EcalPhiSymEB"),
53 doc = cms.string(
"ECAL RecHits with information summed over a Run"),
54 variables = cms.PSet()
56 ecalPhiSymRecHitRunTableEB.variables = ecalPhiSymRecHitLumiTableEB.variables
58 ecalPhiSymRecHitRunTableEE = ecalPhiSymRecHitRunTableEB.clone(
59 src = cms.InputTag(
"EcalPhiSymRecHitProducerRun",
"EE"),
60 name = cms.string(
"EcalPhiSymEE")
63 setattr(ecalPhiSymRecHitRunTableEE.variables,
'ring',
Var(
"eeRing()", int, doc=
"ECAL PhiSym rechits: EE channel ring index"))
65 ecalPhiSymInfoRunTable = cms.EDProducer(
"EcalPhiSymInfoFlatTableProducerRun",
66 src = cms.InputTag(
"EcalPhiSymRecHitProducerRun"),
68 name = cms.string(
"EcalPhiSymInfo"),
69 doc = cms.string(
"Global phisym info with information summed over a run"),
70 variables = cms.PSet()
73 ecalPhiSymInfoRunTable.variables = ecalPhiSymInfoLumiTable.variables
def Var(expr, valtype, compression=None, doc=None, mcOnly=False, precision=-1)