18 std::vector<EcalRecHitCollection::const_iterator>
hit;
50 std::vector<EcalRecHitCollection::const_iterator>
hit;
70 std::cout <<
"PROBLEM : Endcap RecHits in Barrel Collection!?" << std::endl;
87 std::cout <<
"PROBLEM : Barrel RecHits in Endcap Collection!?" << std::endl;
105 std::vector<HBHERecHitCollection::const_iterator>
hit;
125 std::vector<edm::PCaloHitContainer::const_iterator>
hit;
126 edm::PCaloHitContainer::const_iterator ihit;
127 for (ihit = hits->begin(); ihit != hits->end(); ihit++) {
128 DetId detId(ihit->id());
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
static const double etaBEEcal
double getDistInPlaneTrackDir(const GlobalPoint &caloPoint, const GlobalVector &caloVector, const GlobalPoint &rechitPoint, bool debug=false)
std::vector< EcalRecHit >::const_iterator const_iterator
static const double deltaEta
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
Abs< T >::type abs(const T &t)
const_iterator end() const
std::vector< EcalRecHitCollection::const_iterator > findCone(const CaloGeometry *geo, edm::Handle< EcalRecHitCollection > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, bool debug=false)
const_iterator begin() const