![]() |
Diana Software
|
class wrapper to DetectorName_ More...
Public Member Functions | |
| DetectorName () | |
| ctor More... | |
| DetectorName (const DetectorName &detectorName) | |
| copy ctor More... | |
| DetectorName (const DetectorName_ &detectorName) | |
| copy ctor More... | |
| const DetectorName & | operator= (const DetectorName &rhs) |
| operator = More... | |
| const DetectorName & | operator= (const DetectorName_ &rhs) |
| operator = More... | |
| operator DetectorName_ () const | |
| conversion operator More... | |
| std::string | AsString () const |
| convert to string More... | |
| QError | Set (const int run) |
| convert from run number More... | |
Private Attributes | |
| DetectorName_ | fDetectorName |
class wrapper to DetectorName_
Definition at line 33 of file QDetectorName.hh.
| DetectorName::DetectorName | ( | ) |
ctor
Definition at line 4 of file QDetectorName.cc.
| DetectorName::DetectorName | ( | const DetectorName & | detectorName | ) |
copy ctor
Definition at line 9 of file QDetectorName.cc.
| DetectorName::DetectorName | ( | const DetectorName_ & | detectorName | ) |
copy ctor
Definition at line 14 of file QDetectorName.cc.
| std::string DetectorName::AsString | ( | ) | const |
convert to string
Definition at line 32 of file QDetectorName.cc.
References DN_BULLKID, DN_CUORE, DN_CUORE0, DN_CUORICINO, DN_HALLA, DN_HALLC, DN_NUCLEUS, DN_RANDD, DN_THREETOWERS, DN_UNKNOWN, and fDetectorName.
Referenced by QRunData::Dump(), and QRunData::WriteOnStream().
|
inline |
| const DetectorName & DetectorName::operator= | ( | const DetectorName & | rhs | ) |
| const DetectorName & DetectorName::operator= | ( | const DetectorName_ & | rhs | ) |
| QError DetectorName::Set | ( | const int | run | ) |
convert from run number
Definition at line 52 of file QDetectorName.cc.
References DN_UNKNOWN, err, fDetectorName, QERR_SUCCESS, and QERR_UNKNOWN_ERR.
Referenced by QRunDataHandle::FillBasicInfo(), and QRunData::ReadFromStream().
|
private |
Definition at line 54 of file QDetectorName.hh.
Referenced by AsString(), operator DetectorName_(), operator=(), and Set().