14 std::vector<EcalRecHitCollection::const_iterator>
hit;
17 j!=hits->
end(); j++) {
31 if (keepHit) hit.push_back(j);
39 std::vector<EcalRecHitCollection::const_iterator>
hit;
50 j!=barrelhits->
end(); j++) {
58 std::cout <<
"PROBLEM : Endcap RecHits in Barrel Collection!?" 61 if (keepHit) hit.push_back(j);
68 j!=endcaphits->
end(); j++) {
77 std::cout <<
"PROBLEM : Barrel RecHits in Endcap Collection!?" 80 if (keepHit) hit.push_back(j);
91 std::vector<HBHERecHitCollection::const_iterator>
hit;
94 j!=hits->
end(); j++) {
106 std::vector<edm::PCaloHitContainer::const_iterator>
hit;
107 edm::PCaloHitContainer::const_iterator ihit;
108 for (ihit=hits->begin(); ihit!=hits->end(); ihit++) {
109 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