#include <EcalClusterLazyTools.h>
Public Member Functions | |
std::vector< float > | covariances (const reco::BasicCluster &cluster, float w0=4.7) |
float | e1x3 (const reco::BasicCluster &cluster) |
float | e1x5 (const reco::BasicCluster &cluster) |
float | e2nd (const reco::BasicCluster &cluster) |
float | e2x2 (const reco::BasicCluster &cluster) |
float | e2x5Bottom (const reco::BasicCluster &cluster) |
float | e2x5Left (const reco::BasicCluster &cluster) |
float | e2x5Max (const reco::BasicCluster &cluster) |
float | e2x5Right (const reco::BasicCluster &cluster) |
float | e2x5Top (const reco::BasicCluster &cluster) |
float | e3x1 (const reco::BasicCluster &cluster) |
float | e3x2 (const reco::BasicCluster &cluster) |
float | e3x3 (const reco::BasicCluster &cluster) |
float | e4x4 (const reco::BasicCluster &cluster) |
float | e5x5 (const reco::BasicCluster &cluster) |
float | eBottom (const reco::BasicCluster &cluster) |
EcalClusterLazyTools (const edm::Event &ev, const edm::EventSetup &es, edm::InputTag redEBRecHits, edm::InputTag redEERecHits) | |
float | eLeft (const reco::BasicCluster &cluster) |
float | eMax (const reco::BasicCluster &cluster) |
std::vector< float > | energyBasketFractionEta (const reco::BasicCluster &cluster) |
std::vector< float > | energyBasketFractionPhi (const reco::BasicCluster &cluster) |
float | eRight (const reco::BasicCluster &cluster) |
float | eTop (const reco::BasicCluster &cluster) |
std::pair< DetId, float > | getMaximum (const reco::BasicCluster &cluster) |
std::vector< float > | lat (const reco::BasicCluster &cluster, bool logW=true, float w0=4.7) |
std::vector< float > | localCovariances (const reco::BasicCluster &cluster, float w0=4.7) |
std::vector< DetId > | matrixDetId (DetId id, int ixMin, int ixMax, int iyMin, int iyMax) |
float | matrixEnergy (const reco::BasicCluster &cluster, DetId id, int ixMin, int ixMax, int iyMin, int iyMax) |
std::vector< float > | scLocalCovariances (const reco::SuperCluster &cluster, float w0=4.7) |
double | zernike20 (const reco::BasicCluster &cluster, double R0=6.6, bool logW=true, float w0=4.7) |
double | zernike42 (const reco::BasicCluster &cluster, double R0=6.6, bool logW=true, float w0=4.7) |
~EcalClusterLazyTools () | |
Private Member Functions | |
void | getEBRecHits (const edm::Event &ev, edm::InputTag redEBRecHits) |
const EcalRecHitCollection * | getEcalRecHitCollection (const reco::BasicCluster &cluster) |
void | getEERecHits (const edm::Event &ev, edm::InputTag redEERecHits) |
void | getGeometry (const edm::EventSetup &es) |
void | getTopology (const edm::EventSetup &es) |
Private Attributes | |
const EcalRecHitCollection * | ebRecHits_ |
const EcalRecHitCollection * | eeRecHits_ |
const CaloGeometry * | geometry_ |
const CaloTopology * | topology_ |
various cluster tools (e.g. cluster shapes)
Definition at line 23 of file EcalClusterLazyTools.h.
EcalClusterLazyTools::EcalClusterLazyTools | ( | const edm::Event & | ev, |
const edm::EventSetup & | es, | ||
edm::InputTag | redEBRecHits, | ||
edm::InputTag | redEERecHits | ||
) |
Definition at line 14 of file EcalClusterLazyTools.cc.
References getEBRecHits(), getEERecHits(), getGeometry(), and getTopology().
EcalClusterLazyTools::~EcalClusterLazyTools | ( | ) |
Definition at line 24 of file EcalClusterLazyTools.cc.
std::vector< float > EcalClusterLazyTools::covariances | ( | const reco::BasicCluster & | cluster, |
float | w0 = 4.7 |
||
) |
Definition at line 229 of file EcalClusterLazyTools.cc.
References EcalClusterTools::covariances(), geometry_, getEcalRecHitCollection(), and topology_.
Referenced by ElectronLikelihood::getInputVar(), SoftElectronProducer::produce(), and EgammaHLTClusterShapeProducer::produce().
float EcalClusterLazyTools::e1x3 | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 85 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e1x3(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::e1x5 | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 97 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e1x5(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::e2nd | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 199 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e2nd(), and getEcalRecHitCollection().
float EcalClusterLazyTools::e2x2 | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 109 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e2x2(), getEcalRecHitCollection(), and topology_.
Referenced by SoftElectronProducer::produce().
float EcalClusterLazyTools::e2x5Bottom | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 157 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e2x5Bottom(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::e2x5Left | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 145 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e2x5Left(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::e2x5Max | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 163 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e2x5Max(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::e2x5Right | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 139 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e2x5Right(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::e2x5Top | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 151 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e2x5Top(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::e3x1 | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 91 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e3x1(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::e3x2 | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 115 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e3x2(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::e3x3 | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 121 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e3x3(), getEcalRecHitCollection(), and topology_.
Referenced by EgammaSuperClusters::analyze(), SoftElectronProducer::produce(), EgammaHLTR9Producer::produce(), EgammaHLTR9IDProducer::produce(), PTDRElectronID::result(), and FourVectorHLTOffline::selectElectrons().
float EcalClusterLazyTools::e4x4 | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 127 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e4x4(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::e5x5 | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 133 of file EcalClusterLazyTools.cc.
References EcalClusterTools::e5x5(), getEcalRecHitCollection(), and topology_.
Referenced by EgammaSuperClusters::analyze(), SoftElectronProducer::produce(), and PTDRElectronID::result().
float EcalClusterLazyTools::eBottom | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 187 of file EcalClusterLazyTools.cc.
References EcalClusterTools::eBottom(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::eLeft | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 169 of file EcalClusterLazyTools.cc.
References EcalClusterTools::eLeft(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::eMax | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 193 of file EcalClusterLazyTools.cc.
References EcalClusterTools::eMax(), and getEcalRecHitCollection().
Referenced by EgammaSuperClusters::analyze(), SoftElectronProducer::produce(), EgammaHLTR9Producer::produce(), and FourVectorHLTOffline::selectElectrons().
std::vector< float > EcalClusterLazyTools::energyBasketFractionEta | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 211 of file EcalClusterLazyTools.cc.
References EcalClusterTools::energyBasketFractionEta(), and getEcalRecHitCollection().
std::vector< float > EcalClusterLazyTools::energyBasketFractionPhi | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 217 of file EcalClusterLazyTools.cc.
References EcalClusterTools::energyBasketFractionPhi(), and getEcalRecHitCollection().
float EcalClusterLazyTools::eRight | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 175 of file EcalClusterLazyTools.cc.
References EcalClusterTools::eRight(), getEcalRecHitCollection(), and topology_.
float EcalClusterLazyTools::eTop | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 181 of file EcalClusterLazyTools.cc.
References EcalClusterTools::eTop(), getEcalRecHitCollection(), and topology_.
|
private |
Definition at line 48 of file EcalClusterLazyTools.cc.
References ebRecHits_, edm::Event::getByLabel(), and edm::Handle< T >::product().
Referenced by EcalClusterLazyTools().
|
private |
Definition at line 66 of file EcalClusterLazyTools.cc.
References ebRecHits_, EcalBarrel, EcalEndcap, eeRecHits_, edm::hlt::Exception, and first.
Referenced by covariances(), e1x3(), e1x5(), e2nd(), e2x2(), e2x5Bottom(), e2x5Left(), e2x5Max(), e2x5Right(), e2x5Top(), e3x1(), e3x2(), e3x3(), e4x4(), e5x5(), eBottom(), eLeft(), eMax(), energyBasketFractionEta(), energyBasketFractionPhi(), eRight(), eTop(), getMaximum(), lat(), localCovariances(), matrixEnergy(), scLocalCovariances(), zernike20(), and zernike42().
|
private |
Definition at line 57 of file EcalClusterLazyTools.cc.
References eeRecHits_, edm::Event::getByLabel(), and edm::Handle< T >::product().
Referenced by EcalClusterLazyTools().
|
private |
Definition at line 30 of file EcalClusterLazyTools.cc.
References geometry_, edm::EventSetup::get(), and edm::ESHandle< class >::product().
Referenced by EcalClusterLazyTools().
std::pair< DetId, float > EcalClusterLazyTools::getMaximum | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 205 of file EcalClusterLazyTools.cc.
References getEcalRecHitCollection(), and EcalClusterTools::getMaximum().
Referenced by QcdPhotonsDQM::analyze(), EcalDigiSelector::produce(), EgammaHLTR9Producer::produce(), and HiSpikeCleaner::produce().
|
private |
Definition at line 39 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), edm::ESHandle< class >::product(), and topology_.
Referenced by EcalClusterLazyTools().
std::vector< float > EcalClusterLazyTools::lat | ( | const reco::BasicCluster & | cluster, |
bool | logW = true , |
||
float | w0 = 4.7 |
||
) |
Definition at line 223 of file EcalClusterLazyTools.cc.
References geometry_, getEcalRecHitCollection(), and EcalClusterTools::lat().
std::vector< float > EcalClusterLazyTools::localCovariances | ( | const reco::BasicCluster & | cluster, |
float | w0 = 4.7 |
||
) |
Definition at line 234 of file EcalClusterLazyTools.cc.
References getEcalRecHitCollection(), EcalClusterTools::localCovariances(), and topology_.
Referenced by HLTEgamma::MakeL1IsolatedElectrons(), HLTEgamma::MakeL1IsolatedPhotons(), HLTEgamma::MakeL1NonIsolatedElectrons(), HLTEgamma::MakeL1NonIsolatedPhotons(), EgammaHLTClusterShapeProducer::produce(), and PTDRElectronID::result().
std::vector< DetId > EcalClusterLazyTools::matrixDetId | ( | DetId | id, |
int | ixMin, | ||
int | ixMax, | ||
int | iyMin, | ||
int | iyMax | ||
) |
Definition at line 255 of file EcalClusterLazyTools.cc.
References EcalClusterTools::matrixDetId(), and topology_.
Referenced by EcalDigiSelector::produce().
float EcalClusterLazyTools::matrixEnergy | ( | const reco::BasicCluster & | cluster, |
DetId | id, | ||
int | ixMin, | ||
int | ixMax, | ||
int | iyMin, | ||
int | iyMax | ||
) |
Definition at line 260 of file EcalClusterLazyTools.cc.
References getEcalRecHitCollection(), EcalClusterTools::matrixEnergy(), and topology_.
std::vector< float > EcalClusterLazyTools::scLocalCovariances | ( | const reco::SuperCluster & | cluster, |
float | w0 = 4.7 |
||
) |
Definition at line 239 of file EcalClusterLazyTools.cc.
References getEcalRecHitCollection(), EcalClusterTools::scLocalCovariances(), and topology_.
double EcalClusterLazyTools::zernike20 | ( | const reco::BasicCluster & | cluster, |
double | R0 = 6.6 , |
||
bool | logW = true , |
||
float | w0 = 4.7 |
||
) |
Definition at line 244 of file EcalClusterLazyTools.cc.
References geometry_, getEcalRecHitCollection(), and EcalClusterTools::zernike20().
double EcalClusterLazyTools::zernike42 | ( | const reco::BasicCluster & | cluster, |
double | R0 = 6.6 , |
||
bool | logW = true , |
||
float | w0 = 4.7 |
||
) |
Definition at line 250 of file EcalClusterLazyTools.cc.
References geometry_, getEcalRecHitCollection(), and EcalClusterTools::zernike42().
|
private |
Definition at line 104 of file EcalClusterLazyTools.h.
Referenced by getEBRecHits(), and getEcalRecHitCollection().
|
private |
Definition at line 105 of file EcalClusterLazyTools.h.
Referenced by getEcalRecHitCollection(), and getEERecHits().
|
private |
Definition at line 102 of file EcalClusterLazyTools.h.
Referenced by covariances(), getGeometry(), lat(), zernike20(), and zernike42().
|
private |
Definition at line 103 of file EcalClusterLazyTools.h.
Referenced by covariances(), e1x3(), e1x5(), e2x2(), e2x5Bottom(), e2x5Left(), e2x5Max(), e2x5Right(), e2x5Top(), e3x1(), e3x2(), e3x3(), e4x4(), e5x5(), eBottom(), eLeft(), eRight(), eTop(), getTopology(), localCovariances(), matrixDetId(), matrixEnergy(), and scLocalCovariances().