#include <HGCalEgammaIDHelper.h>
Public Member Functions | |
const math::XYZVector & | axis () const |
const math::XYZPoint & | barycenter () const |
float | clusterDepthCompatibility (const hgcal::LongDeps &ld, float &measDepth, float &expDepth, float &expSigma) |
void | computeHGCAL (const reco::Photon &thePhoton, float radius) |
void | computeHGCAL (const reco::GsfElectron &theElectron, float radius) |
const TVectorD & | eigenValues () const |
hgcal::LongDeps | energyPerLayer (float radius, bool withHalo=true) |
void | eventInit (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
float | getIsolationRing (unsigned int ring) const |
HGCalEgammaIDHelper () | |
HGCalEgammaIDHelper (const edm::ParameterSet &, edm::ConsumesCollector &&iC) | |
const hgcal::EGammaPCAHelper * | pcaHelper () const |
void | printHits (float radius) const |
double | sigmaEE () const |
double | sigmaPP () const |
const TVectorD & | sigmas () const |
double | sigmaUU () const |
double | sigmaVV () const |
~HGCalEgammaIDHelper () | |
Definition at line 31 of file HGCalEgammaIDHelper.h.
|
inline |
Definition at line 33 of file HGCalEgammaIDHelper.h.
HGCalEgammaIDHelper::HGCalEgammaIDHelper | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 5 of file HGCalEgammaIDHelper.cc.
References bhRecHitInputTag_, debug_, dEdXWeights_, eeRecHitInputTag_, fhRecHitInputTag_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isoHelper_, pcaHelper_, recHitsBH_, recHitsEE_, recHitsFH_, hgcal::EGammaPCAHelper::setdEdXWeights(), HGCalIsoCalculator::setDeltaR(), HGCalIsoCalculator::setMinDeltaR(), and HGCalIsoCalculator::setNRings().
|
inline |
Definition at line 35 of file HGCalEgammaIDHelper.h.
References computeHGCAL(), eventInit(), iEvent, and TCMET_cfi::radius.
|
inline |
Definition at line 52 of file HGCalEgammaIDHelper.h.
References hgcal::EGammaPCAHelper::axis(), and pcaHelper_.
|
inline |
Definition at line 51 of file HGCalEgammaIDHelper.h.
References hgcal::EGammaPCAHelper::barycenter(), and pcaHelper_.
|
inline |
Definition at line 60 of file HGCalEgammaIDHelper.h.
References hgcal::EGammaPCAHelper::clusterDepthCompatibility(), and pcaHelper_.
void HGCalEgammaIDHelper::computeHGCAL | ( | const reco::Photon & | thePhoton, |
float | radius | ||
) |
Definition at line 37 of file HGCalEgammaIDHelper.cc.
References hgcal::EGammaPCAHelper::clear(), hgcal::EGammaPCAHelper::computePCA(), hgcal::EGammaPCAHelper::computeShowerWidth(), gather_cfg::cout, debug_, reco::Photon::isEB(), isoHelper_, pcaHelper_, hgcal::EGammaPCAHelper::pcaInitialComputation(), HGCalIsoCalculator::produceHGCalIso(), hgcal::EGammaPCAHelper::storeRecHits(), and reco::Photon::superCluster().
Referenced by ~HGCalEgammaIDHelper().
void HGCalEgammaIDHelper::computeHGCAL | ( | const reco::GsfElectron & | theElectron, |
float | radius | ||
) |
Definition at line 62 of file HGCalEgammaIDHelper.cc.
References hgcal::EGammaPCAHelper::clear(), hgcal::EGammaPCAHelper::computePCA(), hgcal::EGammaPCAHelper::computeShowerWidth(), gather_cfg::cout, debug_, reco::GsfElectron::electronCluster(), reco::GsfElectron::isEB(), isoHelper_, pcaHelper_, hgcal::EGammaPCAHelper::pcaInitialComputation(), HGCalIsoCalculator::produceHGCalIso(), and hgcal::EGammaPCAHelper::storeRecHits().
|
inline |
Definition at line 49 of file HGCalEgammaIDHelper.h.
References hgcal::EGammaPCAHelper::eigenValues(), and pcaHelper_.
|
inline |
Definition at line 55 of file HGCalEgammaIDHelper.h.
References hgcal::EGammaPCAHelper::energyPerLayer(), and pcaHelper_.
void HGCalEgammaIDHelper::eventInit | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 22 of file HGCalEgammaIDHelper.cc.
References hgcal::EGammaPCAHelper::fillHitMap(), edm::Event::getByToken(), hgcal::RecHitTools::getEventSetup(), isoHelper_, pcaHelper_, recHitsBH_, recHitsEE_, recHitsFH_, recHitTools_, HGCalIsoCalculator::setRecHits(), HGCalIsoCalculator::setRecHitTools(), and hgcal::EGammaPCAHelper::setRecHitTools().
Referenced by ~HGCalEgammaIDHelper().
|
inline |
Definition at line 64 of file HGCalEgammaIDHelper.h.
References HGCalIsoCalculator::getIso(), and isoHelper_.
|
inline |
Definition at line 69 of file HGCalEgammaIDHelper.h.
References pcaHelper_.
|
inline |
Definition at line 68 of file HGCalEgammaIDHelper.h.
References pcaHelper_, and hgcal::EGammaPCAHelper::printHits().
Referenced by ntuplePrintersDiff.TrackingParticlePrinter::__call__(), ntuplePrintersDiff.SeedPrinter::diff(), ntuplePrintersDiff.TrackPrinter::diff(), ntuplePrintersDiff.TrackingParticlePrinter::diff(), ntuplePrintersDiff.SeedPrinter::printSeed(), and ntuplePrintersDiff.TrackPrinter::printTrack().
|
inline |
Definition at line 47 of file HGCalEgammaIDHelper.h.
References pcaHelper_, and hgcal::EGammaPCAHelper::sigmaEE().
|
inline |
Definition at line 48 of file HGCalEgammaIDHelper.h.
References pcaHelper_, and hgcal::EGammaPCAHelper::sigmaPP().
|
inline |
Definition at line 50 of file HGCalEgammaIDHelper.h.
References pcaHelper_, and hgcal::EGammaPCAHelper::sigmas().
|
inline |
Definition at line 45 of file HGCalEgammaIDHelper.h.
References pcaHelper_, and hgcal::EGammaPCAHelper::sigmaUU().
|
inline |
Definition at line 46 of file HGCalEgammaIDHelper.h.
References pcaHelper_, and hgcal::EGammaPCAHelper::sigmaVV().
|
private |
Definition at line 74 of file HGCalEgammaIDHelper.h.
Referenced by HGCalEgammaIDHelper().
|
private |
Definition at line 83 of file HGCalEgammaIDHelper.h.
Referenced by computeHGCAL(), and HGCalEgammaIDHelper().
|
private |
Definition at line 76 of file HGCalEgammaIDHelper.h.
Referenced by HGCalEgammaIDHelper().
|
private |
Definition at line 72 of file HGCalEgammaIDHelper.h.
Referenced by HGCalEgammaIDHelper().
|
private |
Definition at line 73 of file HGCalEgammaIDHelper.h.
Referenced by HGCalEgammaIDHelper().
|
private |
Definition at line 78 of file HGCalEgammaIDHelper.h.
Referenced by computeHGCAL(), eventInit(), getIsolationRing(), and HGCalEgammaIDHelper().
|
private |
Definition at line 77 of file HGCalEgammaIDHelper.h.
Referenced by axis(), barycenter(), clusterDepthCompatibility(), computeHGCAL(), eigenValues(), energyPerLayer(), eventInit(), HGCalEgammaIDHelper(), pcaHelper(), printHits(), sigmaEE(), sigmaPP(), sigmas(), sigmaUU(), and sigmaVV().
|
private |
Definition at line 81 of file HGCalEgammaIDHelper.h.
Referenced by eventInit(), and HGCalEgammaIDHelper().
|
private |
Definition at line 79 of file HGCalEgammaIDHelper.h.
Referenced by eventInit(), and HGCalEgammaIDHelper().
|
private |
Definition at line 80 of file HGCalEgammaIDHelper.h.
Referenced by eventInit(), and HGCalEgammaIDHelper().
|
private |
Definition at line 82 of file HGCalEgammaIDHelper.h.
Referenced by eventInit().