19 std::vector<EcalRecHitCollection::const_iterator>
hit;
51 std::vector<EcalRecHitCollection::const_iterator>
hit;
56 bool doBarrel =
false, doEndcap =
false;
71 edm::LogWarning(
"IsoTrack") <<
"PROBLEM : Endcap RecHits in Barrel Collection!?";
88 edm::LogWarning(
"IsoTrack") <<
"PROBLEM : Barrel RecHits in Endcap Collection!?";
106 std::vector<HBHERecHitCollection::const_iterator>
hit;
126 std::vector<edm::PCaloHitContainer::const_iterator> hit;
127 edm::PCaloHitContainer::const_iterator ihit;
128 for (ihit = hits->begin(); ihit != hits->end(); ihit++) {
129 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)
Log< level::Warning, false > LogWarning
std::vector< EcalRecHitCollection::const_iterator > findCone(const CaloGeometry *geo, edm::Handle< EcalRecHitCollection > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, bool debug=false)