#include <Discriminants.h>
Public Member Functions | |
OutlierAngle () | |
~OutlierAngle () | |
Protected Member Functions | |
void | doComputation (PFTauDiscriminantManager *input, std::vector< double > &result) |
Definition at line 214 of file Discriminants.h.
PFTauDiscriminants::OutlierAngle::OutlierAngle | ( | ) | [inline] |
Definition at line 216 of file Discriminants.h.
:DiscriminantBase<double>("OutlierAngle", "vector<double>", false, true, 0.0){};
PFTauDiscriminants::OutlierAngle::~OutlierAngle | ( | ) | [inline] |
Definition at line 217 of file Discriminants.h.
{};
void PFTauDiscriminants::OutlierAngle::doComputation | ( | PFTauDiscriminantManager * | input, |
std::vector< double > & | result | ||
) | [protected, virtual] |
Implements PFTauDiscriminants::DiscriminantBase< double >.
Definition at line 313 of file Discriminants.cc.
References PFTauDiscriminants::PFTauDiscriminantManager::getDecayMode(), reco::LeafCandidate::momentum(), reco::Candidate::momentum(), and PFTauDiscriminants::PFTauDiscriminantManager::outlierObjectsSortedByPt().
{ const std::vector<const reco::Candidate*>& theoutlierObjects = input->outlierObjectsSortedByPt(); math::XYZVector signalObjectsAxis = input->getDecayMode()->momentum(); DeltaR<math::XYZVector> myDRComputer; for(std::vector<const reco::Candidate*>::const_iterator iObject = theoutlierObjects.begin(); iObject != theoutlierObjects.end(); ++iObject) { const reco::Candidate* currentObject = *iObject; if (currentObject) result.push_back(myDRComputer(currentObject->momentum(), signalObjectsAxis)); } }