1 #include "../interface/OccupancyTask.h"
26 for(
int iFED(0); iFED < 54; iFED++){
44 meDCC.
fill(dcchItr->id());
47 template<
typename DigiCollection>
52 MESet& meDigiProjEta(
MEs_.at(
"DigiProjEta"));
53 MESet& meDigiProjPhi(
MEs_.at(
"DigiProjPhi"));
57 MESet& meTrendNDigi(
MEs_.at(
"TrendNDigi"));
59 std::for_each(_digis.begin(), _digis.end(), [&](
typename DigiCollection::Digi
const& digi){
62 meDigiProjEta.fill(
id);
63 meDigiProjPhi.fill(
id);
69 meDigi1D.fill(iSubdet,
double(_digis.size()));
70 meTrendNDigi.fill(iSubdet,
double(
timestamp_.
iLumi),
double(_digis.size()));
79 MESet& meTPDigiThrAll(
MEs_.at(
"TPDigiThrAll"));
80 MESet& meTPDigiThrProjEta(
MEs_.at(
"TPDigiThrProjEta"));
81 MESet& meTPDigiThrProjPhi(
MEs_.at(
"TPDigiThrProjPhi"));
82 MESet& meTrendNTPDigi(
MEs_.at(
"TrendNTPDigi"));
84 double nFilteredEB(0.);
85 double nFilteredEE(0.);
93 meTPDigiThrProjEta.fill(
id);
94 meTPDigiThrProjPhi.fill(
id);
95 meTPDigiThrAll.fill(
id);
96 if(
id.subDet() ==
EcalBarrel) nFilteredEB += 1.;
97 else nFilteredEE += 1.;
108 MESet& meRecHitAll(
MEs_.at(
"RecHitAll"));
109 MESet& meRecHitProjEta(
MEs_.at(
"RecHitProjEta"));
110 MESet& meRecHitProjPhi(
MEs_.at(
"RecHitProjPhi"));
111 MESet& meRecHitThrAll(
MEs_.at(
"RecHitThrAll"));
112 MESet& meRecHitThrProjEta(
MEs_.at(
"RecHitThrProjEta"));
113 MESet& meRecHitThrProjPhi(
MEs_.at(
"RecHitThrProjPhi"));
114 MESet& meRecHitThr1D(
MEs_.at(
"RecHitThr1D"));
115 MESet& meTrendNRecHitThr(
MEs_.at(
"TrendNRecHitThr"));
118 double nFiltered(0.);
123 meRecHitAll.fill(
id);
124 meRecHitProjEta.fill(
id);
125 meRecHitProjPhi.fill(
id);
128 meRecHitThrProjEta.fill(
id);
129 meRecHitThrProjPhi.fill(
id);
130 meRecHitThrAll.fill(
id);
136 meRecHitThr1D.fill(iSubdet, nFiltered);
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)
void runOnTPDigis(EcalTrigPrimDigiCollection const &)
void setParams(edm::ParameterSet const &) override
const_iterator end() const
bool filterRunType(short const *) override
virtual void fill(DetId const &, double=1., double=1., double=1.)
const_iterator begin() const