Public Member Functions | |
QLCBaseMeasurement (const std::string &measName) | |
ctor | |
QLCBaseMeasurement (const std::string &measName, const QEleChannelConfig &config) | |
initialized constructor | |
virtual | ~QLCBaseMeasurement () |
dtor | |
const std::string & | GetName () const |
get measurement name | |
unsigned int | GetEventNumber () const |
get diana event number this measurement comes from | |
void | SetEventNumber (const unsigned int evNum) |
set diana event number this measurement comes from | |
time_t | GetTime () const |
get measurement time (unix time format) | |
void | SetTime (time_t time) |
set time (seconds from 1/1/1970) | |
unsigned int | GetMeasId () const |
get measurement Id | |
void | SetMeasId (unsigned int id) |
set measurement Id | |
virtual bool | operator== (const QEleChannelConfig &other) const =0 |
virtual void | Dump (std::ostream &os) const |
dump content of this object to os | |
Protected Member Functions | |
virtual void | DumpChild (std::ostream &os) const =0 |
Private Attributes | |
time_t | fTime |
unsigned int | fMeasId |
unsigned int | fEventId |
const std::string | fMeasName |
QLCBaseMeasurement::QLCBaseMeasurement | ( | const std::string & | measName | ) |
ctor
measName | name of the measurement used for classification purposes (in case more than one measurement type is performed at once) |
QLCBaseMeasurement::QLCBaseMeasurement | ( | const std::string & | measName, | |
const QEleChannelConfig & | config | |||
) |
initialized constructor
measName | name of the measurement used for classification purposes (in case more than one measurement type is performed at once) | |
config | pointer to QEleChannelConfig object |
References QEleChannelConfig::fConfigId, and QEleChannelConfig::GetId().
virtual bool QLCBaseMeasurement::operator== | ( | const QEleChannelConfig & | other | ) | const [pure virtual] |
comparison operator based on the electronics-configuration
Reimplemented from QEleChannelConfig.
Implemented in QLCBoloCheckMeasurement, and QLCEleCheckMeasurement.
virtual void QLCBaseMeasurement::DumpChild | ( | std::ostream & | os | ) | const [protected, pure virtual] |
dump method to be implemented in child classes
Implemented in QLCBoloCheckMeasurement, and QLCEleCheckMeasurement.
Referenced by Dump().
time_t QLCBaseMeasurement::fTime [private] |
unsigned int QLCBaseMeasurement::fMeasId [private] |
measurement Id
Referenced by Dump(), GetMeasId(), and SetMeasId().
unsigned int QLCBaseMeasurement::fEventId [private] |
diana event number as stored in root file
Referenced by Dump(), GetEventNumber(), and SetEventNumber().
const std::string QLCBaseMeasurement::fMeasName [private] |
used for classification purposes in case more than one measurement type is performed at once
Referenced by GetName().