#include <EgammaTowerIsolation.h>
Public Types | |
enum | HcalDepth { AllDepths =-1, Undefined =0, Depth1 =1, Depth2 =2 } |
Public Member Functions | |
EgammaTowerIsolation (double extRadius, double intRadius, double etLow, signed int depth, const CaloTowerCollection *) | |
int | getNumberTracks (const reco::Candidate *) const |
double | getTowerESum (const reco::Candidate *, const std::vector< CaloTowerDetId > *detIdToExclude=0) const |
double | getTowerESum (const reco::SuperCluster *, const std::vector< CaloTowerDetId > *detIdToExclude=0) const |
double | getTowerEtSum (const reco::Candidate *, const std::vector< CaloTowerDetId > *detIdToExclude=0) const |
double | getTowerEtSum (const reco::SuperCluster *, const std::vector< CaloTowerDetId > *detIdToExclude=0) const |
~EgammaTowerIsolation () | |
Private Attributes | |
signed int | depth_ |
double | etLow_ |
double | extRadius_ |
double | intRadius_ |
const CaloTowerCollection * | towercollection_ |
Definition at line 26 of file EgammaTowerIsolation.h.
EgammaTowerIsolation::EgammaTowerIsolation | ( | double | extRadius, |
double | intRadius, | ||
double | etLow, | ||
signed int | depth, | ||
const CaloTowerCollection * | towercollection | ||
) |
Definition at line 27 of file EgammaTowerIsolation.cc.
EgammaTowerIsolation::~EgammaTowerIsolation | ( | ) |
Definition at line 40 of file EgammaTowerIsolation.cc.
int EgammaTowerIsolation::getNumberTracks | ( | const reco::Candidate * | ) | const |
double EgammaTowerIsolation::getTowerESum | ( | const reco::Candidate * | photon, |
const std::vector< CaloTowerDetId > * | detIdToExclude = 0 |
||
) | const |
Definition at line 102 of file EgammaTowerIsolation.cc.
References reco::Candidate::get(), and edm::Ref< C, T, F >::get().
Referenced by ConvertedPhotonProducer::buildCollections(), ConversionTrackCandidateProducer::buildCollections(), PhotonProducer::fillPhotonCollection(), ElectronHcalHelper::hcalESumDepth1(), and ElectronHcalHelper::hcalESumDepth2().
double EgammaTowerIsolation::getTowerESum | ( | const reco::SuperCluster * | sc, |
const std::vector< CaloTowerDetId > * | detIdToExclude = 0 |
||
) | const |
Definition at line 107 of file EgammaTowerIsolation.cc.
References AllDepths, edm::SortedCollection< T, SORT >::begin(), HLTFastRecoForTau_cff::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, Depth1, Depth2, depth_, edm::SortedCollection< T, SORT >::end(), reco::CaloCluster::eta(), etLow_, edm::hlt::Exception, extRadius_, spr::find(), intRadius_, M_PI, reco::CaloCluster::phi(), funct::sin(), towercollection_, and Geom::twoPi().
double EgammaTowerIsolation::getTowerEtSum | ( | const reco::Candidate * | photon, |
const std::vector< CaloTowerDetId > * | detIdToExclude = 0 |
||
) | const |
Definition at line 47 of file EgammaTowerIsolation.cc.
References reco::Candidate::get(), and edm::Ref< C, T, F >::get().
Referenced by PhotonIsolationCalculator::calculateHcalTowerIso(), GsfElectronAlgo::createElectron(), and EgammaHLTBcHcalIsolationProducersRegional::produce().
double EgammaTowerIsolation::getTowerEtSum | ( | const reco::SuperCluster * | sc, |
const std::vector< CaloTowerDetId > * | detIdToExclude = 0 |
||
) | const |
Definition at line 52 of file EgammaTowerIsolation.cc.
References AllDepths, edm::SortedCollection< T, SORT >::begin(), HLTFastRecoForTau_cff::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, Depth1, Depth2, depth_, edm::SortedCollection< T, SORT >::end(), reco::CaloCluster::eta(), etLow_, edm::hlt::Exception, extRadius_, spr::find(), intRadius_, M_PI, reco::CaloCluster::phi(), funct::sin(), towercollection_, and Geom::twoPi().
|
private |
Definition at line 53 of file EgammaTowerIsolation.h.
Referenced by getTowerESum(), and getTowerEtSum().
|
private |
Definition at line 52 of file EgammaTowerIsolation.h.
Referenced by getTowerESum(), and getTowerEtSum().
|
private |
Definition at line 50 of file EgammaTowerIsolation.h.
Referenced by getTowerESum(), and getTowerEtSum().
|
private |
Definition at line 51 of file EgammaTowerIsolation.h.
Referenced by getTowerESum(), and getTowerEtSum().
|
private |
Definition at line 55 of file EgammaTowerIsolation.h.
Referenced by getTowerESum(), and getTowerEtSum().