#include <RecoTauTag/TauTagTools/interface/Discriminants.h>
Public Member Functions | |
ChargedOutlierPt () | |
~ChargedOutlierPt () | |
Protected Member Functions | |
void | doComputation (PFTauDiscriminantManager *input, vector< double > &result) |
Definition at line 160 of file Discriminants.h.
PFTauDiscriminants::ChargedOutlierPt::ChargedOutlierPt | ( | ) | [inline] |
PFTauDiscriminants::ChargedOutlierPt::~ChargedOutlierPt | ( | ) | [inline] |
void PFTauDiscriminants::ChargedOutlierPt::doComputation | ( | PFTauDiscriminantManager * | input, | |
vector< double > & | result | |||
) | [protected, virtual] |
Implements PFTauDiscriminants::DiscriminantBase< double >.
Definition at line 222 of file Discriminants.cc.
References reco::Particle::charge(), PFTauDiscriminants::PFTauDiscriminantManager::outlierObjectsSortedByPt(), and reco::Particle::pt().
00223 { 00224 const vector<const reco::Candidate*>& theOutlierObjects = input->outlierObjectsSortedByPt(); 00225 for(vector<const reco::Candidate*>::const_iterator iObject = theOutlierObjects.begin(); 00226 iObject != theOutlierObjects.end(); 00227 ++iObject) 00228 { 00229 const reco::Candidate* currentObject = *iObject; 00230 if (currentObject && currentObject->charge()) 00231 result.push_back(currentObject->pt()); 00232 } 00233 }