CMS 3D CMS Logo

PFTauDiscriminants::ChargedOutlierPt Class Reference

#include <RecoTauTag/TauTagTools/interface/Discriminants.h>

Inheritance diagram for PFTauDiscriminants::ChargedOutlierPt:

PFTauDiscriminants::DiscriminantBase< double > PFTauDiscriminants::Discriminant

List of all members.

Public Member Functions

 ChargedOutlierPt ()
 ~ChargedOutlierPt ()

Protected Member Functions

void doComputation (PFTauDiscriminantManager *input, vector< double > &result)


Detailed Description

Definition at line 160 of file Discriminants.h.


Constructor & Destructor Documentation

PFTauDiscriminants::ChargedOutlierPt::ChargedOutlierPt (  )  [inline]

Definition at line 162 of file Discriminants.h.

00162 :DiscriminantBase<double>("ChargedOutlierPt", "vector<double>", false, true, 0.0){};

PFTauDiscriminants::ChargedOutlierPt::~ChargedOutlierPt (  )  [inline]

Definition at line 163 of file Discriminants.h.

00163 {};


Member Function Documentation

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 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:49:59 2009 for CMSSW by  doxygen 1.5.4