#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 167 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 136 of file HBHEIsolatedNoiseAlgos.cc.
References edm::SortedCollection< T, SORT >::begin(), DetId::Ecal, EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), CaloSubdetectorGeometry::getClosestCell(), CaloGeometry::getSubdetectorGeometry(), HBHERecHit::id(), EcalRecHit::id(), point, reco::TrackExtrapolation::positions(), edm::ESHandle< T >::product(), CaloTowerConstituentsMap::towerOf(), HiIsolationCommonParameters_cff::track, reco::TrackExtrapolation::track(), ObjectValidatorAbs::validHit(), and ObjectValidatorAbs::validTrack().
|
inlinevirtual |
Definition at line 184 of file HBHEIsolatedNoiseAlgos.h.
void PhysicsTowerOrganizer::findNeighbors | ( | const CaloTowerDetId & | id, |
std::set< const PhysicsTower * > & | neighbors | ||
) | const |
Definition at line 258 of file HBHEIsolatedNoiseAlgos.cc.
References hcalTTPDigis_cfi::id, CaloTowerDetId::ietaAbs(), CaloTowerDetId::iphi(), HcalDigiParam_cfi::zside, and CaloTowerDetId::zside().
Referenced by HBHEHitMapOrganizer::getHPDNeighbors(), and HBHEHitMapOrganizer::HBHEHitMapOrganizer().
void PhysicsTowerOrganizer::findNeighbors | ( | const PhysicsTower * | twr, |
std::set< const PhysicsTower * > & | neighbors | ||
) | const |
Definition at line 356 of file HBHEIsolatedNoiseAlgos.cc.
References PhysicsTower::id.
void PhysicsTowerOrganizer::findNeighbors | ( | int | ieta, |
int | iphi, | ||
std::set< const PhysicsTower * > & | neighbors | ||
) | const |
Definition at line 362 of file HBHEIsolatedNoiseAlgos.cc.
|
inline |
Definition at line 230 of file HBHEIsolatedNoiseAlgos.cc.
References hcalTTPDigis_cfi::id, PhysicsTower::id, and HcalDigiParam_cfi::zside.
Referenced by HBHEHitMapOrganizer::getHPDNeighbors(), and HBHEHitMapOrganizer::HBHEHitMapOrganizer().
|
inline |
Definition at line 246 of file HBHEIsolatedNoiseAlgos.cc.
|
private |
Definition at line 211 of file HBHEIsolatedNoiseAlgos.cc.
References hcalTTPDigis_cfi::id, PhysicsTower::id, and HcalDigiParam_cfi::zside.
|
private |
Definition at line 252 of file HBHEIsolatedNoiseAlgos.cc.
|
private |
Definition at line 368 of file HBHEIsolatedNoiseAlgos.cc.
References PhysicsTower::hcalhits, hcalTTPDigis_cfi::id, PhysicsTower::id, and HcalDigiParam_cfi::zside.
|
private |
Definition at line 385 of file HBHEIsolatedNoiseAlgos.cc.
References PhysicsTower::ecalhits, hcalTTPDigis_cfi::id, PhysicsTower::id, and HcalDigiParam_cfi::zside.
|
private |
Definition at line 402 of file HBHEIsolatedNoiseAlgos.cc.
References hcalTTPDigis_cfi::id, PhysicsTower::id, PhysicsTower::tracks, and HcalDigiParam_cfi::zside.
|
private |
Definition at line 205 of file HBHEIsolatedNoiseAlgos.h.