#include <RecoTauTag/TauTagTools/interface/Discriminants.h>
Public Member Functions | |
NeutralOutlierAngle () | |
~NeutralOutlierAngle () | |
Protected Member Functions | |
void | doComputation (PFTauDiscriminantManager *input, vector< double > &result) |
Definition at line 184 of file Discriminants.h.
PFTauDiscriminants::NeutralOutlierAngle::NeutralOutlierAngle | ( | ) | [inline] |
PFTauDiscriminants::NeutralOutlierAngle::~NeutralOutlierAngle | ( | ) | [inline] |
void PFTauDiscriminants::NeutralOutlierAngle::doComputation | ( | PFTauDiscriminantManager * | input, | |
vector< double > & | result | |||
) | [protected, virtual] |
Implements PFTauDiscriminants::DiscriminantBase< double >.
Definition at line 266 of file Discriminants.cc.
References reco::Particle::charge(), PFTauDiscriminants::PFTauDiscriminantManager::getDecayMode(), reco::Particle::momentum(), PFTauDiscriminants::PFTauDiscriminantManager::outlierObjectsSortedByPt(), and edm::Vector< T >::push_back().
00267 { 00268 const vector<const reco::Candidate*>& theoutlierObjects = input->outlierObjectsSortedByPt(); 00269 math::XYZVector signalObjectsAxis = input->getDecayMode()->momentum(); 00270 DeltaR<math::XYZVector> myDRComputer; 00271 for(vector<const reco::Candidate*>::const_iterator iObject = theoutlierObjects.begin(); 00272 iObject != theoutlierObjects.end(); 00273 ++iObject) 00274 { 00275 const reco::Candidate* currentObject = *iObject; 00276 if (currentObject && !currentObject->charge()) 00277 result.push_back(myDRComputer(currentObject->momentum(), signalObjectsAxis)); 00278 } 00279 }