Diana Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
QRunData Class Reference

Basic run based info. More...

Inheritance diagram for QRunData:

Public Member Functions

 ~QRunData ()
 
virtual void Clear ()
 Clear members. More...
 
virtual QError WriteOnStream (std::ostream &o) const
 Write object on stream. More...
 
virtual QError ReadFromStream (std::istream &ob)
 Read object from stream. More...
 
virtual void Dump (std::ostream &o) const
 dump object to stream More...
 
const QChannelRunDataGetChannelRunData (const int channel) const
 get channel based run data quantities More...
 
const std::map< int, QChannelRunData * > & GetChannelsRunData () const
 get channel based run data quantities More...
 
QRunDataoperator= (const QRunData &other)
 
void SetChannelRunData (const int channel, const QChannelRunData &chanRunData)
 set channel based run data quantities More...
 
 QObjectDef (QRunData, 7)
 

Public Attributes

int fNumber
 Run Number. More...
 
DetectorName fDetector
 Source Run Number. More...
 
RunType fType
 Run Type. More...
 
std::vector< int > fThermalDetectorChannels
 Thermal detector channels: union of fBolometerChannels and fThermometerChannels. More...
 
std::vector< int > fBolometerChannels
 Bolometers channels (thermistors glued to a crystal) More...
 
std::vector< int > fThermometerChannels
 Thermometers channels (thermistors not glued to a crystal) More...
 
time_t fStartDate
 StartTime. More...
 
time_t fStopDate
 StopTime. More...
 
time_t fDuration
 Duration. More...
 
int fSourceRun
 
RunType fSourceType
 Detector name. More...
 

Private Attributes

std::map< int, QChannelRunData * > fChannelsRunData_ptr
 channel based quantities More...
 

Detailed Description

Basic run based info.

Author
Marco Vignati
Examples
GlobalDataManagerExample.C, and ScanEvents.C.

Definition at line 20 of file QRunData.hh.

Constructor & Destructor Documentation

◆ ~QRunData()

QRunData::~QRunData ( )
inline

Definition at line 24 of file QRunData.hh.

References Clear().

Member Function Documentation

◆ Clear()

void QRunData::Clear ( )
virtual

◆ Dump()

void QRunData::Dump ( std::ostream &  o) const
virtual

◆ GetChannelRunData()

const QChannelRunData & QRunData::GetChannelRunData ( const int  channel) const

◆ GetChannelsRunData()

const std::map<int,QChannelRunData*>& QRunData::GetChannelsRunData ( ) const
inline

get channel based run data quantities

Definition at line 55 of file QRunData.hh.

References fChannelsRunData_ptr.

◆ operator=()

QRunData & QRunData::operator= ( const QRunData other)

◆ QObjectDef()

QRunData::QObjectDef ( QRunData  ,
 
)

◆ ReadFromStream()

QError QRunData::ReadFromStream ( std::istream &  ob)
virtual

◆ SetChannelRunData()

void QRunData::SetChannelRunData ( const int  channel,
const QChannelRunData chanRunData 
)

set channel based run data quantities

Examples
GlobalDataManagerExample.C.

Definition at line 352 of file QRunData.cc.

References channel, chanRunData, and fChannelsRunData_ptr.

Referenced by operator=(), LHDRGlobalReader::Parse(), and ReadFromStream().

◆ WriteOnStream()

QError QRunData::WriteOnStream ( std::ostream &  o) const
virtual

Member Data Documentation

◆ fBolometerChannels

std::vector<int> QRunData::fBolometerChannels

Bolometers channels (thermistors glued to a crystal)

Examples
GlobalDataManagerExample.C.

Definition at line 49 of file QRunData.hh.

Referenced by Clear(), Dump(), operator=(), LHDRGlobalReader::Parse(), ReadFromStream(), and WriteOnStream().

◆ fChannelsRunData_ptr

std::map<int,QChannelRunData*> QRunData::fChannelsRunData_ptr
private

channel based quantities

Definition at line 70 of file QRunData.hh.

Referenced by Clear(), Dump(), GetChannelRunData(), GetChannelsRunData(), operator=(), and SetChannelRunData().

◆ fDetector

DetectorName QRunData::fDetector

◆ fDuration

time_t QRunData::fDuration

◆ fNumber

int QRunData::fNumber

◆ fSourceRun

int QRunData::fSourceRun

Definition at line 73 of file QRunData.hh.

Referenced by Clear(), Dump(), and operator=().

◆ fSourceType

RunType QRunData::fSourceType

Detector name.

Source Run Type

Definition at line 76 of file QRunData.hh.

Referenced by Clear(), Dump(), MSelectRunType::Filter(), and operator=().

◆ fStartDate

time_t QRunData::fStartDate

◆ fStopDate

time_t QRunData::fStopDate

◆ fThermalDetectorChannels

std::vector<int> QRunData::fThermalDetectorChannels

Thermal detector channels: union of fBolometerChannels and fThermometerChannels.

Definition at line 47 of file QRunData.hh.

Referenced by Clear(), Dump(), operator=(), LHDRGlobalReader::Parse(), ReadFromStream(), and WriteOnStream().

◆ fThermometerChannels

std::vector<int> QRunData::fThermometerChannels

Thermometers channels (thermistors not glued to a crystal)

Definition at line 51 of file QRunData.hh.

Referenced by Clear(), Dump(), operator=(), ReadFromStream(), and WriteOnStream().

◆ fType

RunType QRunData::fType

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