CMS 3D CMS Logo

PFTauDiscriminants::MainTrackPt Class Reference

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

Inheritance diagram for PFTauDiscriminants::MainTrackPt:

PFTauDiscriminants::DiscriminantBase< double > PFTauDiscriminants::Discriminant

List of all members.

Public Member Functions

 MainTrackPt ()
 ~MainTrackPt ()

Protected Member Functions

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


Detailed Description

Definition at line 68 of file Discriminants.h.


Constructor & Destructor Documentation

PFTauDiscriminants::MainTrackPt::MainTrackPt (  )  [inline]

Definition at line 70 of file Discriminants.h.

00070 :DiscriminantBase<double>("MainTrackPt", "D", true, false, -1){};

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

Definition at line 71 of file Discriminants.h.

00071 {};


Member Function Documentation

void PFTauDiscriminants::MainTrackPt::doComputation ( PFTauDiscriminantManager input,
vector< double > &  result 
) [protected, virtual]

Implements PFTauDiscriminants::DiscriminantBase< double >.

Definition at line 45 of file Discriminants.cc.

References PFTauDiscriminants::PFTauDiscriminantManager::mainTrack(), and reco::Particle::pt().

00046 {
00047    const reco::Candidate* theMainTrack = input->mainTrack();
00048    if (theMainTrack)
00049       result.push_back(theMainTrack->pt());
00050 }


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