1 #include "../interface/OccupancyTask.h"
27 for(
int iFED(0); iFED < 54; iFED++){
43 MEs_.at(
"DigiAllByLumi").reset();
44 MEs_.at(
"TPDigiThrAllByLumi").reset();
45 MEs_.at(
"RecHitThrAllByLumi").reset();
54 meDCC.
fill(dcchItr->id());
57 template<
typename DigiCollection>
62 MESet& meDigiProjEta(
MEs_.at(
"DigiProjEta"));
63 MESet& meDigiProjPhi(
MEs_.at(
"DigiProjPhi"));
65 MESet& meDigiAllByLumi(
MEs_.at(
"DigiAllByLumi"));
68 MESet& meTrendNDigi(
MEs_.at(
"TrendNDigi"));
73 meDigiProjEta.fill(
id);
74 meDigiProjPhi.fill(
id);
76 meDigiAllByLumi.fill(
id);
81 meDigi1D.fill(iSubdet,
double(_digis.size()));
82 meTrendNDigi.fill(iSubdet,
double(
timestamp_.
iLumi),
double(_digis.size()));
92 MESet& meTPDigiThrAll(
MEs_.at(
"TPDigiThrAll"));
93 MESet& meTPDigiThrAllByLumi(
MEs_.at(
"TPDigiThrAllByLumi"));
94 MESet& meTPDigiThrProjEta(
MEs_.at(
"TPDigiThrProjEta"));
95 MESet& meTPDigiThrProjPhi(
MEs_.at(
"TPDigiThrProjPhi"));
96 MESet& meTrendNTPDigi(
MEs_.at(
"TrendNTPDigi"));
98 double nFilteredEB(0.);
99 double nFilteredEE(0.);
107 meTPDigiThrProjEta.fill(
id);
108 meTPDigiThrProjPhi.fill(
id);
109 meTPDigiThrAll.fill(
id);
110 meTPDigiThrAllByLumi.fill(
id);
111 meTPDigiRCT.fill(
id);
112 if(
id.subDet() ==
EcalBarrel) nFilteredEB += 1.;
113 else nFilteredEE += 1.;
124 MESet& meRecHitAll(
MEs_.at(
"RecHitAll"));
125 MESet& meRecHitProjEta(
MEs_.at(
"RecHitProjEta"));
126 MESet& meRecHitProjPhi(
MEs_.at(
"RecHitProjPhi"));
127 MESet& meRecHitThrAll(
MEs_.at(
"RecHitThrAll"));
128 MESet& meRecHitThrAllByLumi(
MEs_.at(
"RecHitThrAllByLumi"));
129 MESet& meRecHitThrmvp(
MEs_.at(
"RecHitThrmvp"));
130 MESet& meRecHitThrpm(
MEs_.at(
"RecHitThrpm"));
131 MESet& meRecHitThrProjEta(
MEs_.at(
"RecHitThrProjEta"));
132 MESet& meRecHitThrProjPhi(
MEs_.at(
"RecHitThrProjPhi"));
133 MESet& meRecHitThr1D(
MEs_.at(
"RecHitThr1D"));
134 MESet& meTrendNRecHitThr(
MEs_.at(
"TrendNRecHitThr"));
137 double nFiltered(0.);
139 float nRHThrp(0), nRHThrm(0);
144 meRecHitAll.fill(
id);
145 meRecHitProjEta.fill(
id);
146 meRecHitProjPhi.fill(
id);
149 meRecHitThrProjEta.fill(
id);
150 meRecHitThrProjPhi.fill(
id);
151 meRecHitThrAll.fill(
id);
152 meRecHitThrAllByLumi.fill(
id);
162 meRecHitThr1D.fill(iSubdet, nFiltered);
164 meRecHitThrmvp.fill(iSubdet,nRHThrp,nRHThrm);
165 meRecHitThrpm.fill(iSubdet,nRHThrp-nRHThrm);
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_ECALDQM_WORKER(TYPE)
edm::LuminosityBlockNumber_t iLumi
void runOnRecHits(EcalRecHitCollection const &, Collections)
std::vector< EcalDCCHeaderBlock >::const_iterator const_iterator
void runOnRawData(EcalRawDataCollection const &)
void runOnDigis(DigiCollection const &, Collections)
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
void runOnTPDigis(EcalTrigPrimDigiCollection const &)
void setParams(edm::ParameterSet const &) override
const_iterator end() const
bool filterRunType(short const *) override
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
virtual void fill(DetId const &, double=1., double=1., double=1.)
const_iterator begin() const