ATLAS Offline Software
|
Class containing discriminants produced by identification algorithms. More...
#include <TauPID.h>
Public Member Functions | |
TauPID () | |
Constructor. More... | |
virtual | ~TauPID () |
Destructor. More... | |
TauPID (std::vector< std::pair< TauJetParameters::TauID, double > > &¶ms, const std::bitset< 32 > &isTauFlags, const std::bitset< 32 > &vetoFlags) | |
TauPID (const TauPID &rhs) | |
Copy constructor. More... | |
TauPID & | operator= (const TauPID &rhs) |
assignment operator More... | |
TauPID & | operator= (TauPID &&rhs) |
bool | operator== (const TauPID &rhs) const |
Equality operator. More... | |
bool | operator!= (const TauPID &rhs) const |
Inequality operator. More... | |
bool | hasDiscriminant (TauJetParameters::TauID discID) const |
Check if class contains requested discriminant. More... | |
double | discriminant (TauJetParameters::TauID discID) const |
Get value of discriminant. More... | |
void | setDiscriminant (TauJetParameters::TauID discID, double disc) |
Set value of discriminant. More... | |
bool | isTau (TauJetParameters::IsTauFlag flag) const |
Get Flag for tau acceptance based on predefined arbitrary criteria. More... | |
void | setIsTau (TauJetParameters::IsTauFlag flag, bool value) |
Set Flag for tau acceptance based on predefined arbitrary criteria. More... | |
void | setFlag (TauJetParameters::VetoFlags flag, bool value) |
Set veto flag. More... | |
bool | flag (TauJetParameters::VetoFlags flag) const |
Get veto flag. More... | |
const std::vector< std::pair< TauJetParameters::TauID, double > > & | params () const |
const std::bitset< 32 > & | isTauFlags () const |
const std::bitset< 32 > & | vetoFlags () const |
Private Attributes | |
std::vector< std::pair< TauJetParameters::TauID, double > > | m_params |
std::bitset< 32 > | m_isTauFlags |
std::bitset< 32 > | m_vetoFlags |
Class containing discriminants produced by identification algorithms.
Analysis::TauPID::TauPID | ( | ) |
Constructor.
|
virtual |
Destructor.
Analysis::TauPID::TauPID | ( | std::vector< std::pair< TauJetParameters::TauID, double > > && | params, |
const std::bitset< 32 > & | isTauFlags, | ||
const std::bitset< 32 > & | vetoFlags | ||
) |
Definition at line 28 of file TauPID.cxx.
double Analysis::TauPID::discriminant | ( | TauJetParameters::TauID | discID | ) | const |
Get value of discriminant.
discID | discriminant id requested |
bool Analysis::TauPID::flag | ( | TauJetParameters::VetoFlags | flag | ) | const |
Get veto flag.
flag | flag to check |
bool Analysis::TauPID::hasDiscriminant | ( | TauJetParameters::TauID | discID | ) | const |
Check if class contains requested discriminant.
discID | discriminant id requested |
bool Analysis::TauPID::isTau | ( | TauJetParameters::IsTauFlag | flag | ) | const |
Get Flag for tau acceptance based on predefined arbitrary criteria.
flag | flag to check |
const std::bitset< 32 > & Analysis::TauPID::isTauFlags | ( | ) | const |
Definition at line 90 of file TauPID.cxx.
bool Analysis::TauPID::operator!= | ( | const TauPID & | rhs | ) | const |
Definition at line 57 of file TauPID.cxx.
Equality operator.
rhs | right hand side TauPID instance to compare |
Definition at line 68 of file TauPID.cxx.
const std::vector< std::pair< TauJetParameters::TauID, double > > & Analysis::TauPID::params | ( | ) | const |
Definition at line 86 of file TauPID.cxx.
void Analysis::TauPID::setDiscriminant | ( | TauJetParameters::TauID | discID, |
double | disc | ||
) |
Set value of discriminant.
discID | discriminant id requested |
disc | discriminant value |
void Analysis::TauPID::setFlag | ( | TauJetParameters::VetoFlags | flag, |
bool | value | ||
) |
Set veto flag.
flag | flag to set |
value | value to set |
void Analysis::TauPID::setIsTau | ( | TauJetParameters::IsTauFlag | flag, |
bool | value | ||
) |
Set Flag for tau acceptance based on predefined arbitrary criteria.
flag | flag to set |
value | value to set |
const std::bitset< 32 > & Analysis::TauPID::vetoFlags | ( | ) | const |
Definition at line 94 of file TauPID.cxx.
|
private |