#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 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 165 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 130 of file HBHEIsolatedNoiseAlgos.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, edm::EventSetup::get(), CaloSubdetectorGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), HBHERecHit::id(), EcalRecHit::id(), insert_(), point, reco::TrackExtrapolation::positions(), edm::ESHandle< class >::product(), CaloTowerConstituentsMap::towerOf(), reco::TrackExtrapolation::track(), ObjectValidatorAbs::validHit(), and ObjectValidatorAbs::validTrack().
|
inlinevirtual |
Definition at line 182 of file HBHEIsolatedNoiseAlgos.h.
void PhysicsTowerOrganizer::findNeighbors | ( | const CaloTowerDetId & | id, |
std::set< const PhysicsTower * > & | neighbors | ||
) | const |
Definition at line 252 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), CaloTowerDetId::ietaAbs(), CaloTowerDetId::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 350 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 356 of file HBHEIsolatedNoiseAlgos.cc.
References findNeighbors().
|
inline |
Definition at line 224 of file HBHEIsolatedNoiseAlgos.cc.
References PhysicsTower::id, towers_, and ecaldqm::zside().
Referenced by findNeighbors(), findTower(), HBHEHitMapOrganizer::getHPDNeighbors(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), and insert_().
|
inline |
Definition at line 240 of file HBHEIsolatedNoiseAlgos.cc.
References findTower().
|
private |
Definition at line 205 of file HBHEIsolatedNoiseAlgos.cc.
References PhysicsTower::id, towers_, and ecaldqm::zside().
|
private |
Definition at line 246 of file HBHEIsolatedNoiseAlgos.cc.
References findTower().
|
private |
Definition at line 362 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), PhysicsTower::hcalhits, PhysicsTower::id, towers_, and ecaldqm::zside().
Referenced by PhysicsTowerOrganizer().
|
private |
Definition at line 379 of file HBHEIsolatedNoiseAlgos.cc.
References PhysicsTower::ecalhits, findTower(), PhysicsTower::id, towers_, and ecaldqm::zside().
|
private |
Definition at line 396 of file HBHEIsolatedNoiseAlgos.cc.
References findTower(), PhysicsTower::id, towers_, PhysicsTower::tracks, and ecaldqm::zside().
|
private |
Definition at line 203 of file HBHEIsolatedNoiseAlgos.h.
Referenced by findTower(), and insert_().