Root::TResult Class Reference
List of all members.
Constructor & Destructor Documentation
TResult::TResult |
( |
const char * |
name = "TResult" |
) |
|
TResult::TResult |
( |
const TResult & |
parent |
) |
|
Standard copy constructor: DO NOT COPY IT! It is expensive to copy!
TResult::~TResult |
( |
|
) |
[virtual] |
Member Function Documentation
int TResult::addResult |
( |
const TString & |
resultName, |
|
|
const TString & |
resultDescription | |
|
) |
| | |
Add a result; returning the result position
void Root::TResult::clear |
( |
|
) |
[inline] |
Clear all stored values (not the names and descriptions thought) and assign the default value for each result
double Root::TResult::getEfficiency |
( |
|
) |
const [inline] |
Get the zeroth entry, by convention, this is the efficiency or scale factor or MVA response or...
double Root::TResult::getMVAResponse |
( |
|
) |
const [inline] |
Get the zeroth entry, by convention, this is the efficiency or scale factor or MVA response or...
const char* Root::TResult::getName |
( |
|
) |
const [inline] |
Get the name of the class instance
unsigned int Root::TResult::getNResults |
( |
|
) |
const [inline] |
Get the number of results defined
double Root::TResult::getResult |
( |
unsigned int |
resultPosition |
) |
const [inline] |
Get a result, based on the result position (faster)
double Root::TResult::getResult |
( |
const TString & |
resultName |
) |
const [inline] |
Get a result, based on the result name (safer)
const TString & TResult::getResultDescription |
( |
unsigned int |
resultPosition |
) |
const |
Get the description of a result, based on the result position
const TString& Root::TResult::getResultDescription |
( |
const TString & |
resultName |
) |
const [inline] |
Get the description of a result, based on the result name
const TString & TResult::getResultName |
( |
unsigned int |
resultPosition |
) |
const |
Get the name of a result, based on the result position (slow, avoid usage)
unsigned int Root::TResult::getResultPosition |
( |
const TString & |
resultName |
) |
const [inline] |
Get the position of a result
std::vector<double> Root::TResult::getResults |
( |
|
) |
const [inline] |
Get the vector of results (Don't use this as it is slow)
double Root::TResult::getScaleFactor |
( |
|
) |
const [inline] |
Get the zeroth entry, by convention, this is the efficiency or scale factor or MVA response or...
double Root::TResult::getTotalUncertainty |
( |
|
) |
const [inline] |
Get the first entry, by convention, this is the total uncertainty
Root::TResult::operator double |
( |
|
) |
const [inline] |
Overload the double operator; allows for: double myScaleFactor = double(myTResult)
Root::TResult::operator std::pair< double, double > |
( |
|
) |
const [inline] |
Overload the double operator; allows for: std::pair<double,double> myScaleFactorAndUncertainty = std::pair<double,double>(myTResult)
Standard assignment operator: DO NOT COPY IT! It is expensive to copy!
void Root::TResult::setResult |
( |
unsigned int |
resultPosition, |
|
|
double |
resultResult | |
|
) |
| | [inline] |
Set a result, based on the result position (faster)
void Root::TResult::setResult |
( |
const TString & |
resultName, |
|
|
double |
resultResult | |
|
) |
| | [inline] |
Set a result, based on the result name (safer)
void TResult::setResultDescription |
( |
unsigned int |
resultPosition, |
|
|
const TString & |
resultDescription | |
|
) |
| | |
Set a result, based on the result position (faster)
void Root::TResult::setResultDescription |
( |
const TString & |
resultName, |
|
|
const TString & |
resultDescription | |
|
) |
| | [inline] |
Set a result, based on the result name (safer)
Member Data Documentation
The name of the class instance
The documentation for this class was generated from the following files:
- /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.31/PATCore/PATCore/TResult.h
- /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.31/PATCore/Root/TResult.cxx