#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_(), point, reco::TrackExtrapolation::positions(), CaloTowerConstituentsMap::towerOf(), reco::TrackExtrapolation::track(), HLT_2023v12_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, LEDCalibrationChannels::ieta, CaloTowerDetId::ietaAbs(), CaloTowerDetId::iphi(), LEDCalibrationChannels::iphi, 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(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
|
inline |
Definition at line 247 of file HBHEIsolatedNoiseAlgos.cc.
References l1ctLayer2EG_cff::id, LEDCalibrationChannels::iphi, 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(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
|
private |
Definition at line 226 of file HBHEIsolatedNoiseAlgos.cc.
References l1ctLayer2EG_cff::id, LEDCalibrationChannels::iphi, towers_, and ecaldqm::zside().
|
private |
Definition at line 270 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
|
private |
Definition at line 415 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), PhysicsTower::hcalhits, l1ctLayer2EG_cff::id, LEDCalibrationChannels::iphi, towers_, and ecaldqm::zside().
Referenced by PhysicsTowerOrganizer().
|
private |
Definition at line 431 of file HBHEIsolatedNoiseAlgos.cc.
References PhysicsTower::ecalhits, findTower(), l1ctLayer2EG_cff::id, LEDCalibrationChannels::iphi, towers_, and ecaldqm::zside().
|
private |
Definition at line 447 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), l1ctLayer2EG_cff::id, LEDCalibrationChannels::iphi, towers_, HLT_2023v12_cff::track, PhysicsTower::tracks, and ecaldqm::zside().
|
private |
Definition at line 206 of file HBHEIsolatedNoiseAlgos.h.
Referenced by findTower(), and insert_().