|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef PATCORE_ACCEPT_DATA_H
8 #define PATCORE_ACCEPT_DATA_H
43 explicit inline operator bool()
const
78 const std::string&
getCutName(
unsigned int cutPosition )
const
std::bitset< NBITS > getCutResultInvertedBitSet() const
Get an inverted bitset of the cut result.
unsigned int getNCuts() const
Get the number of cuts defined.
const std::string & getCutDescription(const std::string &cutName) const
Get the description of a cut, based on the cut name.
unsigned int getCutResultInverted() const
Get an inverted bitset as an unsigned integer of the cut result.
std::bitset< NBITS > m_accept
The cut bits.
unsigned int getCutPosition(const std::string &cutName) const
Get the bit position of a cut.
const char * getName() const
Get the name of the class instance.
unsigned int getCutPosition(const std::string &cutName) const
Get the bit position of a cut.
const std::bitset< NBITS > & getCutResultBitSet() const
Get the cut result bitset.
const std::string & getCutName(unsigned int cutPosition) const
Get the name of a cut, based on the cut position (slow, avoid usage)
const std::string & getCutDescription(unsigned int cutPosition) const
Get the description of a cut, based on the cut position.
static const unsigned int NBITS
The number of bits for cuts.
std::bitset< NBITS > getCutMask() const
Get a bitmask for all cuts defined.
bool getCutResult(unsigned int cutPosition) const
Get the result of a cut, based on the cut position (faster)
unsigned int getNCuts() const
Get the number of cuts defined.
void clearPositive()
Set all bits to true.
void setCutResult(unsigned int cutPosition, bool cutResult)
Get the result of a cut, based on the cut position (faster)
static const unsigned int NBITS
The number of bits for cuts.
const std::string & getCutName(unsigned int cutPosition) const
Get the name of a cut, based on the cut position (slow, avoid usage)
AcceptData & operator|=(const AcceptData &other)
AcceptData(const AcceptInfo *val_info)
Standard constructor.
const AcceptInfo * m_info
the info structure describing us
void setCutResult(const std::string &cutName, bool cutResult)
Set the result of a cut, based on the cut name (safer)
void clear()
Clear all bits.
bool getCutResult(const std::string &cutName) const
Get the result of a cut, based on the cut name (safer)
const char * getName() const
Get the name of the class instance.
setBGCode setTAP setLVL2ErrorBits bool
const std::string & getCutDescription(const std::string &cutName) const
Get the description of a cut, based on the cut name.
const std::bitset< NBITS > & getCutMask() const
Get a bitmask for all cuts defined.