#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::Event &iEvent, const edm::EventSetup &evSetup, 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) | |
virtual | ~PhysicsTowerOrganizer () |
Private Member Functions | |
PhysicsTower * | findTower (const CaloTowerDetId &id) |
PhysicsTower * | findTower (int ieta, int iphi) |
void | insert_ (CaloTowerDetId &id, const EcalRecHit *hit) |
void | insert_ (CaloTowerDetId &id, const HBHERecHit *hit) |
void | insert_ (CaloTowerDetId &id, const reco::Track *hit) |
Private Attributes | |
std::set< PhysicsTower, towercmp > | towers_ |
Definition at line 170 of file HBHEIsolatedNoiseAlgos.h.
PhysicsTowerOrganizer::PhysicsTowerOrganizer | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup, | ||
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 | ||
) |
Definition at line 151 of file HBHEIsolatedNoiseAlgos.cc.
References edm::SortedCollection< T, SORT >::begin(), DetId::Ecal, EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), get, CaloSubdetectorGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), hit::id, insert_(), point, reco::TrackExtrapolation::positions(), edm::ESHandle< T >::product(), CaloTowerConstituentsMap::towerOf(), reco::TrackExtrapolation::track(), HLT_2018_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 280 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), triggerObjects_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 410 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 415 of file HBHEIsolatedNoiseAlgos.cc.
References findNeighbors(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
|
private |
Definition at line 231 of file HBHEIsolatedNoiseAlgos.cc.
References triggerObjects_cff::id, LEDCalibrationChannels::iphi, towers_, and ecaldqm::zside().
|
inline |
Definition at line 252 of file HBHEIsolatedNoiseAlgos.cc.
References triggerObjects_cff::id, LEDCalibrationChannels::iphi, towers_, and ecaldqm::zside().
Referenced by findNeighbors(), findTower(), HBHEHitMapOrganizer::getHPDNeighbors(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), and insert_().
|
private |
Definition at line 275 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
|
inline |
Definition at line 270 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
|
private |
Definition at line 436 of file HBHEIsolatedNoiseAlgos.cc.
References PhysicsTower::ecalhits, findTower(), triggerObjects_cff::id, LEDCalibrationChannels::iphi, towers_, and ecaldqm::zside().
|
private |
Definition at line 420 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), PhysicsTower::hcalhits, triggerObjects_cff::id, LEDCalibrationChannels::iphi, towers_, and ecaldqm::zside().
Referenced by PhysicsTowerOrganizer().
|
private |
Definition at line 452 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), triggerObjects_cff::id, LEDCalibrationChannels::iphi, towers_, HLT_2018_cff::track, PhysicsTower::tracks, and ecaldqm::zside().
|
private |
Definition at line 206 of file HBHEIsolatedNoiseAlgos.h.
Referenced by findTower(), and insert_().