12 std::vector<EcalRecHitCollection::const_iterator>
hit;
15 j!=hits->end();
j++) {
29 if (keepHit) hit.push_back(
j);
37 std::vector<EcalRecHitCollection::const_iterator>
hit;
48 j!=barrelhits->end();
j++) {
56 std::cout <<
"PROBLEM : Endcap RecHits in Barrel Collection!?"
59 if (keepHit) hit.push_back(
j);
66 j!=endcaphits->end();
j++) {
75 std::cout <<
"PROBLEM : Barrel RecHits in Endcap Collection!?"
78 if (keepHit) hit.push_back(
j);
89 std::vector<HBHERecHitCollection::const_iterator>
hit;
92 j!=hits->end();
j++) {
103 std::vector<edm::PCaloHitContainer::const_iterator>
hit;
104 edm::PCaloHitContainer::const_iterator ihit;
105 for (ihit=hits->begin(); ihit!=hits->end(); ihit++) {
106 DetId detId(ihit->id());
double getDistInPlaneTrackDir(const GlobalPoint &caloPoint, const GlobalVector &caloVector, const GlobalPoint &rechitPoint, bool debug=false)
std::vector< T >::const_iterator const_iterator
Abs< T >::type abs(const T &t)
const GlobalPoint & getPosition(const DetId &id) const
Get the position of a given detector id.
std::vector< EcalRecHitCollection::const_iterator > findCone(const CaloGeometry *geo, edm::Handle< EcalRecHitCollection > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, bool debug=false)