CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
PFTauDiscriminants::Discriminant Class Referenceabstract

#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

Public Member Functions

virtual void branchTree (TTree *theTree)=0
 add a branch to a ttree corresponding to this variable More...
 
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) More...
 

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 
)
inlineexplicit

Definition at line 42 of file PFTauDiscriminantBase.h.

42  :
45  branchAsSimpleDataType_(branchAsSimpleDataType)
46  {};
PhysicsTools::AtomicId discriminantName_
Cheap generic unique keyword identifier class.
Definition: AtomicId.h:32
virtual PFTauDiscriminants::Discriminant::~Discriminant ( )
inlinevirtual

Definition at line 47 of file PFTauDiscriminantBase.h.

47 {};

Member Function Documentation

bool PFTauDiscriminants::Discriminant::branchSimply ( ) const
inlineprotected

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

Definition at line 51 of file PFTauDiscriminantBase.h.

References discriminantName_.

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

51 {return discriminantName_;}
PhysicsTools::AtomicId discriminantName_

Member Data Documentation

bool PFTauDiscriminants::Discriminant::branchAsSimpleDataType_
private

Definition at line 65 of file PFTauDiscriminantBase.h.

Referenced by branchSimply().

PhysicsTools::AtomicId PFTauDiscriminants::Discriminant::discriminantName_
private

Definition at line 63 of file PFTauDiscriminantBase.h.

Referenced by name(), and theAtomicId().

std::string PFTauDiscriminants::Discriminant::rootTypeName_
private

Definition at line 64 of file PFTauDiscriminantBase.h.

Referenced by rootTypeName().