QLCBaseMeasurement Class Reference

Inheritance diagram for QLCBaseMeasurement:

QEleChannelConfig QLCBoloCheckMeasurement QLCEleCheckMeasurement

List of all members.


Detailed Description

base container for event based measurements used in load curves

Author:
Sergio Di Domizio

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

Constructor & Destructor Documentation

QLCBaseMeasurement::QLCBaseMeasurement ( const std::string &  measName  ) 

ctor

Parameters:
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

Parameters:
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
Object is initialized to the front end parameters contained in the object pointed by config

References QEleChannelConfig::fConfigId, and QEleChannelConfig::GetId().


Member Function Documentation

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().


Member Data Documentation

time_t QLCBaseMeasurement::fTime [private]

measurement time (unix time format)

Referenced by Dump(), GetTime(), and SetTime().

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().


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:07 2010 for CUORE Software by  doxygen 1.5.6