CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Attributes

PFTauDiscriminants::Discriminant Class Reference

#include <PFTauDiscriminantBase.h>

Inheritance diagram for PFTauDiscriminants::Discriminant:
PFTauDiscriminants::DiscriminantBase< double > PFTauDiscriminants::DiscriminantBase< int > PFTauDiscriminants::DiscriminantBase< T > PFTauDiscriminants::ChargedOutlierAngle PFTauDiscriminants::ChargedOutlierPt PFTauDiscriminants::ChargedOutlierSumPt PFTauDiscriminants::Dalitz PFTauDiscriminants::Eta PFTauDiscriminants::FilteredObjectPt PFTauDiscriminants::GammaOccupancy PFTauDiscriminants::GammaPt PFTauDiscriminants::InvariantMass PFTauDiscriminants::InvariantMassOfSignal PFTauDiscriminants::InvariantMassOfSignalWithFiltered PFTauDiscriminants::MainTrackAngle PFTauDiscriminants::MainTrackPt PFTauDiscriminants::NeutralOutlierAngle PFTauDiscriminants::NeutralOutlierPt PFTauDiscriminants::NeutralOutlierSumPt PFTauDiscriminants::OutlierAngle PFTauDiscriminants::OutlierMass PFTauDiscriminants::OutlierPt PFTauDiscriminants::OutlierSumPt PFTauDiscriminants::PiZeroAngle PFTauDiscriminants::PiZeroPt PFTauDiscriminants::Pt PFTauDiscriminants::TrackAngle PFTauDiscriminants::TrackPt PFTauDiscriminants::DecayMode PFTauDiscriminants::OutlierN PFTauDiscriminants::OutlierNCharged

List of all members.

Public Member Functions

virtual void branchTree (TTree *theTree)=0
 add a branch to a ttree corresponding to this variable
virtual void compute (PFTauDiscriminantManager *input)=0
 Discriminant (std::string name, std::string rootTypeName, bool branchAsSimpleDataType)
virtual void fillMVA (std::vector< PhysicsTools::Variable::Value > &mvaHolder) const =0
std::string name () const
std::string rootTypeName () const
virtual void setNullResult (PFTauDiscriminantManager *input)=0
PhysicsTools::AtomicId theAtomicId () const
virtual ~Discriminant ()

Protected Member Functions

bool branchSimply () const
 determines whether or not to use simple struct like branching or custom class branching (e.g. TLorentzVector)

Private Attributes

bool branchAsSimpleDataType_
PhysicsTools::AtomicId discriminantName_
std::string rootTypeName_

Detailed Description

Definition at line 40 of file PFTauDiscriminantBase.h.


Constructor & Destructor Documentation

PFTauDiscriminants::Discriminant::Discriminant ( std::string  name,
std::string  rootTypeName,
bool  branchAsSimpleDataType 
) [inline, explicit]
virtual PFTauDiscriminants::Discriminant::~Discriminant ( ) [inline, virtual]

Definition at line 47 of file PFTauDiscriminantBase.h.

{};

Member Function Documentation

bool PFTauDiscriminants::Discriminant::branchSimply ( ) const [inline, protected]

determines whether or not to use simple struct like branching or custom class branching (e.g. TLorentzVector)

Definition at line 60 of file PFTauDiscriminantBase.h.

References branchAsSimpleDataType_.

Referenced by PFTauDiscriminants::DiscriminantBase< int >::branchTree().

virtual void PFTauDiscriminants::Discriminant::branchTree ( TTree *  theTree) [pure virtual]
virtual void PFTauDiscriminants::Discriminant::compute ( PFTauDiscriminantManager input) [pure virtual]
virtual void PFTauDiscriminants::Discriminant::fillMVA ( std::vector< PhysicsTools::Variable::Value > &  mvaHolder) const [pure virtual]
std::string PFTauDiscriminants::Discriminant::name ( void  ) const [inline]
std::string PFTauDiscriminants::Discriminant::rootTypeName ( ) const [inline]
virtual void PFTauDiscriminants::Discriminant::setNullResult ( PFTauDiscriminantManager input) [pure virtual]
PhysicsTools::AtomicId PFTauDiscriminants::Discriminant::theAtomicId ( ) const [inline]

Member Data Documentation

Definition at line 65 of file PFTauDiscriminantBase.h.

Referenced by branchSimply().

Definition at line 63 of file PFTauDiscriminantBase.h.

Referenced by name(), and theAtomicId().

Definition at line 64 of file PFTauDiscriminantBase.h.

Referenced by rootTypeName().