#include <PFTauElementsOperators.h>
Public Member Functions | |
void | computeInsideOutContents (const std::vector< reco::PFCandidatePtr > &theChargedCands, const std::vector< reco::PFCandidatePtr > &theGammaCands, const math::XYZVector &leadTrackVector, const TFormula &coneSizeFormula, double(*ptrToMetricFunction)(const math::XYZVector &, const math::XYZVector &), const double minChargedSize, const double maxChargedSize, const double minNeutralSize, const double maxNeutralSize, const double minChargedPt, const double minNeutralPt, const std::string &outlierCollectorConeMetric, const double outlierCollectorConeSize, std::vector< reco::PFCandidatePtr > &signalChargedObjects, std::vector< reco::PFCandidatePtr > &outlierChargedObjects, std::vector< reco::PFCandidatePtr > &signalGammaObjects, std::vector< reco::PFCandidatePtr > &outlierGammaObjects, bool useScanningAxis) |
compute size of cone using the Inside-Out cone (Author Evan Friis, UC Davis) More... | |
void | copyCandRefsFilteredByPt (const std::vector< reco::PFCandidatePtr > &theInputCands, std::vector< reco::PFCandidatePtr > &theOutputCands, const double minPt) |
append elements of theInputCands that pass Pt requirement to the end of theOutputCands More... | |
double | discriminatorByIsolPFCandsEtSum (double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFCandsEtSum (std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFCandsEtSum (const math::XYZVector &myVector, std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFCandsN (int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFCandsN (std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFCandsN (const math::XYZVector &myVector, std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFChargedHadrCandsEtSum (std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFChargedHadrCandsEtSum (double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFChargedHadrCandsEtSum (const math::XYZVector &myVector, std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFChargedHadrCandsN (int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFChargedHadrCandsN (std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFChargedHadrCandsN (const math::XYZVector &myVector, std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFGammaCandsEtSum (double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFGammaCandsEtSum (std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFGammaCandsEtSum (const math::XYZVector &myVector, std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFGammaCandsN (int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFGammaCandsN (std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFGammaCandsN (const math::XYZVector &myVector, std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFNeutrHadrCandsEtSum (double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFNeutrHadrCandsEtSum (std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFNeutrHadrCandsEtSum (const math::XYZVector &myVector, std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, double IsolPFCands_maxEtSum=0) |
double | discriminatorByIsolPFNeutrHadrCandsN (int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFNeutrHadrCandsN (std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, int IsolPFCands_maxN=0) |
double | discriminatorByIsolPFNeutrHadrCandsN (const math::XYZVector &myVector, std::string matchingcone_metric, double matchingcone_size, std::string signalcone_metric, double signalcone_size, std::string isolcone_metric, double isolcone_size, bool useOnlyChargedHadrforleadPFCand, double minPt_leadPFCand, double minPt_PFCand, int IsolPFCands_maxN=0) |
reco::PFCandidatePtr | leadPFCand (const std::string matchingcone_metric, const double matchingcone_size, const double minPt) const |
reco::PFCandidatePtr | leadPFCand (const math::XYZVector &myVector, const std::string matchingcone_metric, const double matchingcone_size, const double minPt) const |
reco::PFCandidatePtr | leadPFChargedHadrCand (const std::string matchingcone_metric, const double matchingcone_size, const double minPt) const |
reco::PFCandidatePtr | leadPFChargedHadrCand (const math::XYZVector &myVector, const std::string matchingcone_metric, const double matchingcone_size, const double minPt) const |
reco::PFCandidatePtr | leadPFGammaCand (const std::string matchingcone_metric, const double matchingcone_size, const double minPt) const |
reco::PFCandidatePtr | leadPFGammaCand (const math::XYZVector &myVector, const std::string matchingcone_metric, const double matchingcone_size, const double minPt) const |
reco::PFCandidatePtr | leadPFNeutrHadrCand (const std::string matchingcone_metric, const double matchingcone_size, const double minPt) const |
reco::PFCandidatePtr | leadPFNeutrHadrCand (const math::XYZVector &myVector, const std::string matchingcone_metric, const double matchingcone_size, const double minPt) const |
std::vector< reco::PFCandidatePtr > | PFCandsInAnnulus (const std::vector< reco::PFCandidatePtr > &PFCands, const math::XYZVector &myVector, const std::string innercone_metric, const double innercone_size, const std::string outercone_metric, const double outercone_size, const double minPt) const |
std::vector< reco::PFCandidatePtr > | PFCandsInAnnulus (const math::XYZVector &myVector, const std::string innercone_metric, const double innercone_size, const std::string outercone_metric, const double outercone_size, const double minPt) const |
std::vector< reco::PFCandidatePtr > | PFCandsInCone (const std::vector< reco::PFCandidatePtr > &PFCands, const math::XYZVector &myVector, const std::string conemetric, const double conesize, const double minPt) const |
std::vector< reco::PFCandidatePtr > | PFCandsInCone (const math::XYZVector &myVector, const std::string conemetric, const double conesize, const double minPt) const |
std::vector< reco::PFCandidatePtr > | PFChargedHadrCandsInAnnulus (const math::XYZVector &myVector, const std::string innercone_metric, const double innercone_size, const std::string outercone_metric, const double outercone_size, const double minPt) const |
std::vector< reco::PFCandidatePtr > | PFChargedHadrCandsInAnnulus (const math::XYZVector &myVector, const std::string innercone_metric, const double innercone_size, const std::string outercone_metric, const double outercone_size, const double minPt, const double PFChargedHadrCand_tracktorefpoint_maxDZ, const double refpoint_Z, const reco::Vertex &myPV) const |
std::vector< reco::PFCandidatePtr > | PFChargedHadrCandsInCone (const math::XYZVector &myVector, const std::string conemetric, const double conesize, const double minPt) const |
std::vector< reco::PFCandidatePtr > | PFChargedHadrCandsInCone (const math::XYZVector &myVector, const std::string conemetric, const double conesize, const double minPt, const double PFChargedHadrCand_tracktorefpoint_maxDZ, const double refpoint_Z, const reco::Vertex &mPV) const |
std::vector< reco::PFCandidatePtr > | PFGammaCandsInAnnulus (const math::XYZVector &myVector, const std::string innercone_metric, const double innercone_size, const std::string outercone_metric, const double outercone_size, const double minPt) const |
std::vector< reco::PFCandidatePtr > | PFGammaCandsInCone (const math::XYZVector &myVector, const std::string conemetric, const double conesize, const double minPt) const |
std::pair< std::vector< reco::PFCandidatePtr >, std::vector< reco::PFCandidatePtr > > | PFGammaCandsInOutEllipse (const std::vector< reco::PFCandidatePtr > &, const reco::PFCandidate &, double rPhi, double rEta, double maxPt) const |
std::vector< reco::PFCandidatePtr > | PFNeutrHadrCandsInAnnulus (const math::XYZVector &myVector, const std::string innercone_metric, const double innercone_size, const std::string outercone_metric, const double outercone_size, const double minPt) const |
std::vector< reco::PFCandidatePtr > | PFNeutrHadrCandsInCone (const math::XYZVector &myVector, const std::string conemetric, const double conesize, const double minPt) const |
PFTauElementsOperators (reco::PFTau &thePFTau) | |
void | setAreaMetricrecoElementsmaxabsEta (double x) |
~PFTauElementsOperators () | |
Public Member Functions inherited from TauElementsOperators | |
double | computeConeSize (const TFormula &ConeSizeTFormula, double ConeSizeMin, double ConeSizeMax) |
double | computeConeSize (const TFormula &ConeSizeTFormula, double ConeSizeMin, double ConeSizeMax, double transverseEnergy, double energy, double jetOpeningAngle=0.) |
double | discriminatorByIsolTracksN (unsigned int isolationAnnulus_Tracksmaxn) const |
double | discriminatorByIsolTracksN (const math::XYZVector &coneAxis, std::string matchingConeMetric, double matchingConeSize, double ptLeadingTrackMin, double ptOtherTracksMin, std::string signalConeMetric, double signalConeSize, std::string isolationConeMetric, double isolationConeSize, unsigned int isolationAnnulus_Tracksmaxn) const |
double | discriminatorByIsolTracksN (std::string matchingConeMetric, double matchingConeSize, double ptLeadingTrackMin, double ptOtherTracksMin, std::string signalConeMetric, double signalConeSize, std::string isolationConeMetric, double isolationConeSize, unsigned int isolationAnnulus_Tracksmaxn) const |
const reco::TrackRef | leadTk (std::string matchingConeMetric, double matchingConeSize, double ptTrackMin) const |
const reco::TrackRef | leadTk (const math::XYZVector &jetAxis, std::string matchingConeMetric, double matchingConeSize, double ptTrackMin) const |
void | replaceSubStr (std::string &s, const std::string &oldSubStr, const std::string &newSubStr) |
TauElementsOperators () | |
TauElementsOperators (reco::BaseTau &) | |
const reco::TrackRefVector | tracksInAnnulus (const math::XYZVector &coneAxis, const std::string innerconeMetric, const double innerconeSize, const std::string outerconeMetric, const double outerconeSize, const double ptTrackMin) const |
const reco::TrackRefVector | tracksInAnnulus (const math::XYZVector &coneAxis, const std::string innerconeMetric, const double innerconeSize, const std::string outerconeMetric, const double outerconeSize, const double ptTrackMin, const double tracktorefpoint_maxDZ, const double refpoint_Z, const reco::Vertex &myPV) const |
const reco::TrackRefVector | tracksInCone (const math::XYZVector &coneAxis, const std::string coneMetric, const double coneSize, const double ptTrackMin) const |
const reco::TrackRefVector | tracksInCone (const math::XYZVector &coneAxis, const std::string coneMetric, const double coneSize, const double ptTrackMin, const double tracktorefpoint_maxDZ, const double refpoint_Z, const reco::Vertex &myPV) const |
~TauElementsOperators () | |
Private Member Functions | |
double | computeAngle (const math::XYZVector &vec1, const math::XYZVector &vec2) |
double | computeDeltaR (const math::XYZVector &vec1, const math::XYZVector &vec2) |
Definition at line 31 of file PFTauElementsOperators.h.
PFTauElementsOperators::PFTauElementsOperators | ( | reco::PFTau & | thePFTau | ) |
Definition at line 6 of file PFTauElementsOperators.cc.
References reco::PFTau::isolationPFCands(), reco::PFTau::isolationPFChargedHadrCands(), reco::PFTau::isolationPFGammaCands(), reco::PFTau::isolationPFNeutrHadrCands(), IsolPFCands_, IsolPFChargedHadrCands_, IsolPFGammaCands_, IsolPFNeutrHadrCands_, PFCands_, PFChargedHadrCands_, PFGammaCands_, PFJetRef_, PFNeutrHadrCands_, reco::PFTau::pfTauTagInfoRef(), and TauElementsOperators::Tracks_.
|
inline |
Definition at line 34 of file PFTauElementsOperators.h.
References computeInsideOutContents(), HPSPFRecoTauProducer_cfi::coneSizeFormula, copyCandRefsFilteredByPt(), discriminatorByIsolPFCandsEtSum(), discriminatorByIsolPFCandsN(), discriminatorByIsolPFChargedHadrCandsEtSum(), discriminatorByIsolPFChargedHadrCandsN(), discriminatorByIsolPFGammaCandsEtSum(), discriminatorByIsolPFGammaCandsN(), discriminatorByIsolPFNeutrHadrCandsEtSum(), discriminatorByIsolPFNeutrHadrCandsN(), leadPFCand(), leadPFChargedHadrCand(), leadPFGammaCand(), leadPFNeutrHadrCand(), MuonErrorMatrixAnalyzer_cfi::maxPt, lostTracks_cfi::minPt, PFCandsInAnnulus(), PFCandsInCone(), PFChargedHadrCandsInAnnulus(), PFChargedHadrCandsInCone(), PFGammaCandsInAnnulus(), PFGammaCandsInCone(), PFGammaCandsInOutEllipse(), PFNeutrHadrCandsInAnnulus(), PFNeutrHadrCandsInCone(), setAreaMetricrecoElementsmaxabsEta(), AlCaHLTBitMon_QueryRunRegistry::string, and x.
|
private |
|
private |
void PFTauElementsOperators::computeInsideOutContents | ( | const std::vector< reco::PFCandidatePtr > & | theChargedCands, |
const std::vector< reco::PFCandidatePtr > & | theGammaCands, | ||
const math::XYZVector & | leadTrackVector, | ||
const TFormula & | coneSizeFormula, | ||
double(*)(const math::XYZVector &, const math::XYZVector &) | ptrToMetricFunction, | ||
const double | minChargedSize, | ||
const double | maxChargedSize, | ||
const double | minNeutralSize, | ||
const double | maxNeutralSize, | ||
const double | minChargedPt, | ||
const double | minNeutralPt, | ||
const std::string & | outlierCollectorConeMetric, | ||
const double | outlierCollectorConeSize, | ||
std::vector< reco::PFCandidatePtr > & | signalChargedObjects, | ||
std::vector< reco::PFCandidatePtr > & | outlierChargedObjects, | ||
std::vector< reco::PFCandidatePtr > & | signalGammaObjects, | ||
std::vector< reco::PFCandidatePtr > & | outlierGammaObjects, | ||
bool | useScanningAxis | ||
) |
compute size of cone using the Inside-Out cone (Author Evan Friis, UC Davis)
Definition at line 298 of file PFTauElementsOperators.cc.
References TauTagTools::computeAngle(), TauTagTools::computeDeltaR(), copyCandRefsFilteredByPt(), ALCARECOTkAlJpsiMuMu_cff::numberOfCandidates, FixedAreaIsolationCone::setAcceptanceLimit(), and mps_update::theIndex.
Referenced by ~PFTauElementsOperators().
void PFTauElementsOperators::copyCandRefsFilteredByPt | ( | const std::vector< reco::PFCandidatePtr > & | theInputCands, |
std::vector< reco::PFCandidatePtr > & | theOutputCands, | ||
const double | minPt | ||
) |
append elements of theInputCands that pass Pt requirement to the end of theOutputCands
Definition at line 284 of file PFTauElementsOperators.cc.
References lostTracks_cfi::minPt.
Referenced by computeInsideOutContents(), and ~PFTauElementsOperators().
double PFTauElementsOperators::discriminatorByIsolPFCandsEtSum | ( | double | IsolPFCands_maxEtSum = 0 | ) |
Definition at line 572 of file PFTauElementsOperators.cc.
References IsolPFCands_, leadPFCand(), leadPFChargedHadrCand(), and PFCandsInAnnulus().
Referenced by ~PFTauElementsOperators().
double PFTauElementsOperators::discriminatorByIsolPFCandsEtSum | ( | std::string | matchingcone_metric, |
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
double | IsolPFCands_maxEtSum = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFCandsEtSum | ( | const math::XYZVector & | myVector, |
std::string | matchingcone_metric, | ||
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
double | IsolPFCands_maxEtSum = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFCandsN | ( | int | IsolPFCands_maxN = 0 | ) |
Definition at line 456 of file PFTauElementsOperators.cc.
References IsolPFCands_, leadPFCand(), leadPFChargedHadrCand(), and PFCandsInAnnulus().
Referenced by ~PFTauElementsOperators().
double PFTauElementsOperators::discriminatorByIsolPFCandsN | ( | std::string | matchingcone_metric, |
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
int | IsolPFCands_maxN = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFCandsN | ( | const math::XYZVector & | myVector, |
std::string | matchingcone_metric, | ||
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
int | IsolPFCands_maxN = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsEtSum | ( | std::string | matchingcone_metric, |
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
double | IsolPFCands_maxEtSum = 0 |
||
) |
Referenced by discriminatorByIsolPFChargedHadrCandsEtSum(), and ~PFTauElementsOperators().
double PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsEtSum | ( | double | IsolPFCands_maxEtSum = 0 | ) |
Definition at line 607 of file PFTauElementsOperators.cc.
References discriminatorByIsolPFChargedHadrCandsEtSum(), IsolPFChargedHadrCands_, leadPFCand(), leadPFChargedHadrCand(), and PFChargedHadrCandsInAnnulus().
double PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsEtSum | ( | const math::XYZVector & | myVector, |
std::string | matchingcone_metric, | ||
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
double | IsolPFCands_maxEtSum = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsN | ( | int | IsolPFCands_maxN = 0 | ) |
Definition at line 485 of file PFTauElementsOperators.cc.
References IsolPFChargedHadrCands_, leadPFCand(), leadPFChargedHadrCand(), and PFChargedHadrCandsInAnnulus().
Referenced by ~PFTauElementsOperators().
double PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsN | ( | std::string | matchingcone_metric, |
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
int | IsolPFCands_maxN = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFChargedHadrCandsN | ( | const math::XYZVector & | myVector, |
std::string | matchingcone_metric, | ||
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
int | IsolPFCands_maxN = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFGammaCandsEtSum | ( | double | IsolPFCands_maxEtSum = 0 | ) |
Definition at line 677 of file PFTauElementsOperators.cc.
References IsolPFGammaCands_, leadPFCand(), leadPFChargedHadrCand(), and PFGammaCandsInAnnulus().
Referenced by ~PFTauElementsOperators().
double PFTauElementsOperators::discriminatorByIsolPFGammaCandsEtSum | ( | std::string | matchingcone_metric, |
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
double | IsolPFCands_maxEtSum = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFGammaCandsEtSum | ( | const math::XYZVector & | myVector, |
std::string | matchingcone_metric, | ||
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
double | IsolPFCands_maxEtSum = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFGammaCandsN | ( | int | IsolPFCands_maxN = 0 | ) |
Definition at line 543 of file PFTauElementsOperators.cc.
References IsolPFGammaCands_, leadPFCand(), leadPFChargedHadrCand(), and PFGammaCandsInAnnulus().
Referenced by ~PFTauElementsOperators().
double PFTauElementsOperators::discriminatorByIsolPFGammaCandsN | ( | std::string | matchingcone_metric, |
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
int | IsolPFCands_maxN = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFGammaCandsN | ( | const math::XYZVector & | myVector, |
std::string | matchingcone_metric, | ||
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
int | IsolPFCands_maxN = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsEtSum | ( | double | IsolPFCands_maxEtSum = 0 | ) |
Definition at line 642 of file PFTauElementsOperators.cc.
References IsolPFNeutrHadrCands_, leadPFCand(), leadPFChargedHadrCand(), and PFNeutrHadrCandsInAnnulus().
Referenced by ~PFTauElementsOperators().
double PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsEtSum | ( | std::string | matchingcone_metric, |
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
double | IsolPFCands_maxEtSum = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsEtSum | ( | const math::XYZVector & | myVector, |
std::string | matchingcone_metric, | ||
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
double | IsolPFCands_maxEtSum = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsN | ( | int | IsolPFCands_maxN = 0 | ) |
Definition at line 514 of file PFTauElementsOperators.cc.
References IsolPFNeutrHadrCands_, leadPFCand(), leadPFChargedHadrCand(), and PFNeutrHadrCandsInAnnulus().
Referenced by ~PFTauElementsOperators().
double PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsN | ( | std::string | matchingcone_metric, |
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
int | IsolPFCands_maxN = 0 |
||
) |
double PFTauElementsOperators::discriminatorByIsolPFNeutrHadrCandsN | ( | const math::XYZVector & | myVector, |
std::string | matchingcone_metric, | ||
double | matchingcone_size, | ||
std::string | signalcone_metric, | ||
double | signalcone_size, | ||
std::string | isolcone_metric, | ||
double | isolcone_size, | ||
bool | useOnlyChargedHadrforleadPFCand, | ||
double | minPt_leadPFCand, | ||
double | minPt_PFCand, | ||
int | IsolPFCands_maxN = 0 |
||
) |
reco::PFCandidatePtr PFTauElementsOperators::leadPFCand | ( | const std::string | matchingcone_metric, |
const double | matchingcone_size, | ||
const double | minPt | ||
) | const |
Referenced by discriminatorByIsolPFCandsEtSum(), discriminatorByIsolPFCandsN(), discriminatorByIsolPFChargedHadrCandsEtSum(), discriminatorByIsolPFChargedHadrCandsN(), discriminatorByIsolPFGammaCandsEtSum(), discriminatorByIsolPFGammaCandsN(), discriminatorByIsolPFNeutrHadrCandsEtSum(), discriminatorByIsolPFNeutrHadrCandsN(), PFGammaCandsInAnnulus(), and ~PFTauElementsOperators().
reco::PFCandidatePtr PFTauElementsOperators::leadPFCand | ( | const math::XYZVector & | myVector, |
const std::string | matchingcone_metric, | ||
const double | matchingcone_size, | ||
const double | minPt | ||
) | const |
reco::PFCandidatePtr PFTauElementsOperators::leadPFChargedHadrCand | ( | const std::string | matchingcone_metric, |
const double | matchingcone_size, | ||
const double | minPt | ||
) | const |
Referenced by PFRecoTauAlgorithm::buildPFTau(), discriminatorByIsolPFCandsEtSum(), discriminatorByIsolPFCandsN(), discriminatorByIsolPFChargedHadrCandsEtSum(), discriminatorByIsolPFChargedHadrCandsN(), discriminatorByIsolPFGammaCandsEtSum(), discriminatorByIsolPFGammaCandsN(), discriminatorByIsolPFNeutrHadrCandsEtSum(), discriminatorByIsolPFNeutrHadrCandsN(), PFGammaCandsInAnnulus(), and ~PFTauElementsOperators().
reco::PFCandidatePtr PFTauElementsOperators::leadPFChargedHadrCand | ( | const math::XYZVector & | myVector, |
const std::string | matchingcone_metric, | ||
const double | matchingcone_size, | ||
const double | minPt | ||
) | const |
reco::PFCandidatePtr PFTauElementsOperators::leadPFGammaCand | ( | const std::string | matchingcone_metric, |
const double | matchingcone_size, | ||
const double | minPt | ||
) | const |
Referenced by PFGammaCandsInAnnulus(), and ~PFTauElementsOperators().
reco::PFCandidatePtr PFTauElementsOperators::leadPFGammaCand | ( | const math::XYZVector & | myVector, |
const std::string | matchingcone_metric, | ||
const double | matchingcone_size, | ||
const double | minPt | ||
) | const |
reco::PFCandidatePtr PFTauElementsOperators::leadPFNeutrHadrCand | ( | const std::string | matchingcone_metric, |
const double | matchingcone_size, | ||
const double | minPt | ||
) | const |
Referenced by PFGammaCandsInAnnulus(), and ~PFTauElementsOperators().
reco::PFCandidatePtr PFTauElementsOperators::leadPFNeutrHadrCand | ( | const math::XYZVector & | myVector, |
const std::string | matchingcone_metric, | ||
const double | matchingcone_size, | ||
const double | minPt | ||
) | const |
std::vector<reco::PFCandidatePtr> PFTauElementsOperators::PFCandsInAnnulus | ( | const std::vector< reco::PFCandidatePtr > & | PFCands, |
const math::XYZVector & | myVector, | ||
const std::string | innercone_metric, | ||
const double | innercone_size, | ||
const std::string | outercone_metric, | ||
const double | outercone_size, | ||
const double | minPt | ||
) | const |
std::vector<reco::PFCandidatePtr> PFTauElementsOperators::PFCandsInAnnulus | ( | const math::XYZVector & | myVector, |
const std::string | innercone_metric, | ||
const double | innercone_size, | ||
const std::string | outercone_metric, | ||
const double | outercone_size, | ||
const double | minPt | ||
) | const |
std::vector<reco::PFCandidatePtr> PFTauElementsOperators::PFCandsInCone | ( | const std::vector< reco::PFCandidatePtr > & | PFCands, |
const math::XYZVector & | myVector, | ||
const std::string | conemetric, | ||
const double | conesize, | ||
const double | minPt | ||
) | const |
std::vector<reco::PFCandidatePtr> PFTauElementsOperators::PFCandsInCone | ( | const math::XYZVector & | myVector, |
const std::string | conemetric, | ||
const double | conesize, | ||
const double | minPt | ||
) | const |
std::vector<reco::PFCandidatePtr> PFTauElementsOperators::PFChargedHadrCandsInAnnulus | ( | const math::XYZVector & | myVector, |
const std::string | innercone_metric, | ||
const double | innercone_size, | ||
const std::string | outercone_metric, | ||
const double | outercone_size, | ||
const double | minPt | ||
) | const |
std::vector<reco::PFCandidatePtr> PFTauElementsOperators::PFChargedHadrCandsInAnnulus | ( | const math::XYZVector & | myVector, |
const std::string | innercone_metric, | ||
const double | innercone_size, | ||
const std::string | outercone_metric, | ||
const double | outercone_size, | ||
const double | minPt, | ||
const double | PFChargedHadrCand_tracktorefpoint_maxDZ, | ||
const double | refpoint_Z, | ||
const reco::Vertex & | myPV | ||
) | const |
std::vector<reco::PFCandidatePtr> PFTauElementsOperators::PFChargedHadrCandsInCone | ( | const math::XYZVector & | myVector, |
const std::string | conemetric, | ||
const double | conesize, | ||
const double | minPt | ||
) | const |
std::vector<reco::PFCandidatePtr> PFTauElementsOperators::PFChargedHadrCandsInCone | ( | const math::XYZVector & | myVector, |
const std::string | conemetric, | ||
const double | conesize, | ||
const double | minPt, | ||
const double | PFChargedHadrCand_tracktorefpoint_maxDZ, | ||
const double | refpoint_Z, | ||
const reco::Vertex & | mPV | ||
) | const |
std::vector< reco::PFCandidatePtr > PFTauElementsOperators::PFGammaCandsInAnnulus | ( | const math::XYZVector & | myVector, |
const std::string | innercone_metric, | ||
const double | innercone_size, | ||
const std::string | outercone_metric, | ||
const double | outercone_size, | ||
const double | minPt | ||
) | const |
Definition at line 158 of file PFTauElementsOperators.cc.
References leadPFCand(), leadPFChargedHadrCand(), leadPFGammaCand(), leadPFNeutrHadrCand(), lostTracks_cfi::minPt, PFCandsInAnnulus(), PFCandsInCone(), PFChargedHadrCandsInCone(), PFGammaCands_, PFGammaCandsInCone(), PFJetRef_, and PFNeutrHadrCandsInCone().
Referenced by PFRecoTauAlgorithm::buildPFTau(), discriminatorByIsolPFGammaCandsEtSum(), discriminatorByIsolPFGammaCandsN(), and ~PFTauElementsOperators().
std::vector< reco::PFCandidatePtr > PFTauElementsOperators::PFGammaCandsInCone | ( | const math::XYZVector & | myVector, |
const std::string | conemetric, | ||
const double | conesize, | ||
const double | minPt | ||
) | const |
Definition at line 62 of file PFTauElementsOperators.cc.
References PFCandsInCone(), and PFGammaCands_.
Referenced by PFRecoTauAlgorithm::buildPFTau(), PFGammaCandsInAnnulus(), and ~PFTauElementsOperators().
std::pair< std::vector< reco::PFCandidatePtr >, std::vector< reco::PFCandidatePtr > > PFTauElementsOperators::PFGammaCandsInOutEllipse | ( | const std::vector< reco::PFCandidatePtr > & | PFGammaCands_, |
const reco::PFCandidate & | leadCand_, | ||
double | rPhi, | ||
double | rEta, | ||
double | maxPt | ||
) | const |
Definition at line 68 of file PFTauElementsOperators.cc.
References AreaMetric_recoElements_maxabsEta_, TauTagTools::filteredPFChargedHadrCands(), MuonErrorMatrixAnalyzer_cfi::maxPt, metricAngle_, metricDR_, lostTracks_cfi::minPt, PFCandidatesInEllipse_, PFCands_, PFCandsInAnnulus(), PFCandsinAnnulus_innerAngleouterAnglemetrics_, PFCandsinAnnulus_innerAngleouterDRmetrics_, PFCandsinAnnulus_innerDRouterAnglemetrics_, PFCandsinAnnulus_innerDRouterDRmetrics_, PFChargedHadrCands_, PFChargedHadrCandsInAnnulus(), reco::Vertex::position(), and FixedAreaIsolationCone::setAcceptanceLimit().
Referenced by PFRecoTauAlgorithm::buildPFTau(), and ~PFTauElementsOperators().
std::vector< reco::PFCandidatePtr > PFTauElementsOperators::PFNeutrHadrCandsInAnnulus | ( | const math::XYZVector & | myVector, |
const std::string | innercone_metric, | ||
const double | innercone_size, | ||
const std::string | outercone_metric, | ||
const double | outercone_size, | ||
const double | minPt | ||
) | const |
Definition at line 154 of file PFTauElementsOperators.cc.
References PFCandsInAnnulus(), and PFNeutrHadrCands_.
Referenced by PFRecoTauAlgorithm::buildPFTau(), discriminatorByIsolPFNeutrHadrCandsEtSum(), discriminatorByIsolPFNeutrHadrCandsN(), and ~PFTauElementsOperators().
std::vector< reco::PFCandidatePtr > PFTauElementsOperators::PFNeutrHadrCandsInCone | ( | const math::XYZVector & | myVector, |
const std::string | conemetric, | ||
const double | conesize, | ||
const double | minPt | ||
) | const |
Definition at line 58 of file PFTauElementsOperators.cc.
References PFCandsInCone(), and PFNeutrHadrCands_.
Referenced by PFRecoTauAlgorithm::buildPFTau(), PFGammaCandsInAnnulus(), and ~PFTauElementsOperators().
void PFTauElementsOperators::setAreaMetricrecoElementsmaxabsEta | ( | double | x | ) |
Definition at line 18 of file PFTauElementsOperators.cc.
References AreaMetric_recoElements_maxabsEta_, TauTagTools::filteredPFChargedHadrCands(), metricAngle_, metricDR_, lostTracks_cfi::minPt, PFCands_, PFCandsInCone(), PFCandsinCone_Anglemetric_, PFCandsinCone_DRmetric_, PFChargedHadrCands_, PFChargedHadrCandsInCone(), reco::Vertex::position(), FixedAreaIsolationCone::setAcceptanceLimit(), and x.
Referenced by ~PFTauElementsOperators().
|
private |
Definition at line 105 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInOutEllipse(), and setAreaMetricrecoElementsmaxabsEta().
|
private |
Definition at line 107 of file PFTauElementsOperators.h.
Referenced by discriminatorByIsolPFCandsEtSum(), discriminatorByIsolPFCandsN(), and PFTauElementsOperators().
|
private |
Definition at line 109 of file PFTauElementsOperators.h.
Referenced by discriminatorByIsolPFChargedHadrCandsEtSum(), discriminatorByIsolPFChargedHadrCandsN(), and PFTauElementsOperators().
|
private |
Definition at line 113 of file PFTauElementsOperators.h.
Referenced by discriminatorByIsolPFGammaCandsEtSum(), discriminatorByIsolPFGammaCandsN(), and PFTauElementsOperators().
|
private |
Definition at line 111 of file PFTauElementsOperators.h.
Referenced by discriminatorByIsolPFNeutrHadrCandsEtSum(), discriminatorByIsolPFNeutrHadrCandsN(), and PFTauElementsOperators().
|
private |
Definition at line 116 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInOutEllipse(), and setAreaMetricrecoElementsmaxabsEta().
|
private |
Definition at line 115 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInOutEllipse(), and setAreaMetricrecoElementsmaxabsEta().
|
private |
Definition at line 125 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInOutEllipse().
|
private |
Definition at line 106 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInOutEllipse(), PFTauElementsOperators(), and setAreaMetricrecoElementsmaxabsEta().
|
private |
Definition at line 123 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInOutEllipse().
|
private |
Definition at line 124 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInOutEllipse().
|
private |
Definition at line 122 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInOutEllipse().
|
private |
Definition at line 121 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInOutEllipse().
|
private |
Definition at line 120 of file PFTauElementsOperators.h.
Referenced by setAreaMetricrecoElementsmaxabsEta().
|
private |
Definition at line 119 of file PFTauElementsOperators.h.
Referenced by setAreaMetricrecoElementsmaxabsEta().
|
private |
Definition at line 108 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInOutEllipse(), PFTauElementsOperators(), and setAreaMetricrecoElementsmaxabsEta().
|
private |
Definition at line 112 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInAnnulus(), PFGammaCandsInCone(), and PFTauElementsOperators().
|
private |
Definition at line 104 of file PFTauElementsOperators.h.
Referenced by PFGammaCandsInAnnulus(), and PFTauElementsOperators().
|
private |
Definition at line 110 of file PFTauElementsOperators.h.
Referenced by PFNeutrHadrCandsInAnnulus(), PFNeutrHadrCandsInCone(), and PFTauElementsOperators().