50 MESet* meSwissCross(isBarrel ? &
MEs_.at(
"SwissCross") :
nullptr);
51 MESet& meRecoFlag(
MEs_.at(
"RecoFlagAll"));
53 double maxE[2] = {-1., -1};
57 meRecoFlag.fill(subdet, hitItr->recoFlag());
58 float energy(hitItr->energy());
61 float rechitThreshold;
69 if (ebId.ieta() != 85)
79 if (eeId.zside() < 0) {
90 if (
energy > rechitThreshold) {
91 meChi2.fill(signedSubdet, hitItr->chi2());
92 meTime.fill(signedSubdet, hitItr->time());
101 meEnergyMax.fill(-EcalEndcap, maxE[0]);
102 meEnergyMax.fill(EcalEndcap, maxE[1]);
109 MESet& meRecoFlag(
MEs_.at(
"RecoFlagReduced"));
114 meRecoFlag.fill(subdet, hitItr->recoFlag());
120 MESet& meRecoFlag(
MEs_.at(
"RecoFlagBasicCluster"));
126 if (bcItr->caloID().detectors() != 0) {
133 std::vector<std::pair<DetId, float> >
const& haf(bcItr->hitsAndFractions());
134 for (
unsigned iH(0); iH != haf.size(); ++iH) {
140 if (hItr == hitCol->end())
142 meRecoFlag.fill(subdet, hItr->recoFlag());
T getUntrackedParameter(std::string const &, T const &) const
void runOnReducedRecHits(EcalRecHitCollection const &, Collections)
void endEvent(edm::Event const &, edm::EventSetup const &) override
#define DEFINE_ECALDQM_WORKER(TYPE)
std::vector< EcalRecHit >::const_iterator const_iterator
bool filterRunType(short const *) override
void runOnRecHits(EcalRecHitCollection const &, Collections)
EcalRecHitCollection const * ebHits_
const_iterator begin() const
void runOnBasicClusters(edm::View< reco::CaloCluster > const &, Collections)
const_iterator end() const
EcalRecHitCollection const * eeHits_
void addDependencies(DependencySet &) override
void setParams(edm::ParameterSet const &) override
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
const_iterator end() const
void push_back(Dependency const &_d)
const_iterator begin() const