#include <PFTauDiscriminantBase.h>
Public Types | |
typedef std::vector< T > ::const_iterator | myVectorIterator |
Public Member Functions | |
void | branchTree (TTree *theTree) |
add a branch to a ttree corresponding to this variable More... | |
void | compute (PFTauDiscriminantManager *input) |
DiscriminantBase (std::string name, std::string rootTypeName, bool branchAsSimpleDataType, bool isMultiple, T defaultValue) | |
void | fillMVA (std::vector< PhysicsTools::Variable::Value > &mvaHolder) const |
virtual void | setNullResult (PFTauDiscriminantManager *input) |
virtual | ~DiscriminantBase () |
Public Member Functions inherited from PFTauDiscriminants::Discriminant | |
Discriminant (std::string name, std::string rootTypeName, bool branchAsSimpleDataType) | |
std::string | name () const |
std::string | rootTypeName () const |
PhysicsTools::AtomicId | theAtomicId () const |
virtual | ~Discriminant () |
Protected Member Functions | |
virtual void | doComputation (PFTauDiscriminantManager *input, std::vector< T > &result)=0 |
Protected Member Functions inherited from PFTauDiscriminants::Discriminant | |
bool | branchSimply () const |
determines whether or not to use simple struct like branching or custom class branching (e.g. TLorentzVector) More... | |
Private Attributes | |
T | defaultValue_ |
bool | isMultiple_ |
std::vector< T > | result_ |
std::vector< T > * | resultPtr_ |
T | singleResult_ |
Definition at line 69 of file PFTauDiscriminantBase.h.
typedef std::vector<T>::const_iterator PFTauDiscriminants::DiscriminantBase< T >::myVectorIterator |
Definition at line 76 of file PFTauDiscriminantBase.h.
|
inlineexplicit |
Definition at line 71 of file PFTauDiscriminantBase.h.
|
inlinevirtual |
Definition at line 76 of file PFTauDiscriminantBase.h.
|
inlinevirtual |
add a branch to a ttree corresponding to this variable
Implements PFTauDiscriminants::Discriminant.
Definition at line 111 of file PFTauDiscriminantBase.h.
|
inlinevirtual |
computes the associated quanity for the tau object that is loaded in the PFTauDiscriminantManager implemented in derived implementation class
Implements PFTauDiscriminants::Discriminant.
Definition at line 87 of file PFTauDiscriminantBase.h.
|
protectedpure virtual |
Implemented in PFTauDiscriminants::NeutralOutlierAngle, PFTauDiscriminants::NeutralOutlierSumPt, PFTauDiscriminants::NeutralOutlierPt, PFTauDiscriminants::ChargedOutlierAngle, PFTauDiscriminants::ChargedOutlierSumPt, PFTauDiscriminants::ChargedOutlierPt, PFTauDiscriminants::OutlierAngle, PFTauDiscriminants::OutlierMass, PFTauDiscriminants::OutlierSumPt, PFTauDiscriminants::OutlierPt, PFTauDiscriminants::InvariantMass, PFTauDiscriminants::InvariantMassOfSignalWithFiltered, PFTauDiscriminants::InvariantMassOfSignal, PFTauDiscriminants::Dalitz, PFTauDiscriminants::PiZeroAngle, PFTauDiscriminants::TrackAngle, PFTauDiscriminants::GammaPt, PFTauDiscriminants::GammaOccupancy, PFTauDiscriminants::FilteredObjectPt, PFTauDiscriminants::PiZeroPt, PFTauDiscriminants::TrackPt, PFTauDiscriminants::MainTrackAngle, PFTauDiscriminants::MainTrackPt, PFTauDiscriminants::Eta, PFTauDiscriminants::Pt, PFTauDiscriminants::OutlierN, PFTauDiscriminants::OutlierNCharged, and PFTauDiscriminants::DecayMode.
Referenced by PFTauDiscriminants::DiscriminantBase< int >::compute().
|
inlinevirtual |
Implements PFTauDiscriminants::Discriminant.
Definition at line 126 of file PFTauDiscriminantBase.h.
|
inlinevirtual |
Implements PFTauDiscriminants::Discriminant.
Definition at line 79 of file PFTauDiscriminantBase.h.
|
private |
Definition at line 144 of file PFTauDiscriminantBase.h.
Referenced by PFTauDiscriminants::DiscriminantBase< int >::compute(), and PFTauDiscriminants::DiscriminantBase< int >::setNullResult().
|
private |
Definition at line 143 of file PFTauDiscriminantBase.h.
Referenced by PFTauDiscriminants::DiscriminantBase< int >::compute(), and PFTauDiscriminants::DiscriminantBase< int >::fillMVA().
|
private |
Definition at line 146 of file PFTauDiscriminantBase.h.
Referenced by PFTauDiscriminants::DiscriminantBase< int >::compute(), PFTauDiscriminants::DiscriminantBase< int >::DiscriminantBase(), PFTauDiscriminants::DiscriminantBase< int >::fillMVA(), and PFTauDiscriminants::DiscriminantBase< int >::setNullResult().
|
private |
Definition at line 147 of file PFTauDiscriminantBase.h.
Referenced by PFTauDiscriminants::DiscriminantBase< int >::branchTree(), and PFTauDiscriminants::DiscriminantBase< int >::DiscriminantBase().
|
private |
Definition at line 145 of file PFTauDiscriminantBase.h.
Referenced by PFTauDiscriminants::DiscriminantBase< int >::branchTree(), PFTauDiscriminants::DiscriminantBase< int >::compute(), PFTauDiscriminants::DiscriminantBase< int >::fillMVA(), and PFTauDiscriminants::DiscriminantBase< int >::setNullResult().