17 rechitThresholdEB_(0.),
18 rechitThresholdEE_(0.),
68 MESet* meSwissCross(isBarrel ? &
MEs_.at(
"SwissCross") :
nullptr);
69 MESet& meRecoFlag(
MEs_.at(
"RecoFlagAll"));
71 double maxE[2] = {-1. -1};
75 meRecoFlag.fill(subdet, hitItr->recoFlag());
76 float energy(hitItr->energy());
79 float rechitThreshold;
91 if(energy > maxE[0]) maxE[0] = energy;
99 if(energy > maxE[0]) maxE[0] = energy;
103 if(energy > maxE[1]) maxE[1] = energy;
107 if(energy > rechitThreshold){
108 meChi2.fill(signedSubdet, hitItr->chi2());
109 meTime.fill(signedSubdet, hitItr->time());
119 meEnergyMax.fill(-EcalEndcap, maxE[0]);
120 meEnergyMax.fill(EcalEndcap, maxE[1]);
129 MESet& meRecoFlag(
MEs_.at(
"RecoFlagReduced"));
134 meRecoFlag.fill(subdet, hitItr->recoFlag());
142 MESet& meRecoFlag(
MEs_.at(
"RecoFlagBasicCluster"));
148 if(bcItr->caloID().detectors() != 0){
153 std::vector<std::pair<DetId, float> >
const& haf(bcItr->hitsAndFractions());
154 for(
unsigned iH(0); iH != haf.size(); ++iH){
158 if(hItr == hitCol->end())
continue;
159 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