#include <HBHEIsolatedNoiseAlgos.h>
Classes | |
struct | towercmp |
Public Member Functions | |
void | findNeighbors (const CaloTowerDetId &id, std::set< const PhysicsTower *> &neighbors) const |
void | findNeighbors (const PhysicsTower *twr, std::set< const PhysicsTower *> &neighbors) const |
void | findNeighbors (int ieta, int iphi, std::set< const PhysicsTower *> &neighbors) const |
const PhysicsTower * | findTower (const CaloTowerDetId &id) const |
const PhysicsTower * | findTower (int ieta, int iphi) const |
PhysicsTowerOrganizer (const edm::Handle< HBHERecHitCollection > &hbhehitcoll_h, const edm::Handle< EcalRecHitCollection > &ebhitcoll_h, const edm::Handle< EcalRecHitCollection > &eehitcoll_h, const edm::Handle< std::vector< reco::TrackExtrapolation > > &trackextrapcoll_h, const ObjectValidatorAbs &objectvalidator, const CaloTowerConstituentsMap &ctcm, const CaloGeometry &geo) | |
virtual | ~PhysicsTowerOrganizer () |
Private Member Functions | |
PhysicsTower * | findTower (const CaloTowerDetId &id) |
PhysicsTower * | findTower (int ieta, int iphi) |
void | insert_ (CaloTowerDetId &id, const HBHERecHit *hit) |
void | insert_ (CaloTowerDetId &id, const EcalRecHit *hit) |
void | insert_ (CaloTowerDetId &id, const reco::Track *hit) |
Private Attributes | |
std::set< PhysicsTower, towercmp > | towers_ |
Definition at line 171 of file HBHEIsolatedNoiseAlgos.h.
PhysicsTowerOrganizer::PhysicsTowerOrganizer | ( | const edm::Handle< HBHERecHitCollection > & | hbhehitcoll_h, |
const edm::Handle< EcalRecHitCollection > & | ebhitcoll_h, | ||
const edm::Handle< EcalRecHitCollection > & | eehitcoll_h, | ||
const edm::Handle< std::vector< reco::TrackExtrapolation > > & | trackextrapcoll_h, | ||
const ObjectValidatorAbs & | objectvalidator, | ||
const CaloTowerConstituentsMap & | ctcm, | ||
const CaloGeometry & | geo | ||
) |
Definition at line 150 of file HBHEIsolatedNoiseAlgos.cc.
References edm::SortedCollection< T, SORT >::begin(), DetId::Ecal, EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), CaloSubdetectorGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), hit::id, insert_(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, point, reco::TrackExtrapolation::positions(), CaloTowerConstituentsMap::towerOf(), reco::TrackExtrapolation::track(), HLT_2024v11_cff::track, ObjectValidatorAbs::validHit(), and ObjectValidatorAbs::validTrack().
|
inlinevirtual |
Definition at line 185 of file HBHEIsolatedNoiseAlgos.h.
void PhysicsTowerOrganizer::findNeighbors | ( | const CaloTowerDetId & | id, |
std::set< const PhysicsTower *> & | neighbors | ||
) | const |
Definition at line 275 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), l1ctLayer2EG_cff::id, hcalRecHitTable_cff::ieta, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), CaloTowerDetId::ietaAbs(), hcalRecHitTable_cff::iphi, CaloTowerDetId::iphi(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, CaloTowerDetId::zside(), and ecaldqm::zside().
Referenced by findNeighbors(), HBHEHitMapOrganizer::getHPDNeighbors(), and HBHEHitMapOrganizer::HBHEHitMapOrganizer().
void PhysicsTowerOrganizer::findNeighbors | ( | const PhysicsTower * | twr, |
std::set< const PhysicsTower *> & | neighbors | ||
) | const |
Definition at line 405 of file HBHEIsolatedNoiseAlgos.cc.
References findNeighbors(), and PhysicsTower::id.
void PhysicsTowerOrganizer::findNeighbors | ( | int | ieta, |
int | iphi, | ||
std::set< const PhysicsTower *> & | neighbors | ||
) | const |
Definition at line 410 of file HBHEIsolatedNoiseAlgos.cc.
References findNeighbors(), hcalRecHitTable_cff::ieta, and hcalRecHitTable_cff::iphi.
|
inline |
Definition at line 247 of file HBHEIsolatedNoiseAlgos.cc.
References l1ctLayer2EG_cff::id, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), hcalRecHitTable_cff::iphi, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, towers_, and ecaldqm::zside().
Referenced by findNeighbors(), findTower(), HBHEHitMapOrganizer::getHPDNeighbors(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), and insert_().
|
inline |
Definition at line 265 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), hcalRecHitTable_cff::ieta, and hcalRecHitTable_cff::iphi.
|
private |
Definition at line 226 of file HBHEIsolatedNoiseAlgos.cc.
References l1ctLayer2EG_cff::id, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), hcalRecHitTable_cff::iphi, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, towers_, and ecaldqm::zside().
|
private |
Definition at line 270 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), hcalRecHitTable_cff::ieta, and hcalRecHitTable_cff::iphi.
|
private |
Definition at line 415 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), PhysicsTower::hcalhits, l1ctLayer2EG_cff::id, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), hcalRecHitTable_cff::iphi, towers_, and ecaldqm::zside().
Referenced by PhysicsTowerOrganizer().
|
private |
Definition at line 431 of file HBHEIsolatedNoiseAlgos.cc.
References PhysicsTower::ecalhits, findTower(), l1ctLayer2EG_cff::id, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), hcalRecHitTable_cff::iphi, towers_, and ecaldqm::zside().
|
private |
Definition at line 447 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), l1ctLayer2EG_cff::id, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), hcalRecHitTable_cff::iphi, towers_, HLT_2024v11_cff::track, PhysicsTower::tracks, and ecaldqm::zside().
|
private |
Definition at line 206 of file HBHEIsolatedNoiseAlgos.h.
Referenced by findTower(), and insert_().