#include <Discriminants.h>
Public Member Functions | |
MainTrackPt () | |
~MainTrackPt () | |
Protected Member Functions | |
void | doComputation (PFTauDiscriminantManager *input, std::vector< double > &result) |
Definition at line 77 of file Discriminants.h.
PFTauDiscriminants::MainTrackPt::MainTrackPt | ( | ) | [inline] |
Definition at line 79 of file Discriminants.h.
:DiscriminantBase<double>("MainTrackPt", "D", true, false, -1){};
PFTauDiscriminants::MainTrackPt::~MainTrackPt | ( | ) | [inline] |
Definition at line 80 of file Discriminants.h.
{};
void PFTauDiscriminants::MainTrackPt::doComputation | ( | PFTauDiscriminantManager * | input, |
std::vector< double > & | result | ||
) | [protected, virtual] |
Implements PFTauDiscriminants::DiscriminantBase< double >.
Definition at line 54 of file Discriminants.cc.
References PFTauDiscriminants::PFTauDiscriminantManager::mainTrack(), and reco::Candidate::pt().
{ const reco::Candidate* theMainTrack = input->mainTrack(); if (theMainTrack) result.push_back(theMainTrack->pt()); }