![]() |
ATLAS Offline Software
|
Class to hold PID vars egamma information. More...
#include <egPID.h>
Public Member Functions | |
| egPID ()=default | |
| Default constructor. | |
| ~egPID ()=default | |
| Destructor. | |
| egPID (const egPID &original)=default | |
| constructor | |
| egPID & | operator= (const egPID &original) |
| Assignment. | |
| unsigned int | isEM (const unsigned int mask=egammaPIDObs::ALL, egammaPIDObs::PID=egammaPIDObs::IsEM, bool *found=nullptr) const |
| Metod to define isEM variable. | |
| unsigned int | isEMsofte (const unsigned int mask=egammaPIDObs::ALL, bool *found=nullptr) const |
| Method to define isEMse variable. | |
| unsigned int | IsGoodOQ (const unsigned int mask=egammaPIDObs::ALLOQ, bool *found=nullptr) const |
| Method to define Object quality variable. | |
| double | egammaID (egammaPIDObs::PID, bool *found=nullptr) const |
| retrieve egamma ID, as double to work for IsEM and all possible weights as likelihood; found, if not NULL, is set to true if found | |
| bool | set_egammaID (egammaPIDObs::PID, double) |
| set egamma ID, as double to work double values and all possible weights as likelihood | |
| bool | set_egammaIDint (egammaPIDObs::PID, unsigned int) |
| set egamma ID, for unsigned int values | |
Private Member Functions | |
| unsigned int | egammaIDint (egammaPIDObs::PID, bool *found) const |
| retrieve unsinged int value | |
Private Attributes | |
| std::vector< std::pair< egammaPIDObs::PID, unsigned int > > | m_egammaIDint |
| std::vector< std::pair< egammaPIDObs::PID, double > > | m_egammaID |
|
default |
Default constructor.
|
default |
Destructor.
|
default |
constructor
| double egPID::egammaID | ( | egammaPIDObs::PID | key, |
| bool * | found = nullptr ) const |
retrieve egamma ID, as double to work for IsEM and all possible weights as likelihood; found, if not NULL, is set to true if found
Definition at line 39 of file egPID.cxx.
|
private |
retrieve unsinged int value
Definition at line 172 of file egPID.cxx.
| unsigned int egPID::isEM | ( | const unsigned int | mask = egammaPIDObs::ALL, |
| egammaPIDObs::PID | pid = egammaPIDObs::IsEM, | ||
| bool * | found = nullptr ) const |
| unsigned int egPID::isEMsofte | ( | const unsigned int | mask = egammaPIDObs::ALL, |
| bool * | found = nullptr ) const |
| unsigned int egPID::IsGoodOQ | ( | const unsigned int | mask = egammaPIDObs::ALLOQ, |
| bool * | found = nullptr ) const |
| bool egPID::set_egammaID | ( | egammaPIDObs::PID | key, |
| double | value ) |
set egamma ID, as double to work double values and all possible weights as likelihood
Definition at line 78 of file egPID.cxx.
| bool egPID::set_egammaIDint | ( | egammaPIDObs::PID | key, |
| unsigned int | value ) |
set egamma ID, for unsigned int values
Definition at line 114 of file egPID.cxx.
|
private |
|
private |