#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 () | |
Private Attributes | |
edm::InputTag | bhRecHitInputTag_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeometry_ |
bool | debug_ |
std::vector< double > | dEdXWeights_ |
edm::InputTag | eeRecHitInputTag_ |
edm::InputTag | fhRecHitInputTag_ |
edm::EDGetTokenT< std::unordered_map< DetId, const unsigned int > > | hitMap_ |
edm::InputTag | hitMapInputTag_ |
HGCalIsoCalculator | isoHelper_ |
hgcal::EGammaPCAHelper | pcaHelper_ |
edm::EDGetTokenT< HGCRecHitCollection > | recHitsBH_ |
edm::EDGetTokenT< HGCRecHitCollection > | recHitsEE_ |
edm::EDGetTokenT< HGCRecHitCollection > | recHitsFH_ |
hgcal::RecHitTools | recHitTools_ |
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_, caloGeometry_, debug_, dEdXWeights_, eeRecHitInputTag_, fhRecHitInputTag_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hitMap_, hitMapInputTag_, isoHelper_, pcaHelper_, recHitsBH_, recHitsEE_, recHitsFH_, hgcal::EGammaPCAHelper::setdEdXWeights(), HGCalIsoCalculator::setDeltaR(), HGCalIsoCalculator::setMinDeltaR(), and HGCalIsoCalculator::setNRings().
|
inline |
Definition at line 35 of file HGCalEgammaIDHelper.h.
|
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(), CosmicsPD_Skims::radius, hgcal::EGammaPCAHelper::storeRecHits(), and reco::Photon::superCluster().
void HGCalEgammaIDHelper::computeHGCAL | ( | const reco::GsfElectron & | theElectron, |
float | radius | ||
) |
Definition at line 63 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(), CosmicsPD_Skims::radius, 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(), pcaHelper_, and CosmicsPD_Skims::radius.
void HGCalEgammaIDHelper::eventInit | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 24 of file HGCalEgammaIDHelper.cc.
References caloGeometry_, edm::EventSetup::getData(), hitMap_, iEvent, isoHelper_, pcaHelper_, recHitsBH_, recHitsEE_, recHitsFH_, recHitTools_, hgcal::RecHitTools::setGeometry(), hgcal::EGammaPCAHelper::setHitMap(), hgcal::EGammaPCAHelper::setRecHits(), HGCalIsoCalculator::setRecHits(), hgcal::EGammaPCAHelper::setRecHitTools(), and HGCalIsoCalculator::setRecHitTools().
|
inline |
Definition at line 65 of file HGCalEgammaIDHelper.h.
References HGCalIsoCalculator::getIso(), isoHelper_, and relativeConstraints::ring.
|
inline |
Definition at line 69 of file HGCalEgammaIDHelper.h.
References pcaHelper_.
|
inline |
Definition at line 68 of file HGCalEgammaIDHelper.h.
References pcaHelper_, hgcal::EGammaPCAHelper::printHits(), and CosmicsPD_Skims::radius.
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 84 of file HGCalEgammaIDHelper.h.
Referenced by eventInit(), and HGCalEgammaIDHelper().
|
private |
Definition at line 86 of file HGCalEgammaIDHelper.h.
Referenced by computeHGCAL(), and HGCalEgammaIDHelper().
|
private |
Definition at line 77 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 83 of file HGCalEgammaIDHelper.h.
Referenced by eventInit(), and HGCalEgammaIDHelper().
|
private |
Definition at line 75 of file HGCalEgammaIDHelper.h.
Referenced by HGCalEgammaIDHelper().
|
private |
Definition at line 79 of file HGCalEgammaIDHelper.h.
Referenced by computeHGCAL(), eventInit(), getIsolationRing(), and HGCalEgammaIDHelper().
|
private |
Definition at line 78 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 82 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 81 of file HGCalEgammaIDHelper.h.
Referenced by eventInit(), and HGCalEgammaIDHelper().
|
private |
Definition at line 85 of file HGCalEgammaIDHelper.h.
Referenced by eventInit().