RestFrames
v1.0.1
RestFrames HEP Event Analysis Software Library
|
Base class for all RestFrame package objects.
Abstract base class from which all RestFrame package objects inherit.
Public Member Functions | |
RFBase (const std::string &sname, const std::string &stitle, int key) | |
Standard constructor. More... | |
RFBase () | |
Empty constructor. | |
virtual void | Clear () |
Clears RFBase of all connections to other objects. | |
bool | IsEmpty () const |
Checks whether this is default (empty) instance of class. | |
bool | operator! () const |
Tests whether key is the same as this. | |
void | Print (LogType type) const |
Print information associated with object. | |
virtual std::string | PrintString (LogType type) const |
String of information associated with object. | |
RFBase identity/comparison methods | |
RFBase identity query member functions Member functions for identifying/comparing class instances | |
RFKey | GetKey () const |
gets object identification key | |
std::string | GetName () const |
Returns object name. | |
std::string | GetTitle () const |
Returns object title. | |
bool | IsSame (const RFKey &key) const |
Tests whether key is the same as this. | |
bool | IsSame (const RFBase &obj) const |
Tests whether obj is the same as this. | |
bool | operator== (const RFKey &key) const |
Tests whether key is the same as this. | |
bool | operator== (const RFBase &obj) const |
Tests whether obj is the same as this. | |
bool | operator!= (const RFKey &key) const |
Tests whether key is the same as this. | |
bool | operator!= (const RFBase &obj) const |
Tests whether obj is the same as this. | |
Static Public Member Functions | |
static RFBase & | Empty () |
Returns empty RFBase. More... | |
Protected Member Functions | |
bool | SetBody (bool body) const |
bool | SetMind (bool mind) const |
bool | SetSpirit (bool spirit) const |
virtual bool | IsSoundBody () const |
virtual bool | IsSoundMind () const |
virtual bool | IsSoundSpirit () const |
void | UnSoundBody (const std::string &function) const |
void | UnSoundMind (const std::string &function) const |
void | UnSoundSpirit (const std::string &function) const |
void | AddDependent (RFBase *dep) |
pointer to RFBase object owned by this one | |
Protected Attributes | |
RFLog | m_Log |
RFBase * | m_This |
Static Protected Attributes | |
static const TVector3 | m_Empty3Vector |
static const TLorentzVector | m_Empty4Vector |
Friends | |
void | SetWarningTolerance (int NMAX) |
Sets the tolerance for the number of RestFrames warnings. More... | |
RestFrames::RFBase::RFBase | ( | const std::string & | sname, |
const std::string & | stitle, | ||
int | key | ||
) |
|
static |
|
friend |
Sets the tolerance for the number of RestFrames warnings.
NMAX | Number of allowed warnings of a given type |
Method sets the tolerance for the number of RestFranes warnings. NMAX less than 1 indicate infinite tolerance.
NMAX | Number of allowed warnings of a given type |
Function sets the tolerance for the number of RestFrames warnings. Numbers less than 1 indicate infinite tolerance.
#include <RFBase.hh>