13 theCaloGeom_(caloGeom)
34 if (HoEi > HoE) HoE = HoEi;
41 std::cout <<
"!!! algo for HoE should be 1 or 2 " << std::endl;
71 double hcalEnergy = 0 ;
75 iterRecHit = f.
find(hcalDetId) ;
76 if (iterRecHit!=f.
end()) {
77 hcalEnergy = iterRecHit->
energy() ;
78 HoE = hcalEnergy/ecalEnergy ;
94 if (i!=mhbhe->
end()) {
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
const HBHERecHitCollection * hithbhe_
Global3DPoint GlobalPoint
double z() const
z coordinate of cluster centroid
double operator()(const reco::BasicCluster *, const edm::Event &e, const edm::EventSetup &c)
edm::ESHandle< CaloGeometry > theCaloGeom_
void get(HolderT &iHolder) const
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
virtual DetId getClosestCell(const GlobalPoint &r) const
T const * product() const
T const * product() const
ESHandle< TrackerGeometry > geometry
CaloCluster_iterator clustersBegin() const
fist iterator over BasicCluster constituents
double y() const
y coordinate of cluster centroid
CaloCluster_iterator clustersEnd() const
last iterator over BasicCluster constituents