Belle II Software development
ARICHComponentTest Class Reference

Test of the ARICH component. More...

#include <ARICHComponentTest.h>

Inheritance diagram for ARICHComponentTest:

Public Member Functions

 ARICHComponentTest ()
 Default constructor.
 
 ARICHComponentTest (int id, TTimeStamp timeStamp, int type, TObject *data)
 Constructor.
 
 ~ARICHComponentTest ()
 Destructor.
 
int getTestID () const
 Get test identifier.
 
void setTestID (int id)
 Set test identifier.
 
std::string getComponentID ()
 Get component identifier.
 
void setComponentID (const std::string &componentID)
 Set component identifier.
 
TTimeStamp getTestTimeStamp () const
 Get date of test measurement.
 
void setTestTimeStamp (TTimeStamp timeStamp)
 Set date of test measurement.
 
int getMeasurementType () const
 Get measurement type.
 
void setMeasurementType (int type)
 Set measurement type.
 
TObject * getMeasurementData () const
 Get measurement data.
 
void setMeasurementData (TObject *data)
 Set measurement data.
 
std::string getComponentTestComment ()
 Get comment.
 
void setComponentTestComment (const std::string &comment)
 Set comment.
 

Private Member Functions

 ClassDef (ARICHComponentTest, 1)
 ClassDef.
 

Private Attributes

int m_id
 Test Identfier.
 
std::string m_componentID
 Component identifier.
 
TTimeStamp m_timeStamp
 Date of test measurement.
 
int m_type
 Measurement type.
 
TObject * m_data
 Measurement data.
 
std::string m_comment
 optional comment
 

Detailed Description

Test of the ARICH component.

Definition at line 23 of file ARICHComponentTest.h.

Constructor & Destructor Documentation

◆ ARICHComponentTest() [1/2]

ARICHComponentTest ( )
inline

Default constructor.

Definition at line 30 of file ARICHComponentTest.h.

30: m_id(0), m_componentID(""), m_timeStamp(), m_type(0), m_data(NULL), m_comment("") {};
std::string m_comment
optional comment
TTimeStamp m_timeStamp
Date of test measurement.
TObject * m_data
Measurement data.
std::string m_componentID
Component identifier.
int m_type
Measurement type.

◆ ARICHComponentTest() [2/2]

ARICHComponentTest ( int  id,
TTimeStamp  timeStamp,
int  type,
TObject *  data 
)
inline

Constructor.

Definition at line 35 of file ARICHComponentTest.h.

35 : m_id(id), m_componentID(""), m_timeStamp(timeStamp),
36 m_type(type), m_data(data), m_comment("") {};

◆ ~ARICHComponentTest()

~ARICHComponentTest ( )
inline

Destructor.

Definition at line 41 of file ARICHComponentTest.h.

41{};

Member Function Documentation

◆ getComponentID()

std::string getComponentID ( )

Get component identifier.

Returns
Component identifier.

◆ getComponentTestComment()

std::string getComponentTestComment ( )

Get comment.

Returns
Comment.

◆ getMeasurementData()

TObject * getMeasurementData ( ) const
inline

Get measurement data.

Returns
Measurement data.

Definition at line 96 of file ARICHComponentTest.h.

96{return m_data;}

◆ getMeasurementType()

int getMeasurementType ( ) const
inline

Get measurement type.

Returns
Measurement type.

Definition at line 84 of file ARICHComponentTest.h.

84{return m_type; }

◆ getTestID()

int getTestID ( ) const
inline

Get test identifier.

Returns
Test identifier.

Definition at line 48 of file ARICHComponentTest.h.

48{return m_id; }

◆ getTestTimeStamp()

TTimeStamp getTestTimeStamp ( ) const
inline

Get date of test measurement.

Returns
Date of test measurement.

Definition at line 72 of file ARICHComponentTest.h.

72{return m_timeStamp; }

◆ setComponentID()

void setComponentID ( const std::string &  componentID)
inline

Set component identifier.

Parameters
[in]componentIDComponent identifier.

Definition at line 66 of file ARICHComponentTest.h.

66{m_componentID = componentID; }

◆ setComponentTestComment()

void setComponentTestComment ( const std::string &  comment)
inline

Set comment.

Parameters
[in]commentComment.

Definition at line 114 of file ARICHComponentTest.h.

114{m_comment = comment; }

◆ setMeasurementData()

void setMeasurementData ( TObject *  data)
inline

Set measurement data.

Parameters
[in]dataMeasurement data.

Definition at line 102 of file ARICHComponentTest.h.

102{m_data = data;}

◆ setMeasurementType()

void setMeasurementType ( int  type)
inline

Set measurement type.

Parameters
[in]typeMeasurement type.

Definition at line 90 of file ARICHComponentTest.h.

90{ m_type = type;}

◆ setTestID()

void setTestID ( int  id)
inline

Set test identifier.

Parameters
[in]idTest identifier.

Definition at line 54 of file ARICHComponentTest.h.

54{ m_id = id;}

◆ setTestTimeStamp()

void setTestTimeStamp ( TTimeStamp  timeStamp)
inline

Set date of test measurement.

Parameters
[in]timeStampDate of test measurement.

Definition at line 78 of file ARICHComponentTest.h.

78{m_timeStamp = timeStamp; }

Member Data Documentation

◆ m_comment

std::string m_comment
private

optional comment

Definition at line 122 of file ARICHComponentTest.h.

◆ m_componentID

std::string m_componentID
private

Component identifier.

Definition at line 118 of file ARICHComponentTest.h.

◆ m_data

TObject* m_data
private

Measurement data.

Definition at line 121 of file ARICHComponentTest.h.

◆ m_id

int m_id
private

Test Identfier.

Definition at line 117 of file ARICHComponentTest.h.

◆ m_timeStamp

TTimeStamp m_timeStamp
private

Date of test measurement.

Definition at line 119 of file ARICHComponentTest.h.

◆ m_type

int m_type
private

Measurement type.

Definition at line 120 of file ARICHComponentTest.h.


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