13 std::vector<EcalRecHitCollection::const_iterator>
hit;
16 j!=hits->end();
j++) {
30 if (keepHit) hit.push_back(
j);
38 std::vector<EcalRecHitCollection::const_iterator>
hit;
49 j!=barrelhits->end();
j++) {
57 std::cout <<
"PROBLEM : Endcap RecHits in Barrel Collection!?"
60 if (keepHit) hit.push_back(
j);
67 j!=endcaphits->end();
j++) {
76 std::cout <<
"PROBLEM : Barrel RecHits in Endcap Collection!?"
79 if (keepHit) hit.push_back(
j);
90 std::vector<HBHERecHitCollection::const_iterator>
hit;
93 j!=hits->end();
j++) {
104 std::vector<edm::PCaloHitContainer::const_iterator>
hit;
105 edm::PCaloHitContainer::const_iterator ihit;
106 for (ihit=hits->begin(); ihit!=hits->end(); ihit++) {
107 DetId detId(ihit->id());
static const double etaBEEcal
double getDistInPlaneTrackDir(const GlobalPoint &caloPoint, const GlobalVector &caloVector, const GlobalPoint &rechitPoint, bool debug=false)
std::vector< T >::const_iterator const_iterator
static const double deltaEta
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)