63 double hcalEnergy = 0;
66 iterRecHit = hithbhe_->
find(hcalDetId);
67 if (iterRecHit != hithbhe_->
end()) {
68 hcalEnergy = iterRecHit->energy();
69 HoE = hcalEnergy / ecalEnergy;
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
const HBHERecHitCollection * hithbhe_
const edm::EventSetup & c
Global3DPoint GlobalPoint
std::vector< T >::const_iterator const_iterator
double z() const
z coordinate of cluster centroid
double operator()(const reco::BasicCluster *, const edm::Event &e, const edm::EventSetup &c)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
edm::ESHandle< CaloGeometry > theCaloGeom_
double getHoE(GlobalPoint pos, float energy, const edm::Event &e, const edm::EventSetup &c)
double x() const
x coordinate of cluster centroid
double energy() const
cluster energy
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const_iterator end() const
virtual DetId getClosestCell(const GlobalPoint &r) const
T const * product() const
T const * product() const
iterator find(key_type k)
double y() const
y coordinate of cluster centroid