#include <TauElementsOperators.h>
Public Member Functions | |
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 () | |
Definition at line 19 of file TauElementsOperators.h.
TauElementsOperators::TauElementsOperators | ( | ) |
TauElementsOperators::TauElementsOperators | ( | reco::BaseTau & | theBaseTau | ) |
Definition at line 6 of file TauElementsOperators.cc.
References reco::BaseTau::isolationTracks(), and IsolTracks_.
|
inline |
Definition at line 23 of file TauElementsOperators.h.
References computeConeSize(), HPSPFRecoTauProducer_cfi::coneMetric, highPtTrackIsolations_cff::coneSize, ConeSizeTFormula, discriminatorByIsolTracksN(), randomXiThetaGunProducer_cfi::energy, PFRecoTauPFJetInputs_cfi::isolationConeSize, leadTk(), replaceSubStr(), alignCSCRings::s, RecoTauCombinatoricProducer_cfi::signalConeSize, AlCaHLTBitMon_QueryRunRegistry::string, tracksInAnnulus(), and tracksInCone().
double TauElementsOperators::computeConeSize | ( | const TFormula & | ConeSizeTFormula, |
double | ConeSizeMin, | ||
double | ConeSizeMax | ||
) |
Definition at line 10 of file TauElementsOperators.cc.
References BaseTau_, reco::LeafCandidate::energy(), reco::LeafCandidate::et(), x, and y.
Referenced by CaloRecoTauAlgorithm::buildCaloTau(), PFRecoTauAlgorithm::buildPFTau(), and ~TauElementsOperators().
double TauElementsOperators::computeConeSize | ( | const TFormula & | ConeSizeTFormula, |
double | ConeSizeMin, | ||
double | ConeSizeMax, | ||
double | transverseEnergy, | ||
double | energy, | ||
double | jetOpeningAngle = 0. |
||
) |
Definition at line 19 of file TauElementsOperators.cc.
double TauElementsOperators::discriminatorByIsolTracksN | ( | unsigned int | isolationAnnulus_Tracksmaxn | ) | const |
Definition at line 241 of file TauElementsOperators.cc.
References BaseTau_, PFRecoTauPFJetInputs_cfi::isolationConeSize, IsolTracks_, leadTk(), reco::LeafCandidate::momentum(), RecoTauCombinatoricProducer_cfi::signalConeSize, edm::RefVector< C, T, F >::size(), and tracksInAnnulus().
Referenced by ~TauElementsOperators().
double TauElementsOperators::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 TauElementsOperators::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 TauElementsOperators::leadTk | ( | std::string | matchingConeMetric, |
double | matchingConeSize, | ||
double | ptTrackMin | ||
) | const |
const reco::TrackRef TauElementsOperators::leadTk | ( | const math::XYZVector & | jetAxis, |
std::string | matchingConeMetric, | ||
double | matchingConeSize, | ||
double | ptTrackMin | ||
) | const |
void TauElementsOperators::replaceSubStr | ( | std::string & | s, |
const std::string & | oldSubStr, | ||
const std::string & | newSubStr | ||
) |
Definition at line 53 of file TauElementsOperators.cc.
References AreaMetric_recoElements_maxabsEta_, BaseTau_, edm::RefVector< C, T, F >::begin(), HPSPFRecoTauProducer_cfi::coneMetric, highPtTrackIsolations_cff::coneSize, edm::RefVector< C, T, F >::end(), leadTk(), metricAngle_, metricDR_, lostTracks_cfi::minPt, reco::LeafCandidate::momentum(), reco::Vertex::position(), edm::RefVector< C, T, F >::push_back(), FixedAreaIsolationCone::setAcceptanceLimit(), edm::RefVector< C, T, F >::size(), HiIsolationCommonParameters_cff::track, Tracks_, tracksInAnnulus(), TracksinAnnulus_innerAngleouterAnglemetrics_, TracksinAnnulus_innerAngleouterDRmetrics_, TracksinAnnulus_innerDRouterAnglemetrics_, TracksinAnnulus_innerDRouterDRmetrics_, tracksInCone(), TracksinCone_Anglemetric_, and TracksinCone_DRmetric_.
Referenced by ~TauElementsOperators().
const reco::TrackRefVector TauElementsOperators::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 TauElementsOperators::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 TauElementsOperators::tracksInCone | ( | const math::XYZVector & | coneAxis, |
const std::string | coneMetric, | ||
const double | coneSize, | ||
const double | ptTrackMin | ||
) | const |
const reco::TrackRefVector TauElementsOperators::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 |
|
protected |
Definition at line 55 of file TauElementsOperators.h.
Referenced by replaceSubStr().
|
protected |
Definition at line 54 of file TauElementsOperators.h.
Referenced by computeConeSize(), discriminatorByIsolTracksN(), and replaceSubStr().
|
protected |
Definition at line 52 of file TauElementsOperators.h.
Referenced by ~TauElementsOperators().
|
protected |
Definition at line 57 of file TauElementsOperators.h.
Referenced by discriminatorByIsolTracksN(), and TauElementsOperators().
|
protected |
Definition at line 60 of file TauElementsOperators.h.
Referenced by replaceSubStr().
|
protected |
Definition at line 59 of file TauElementsOperators.h.
Referenced by replaceSubStr().
|
protected |
Definition at line 56 of file TauElementsOperators.h.
Referenced by CaloTauElementsOperators::CaloTauElementsOperators(), PFTauElementsOperators::PFTauElementsOperators(), and replaceSubStr().
|
protected |
Definition at line 65 of file TauElementsOperators.h.
Referenced by replaceSubStr().
|
protected |
Definition at line 66 of file TauElementsOperators.h.
Referenced by replaceSubStr().
|
protected |
Definition at line 64 of file TauElementsOperators.h.
Referenced by replaceSubStr().
|
protected |
Definition at line 63 of file TauElementsOperators.h.
Referenced by replaceSubStr().
|
protected |
Definition at line 62 of file TauElementsOperators.h.
Referenced by replaceSubStr().
|
protected |
Definition at line 61 of file TauElementsOperators.h.
Referenced by replaceSubStr().