CMS 3D CMS Logo

Public Member Functions | Protected Member Functions

PFTauDiscriminants::DecayMode Class Reference

#include <Discriminants.h>

Inheritance diagram for PFTauDiscriminants::DecayMode:
PFTauDiscriminants::DiscriminantBase< int > PFTauDiscriminants::Discriminant

List of all members.

Public Member Functions

 DecayMode ()
 ~DecayMode ()

Protected Member Functions

void doComputation (PFTauDiscriminantManager *input, std::vector< int > &result)

Detailed Description

Definition at line 36 of file Discriminants.h.


Constructor & Destructor Documentation

PFTauDiscriminants::DecayMode::DecayMode ( ) [inline]

Definition at line 38 of file Discriminants.h.

:DiscriminantBase<int>("DecayMode", "I", true, false, -1){};
PFTauDiscriminants::DecayMode::~DecayMode ( ) [inline]

Definition at line 39 of file Discriminants.h.

{};

Member Function Documentation

void PFTauDiscriminants::DecayMode::doComputation ( PFTauDiscriminantManager input,
std::vector< int > &  result 
) [protected, virtual]

Implements PFTauDiscriminants::DiscriminantBase< int >.

Definition at line 9 of file Discriminants.cc.

References PFTauDiscriminants::PFTauDiscriminantManager::getDecayMode(), and reco::PFTauDecayMode::getDecayMode().

{
   // convert to int for TTree
   result.push_back(static_cast<int>(input->getDecayMode()->getDecayMode()));
}