Root::TAccept Class Reference
List of all members.
Constructor & Destructor Documentation
TAccept::TAccept |
( |
const char * |
name = "TAccept" |
) |
|
TAccept::TAccept |
( |
const TAccept & |
parent |
) |
|
Standard copy constructor: DO NOT COPY IT! It is expensive to copy!
TAccept::~TAccept |
( |
|
) |
[virtual] |
Member Function Documentation
int TAccept::addCut |
( |
const TString & |
cutName, |
|
|
const TString & |
cutDescription | |
|
) |
| | |
Add a cut; returning the cut position
void Root::TAccept::clear |
( |
|
) |
[inline] |
void Root::TAccept::clearPositive |
( |
|
) |
[inline] |
const TString & TAccept::getCutDescription |
( |
unsigned int |
cutPosition |
) |
const |
Get the description of a cut, based on the cut position
const TString& Root::TAccept::getCutDescription |
( |
const TString & |
cutName |
) |
const [inline] |
Get the description of a cut, based on the cut name
const TString & TAccept::getCutName |
( |
unsigned int |
cutPosition |
) |
const |
Get the name of a cut, based on the cut position (slow, avoid usage)
unsigned int Root::TAccept::getCutPosition |
( |
const TString & |
cutName |
) |
const [inline] |
Get the bit position of a cut
bool Root::TAccept::getCutResult |
( |
unsigned int |
cutPosition |
) |
const [inline] |
Get the result of a cut, based on the cut position (faster)
bool Root::TAccept::getCutResult |
( |
const TString & |
cutName |
) |
const [inline] |
Get the result of a cut, based on the cut name (safer)
std::bitset<m_nBits> Root::TAccept::getCutResultBitSet |
( |
|
) |
const [inline] |
Get the cut result bitset
unsigned int Root::TAccept::getCutResultInverted |
( |
|
) |
const [inline] |
Get an inverted bitset as an unsigned integer of the cut result. This is IsEM-style, i.e, 0 means that all cuts are passed
std::bitset<m_nBits> Root::TAccept::getCutResultInvertedBitSet |
( |
|
) |
const [inline] |
Get an inverted bitset of the cut result. This is IsEM-style, i.e, 0 means the cut is passed
const char* Root::TAccept::getName |
( |
|
) |
const [inline] |
Get the name of the class instance
unsigned int Root::TAccept::getNCuts |
( |
|
) |
const [inline] |
Get the number of cuts defined
Root::TAccept::operator bool |
( |
void |
|
) |
const [inline] |
Overload the boolean cast; allows for: if(myTAccept)
Standard assignment operator: DO NOT COPY IT! It is expensive to copy!
void TAccept::setCutDescription |
( |
unsigned int |
cutPosition, |
|
|
const TString & |
cutDescription | |
|
) |
| | |
Get the result of a cut, based on the cut position (faster)
void Root::TAccept::setCutDescription |
( |
const TString & |
cutName, |
|
|
const TString & |
cutDescription | |
|
) |
| | [inline] |
Set the result of a cut, based on the cut name (safer)
void Root::TAccept::setCutResult |
( |
unsigned int |
cutPosition, |
|
|
bool |
cutResult | |
|
) |
| | [inline] |
Get the result of a cut, based on the cut position (faster)
void Root::TAccept::setCutResult |
( |
const TString & |
cutName, |
|
|
bool |
cutResult | |
|
) |
| | [inline] |
Set the result of a cut, based on the cut 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/TAccept.h
- /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.31/PATCore/Root/TAccept.cxx