Belle II Software  release-08-01-10
ARICHAerogelMap Class Reference

Map of the Aerogel placement. More...

#include <ARICHAerogelMap.h>

Inheritance diagram for ARICHAerogelMap:
Collaboration diagram for ARICHAerogelMap:

Public Types

enum  { c_layers = 2 }
 Various constants. More...
 

Public Member Functions

 ARICHAerogelMap ()
 Default constructor.
 
 ARICHAerogelMap (const std::string &id, int ring, int column, unsigned int *layer, TTimeStamp timeStamp, const std::string &comment)
 Constructor.
 
 ~ARICHAerogelMap ()
 Destructor.
 
std::string getAerogelSN () const
 Return Aerogel serial number. More...
 
void setAerogelSN (const std::string &agelid)
 Set Aerogel serial number. More...
 
int getAerogelRingID () const
 Return Aerogel Ring Identifier. More...
 
void setAerogelRingID (int ring)
 Set Aerogel Ring Identifier. More...
 
int getAerogelColumnID () const
 Return Aerogel Column Identifier. More...
 
void setAerogelColumnID (int column)
 Set Aerogel Column Identifier. More...
 
unsigned int getAerogelLayer (unsigned i) const
 Return Aerogel Layer Identifier. More...
 
void setAerogelLayer (unsigned int i, unsigned int layer)
 Set aerogel info of layer i. More...
 
TTimeStamp getAerogelTimeStamp () const
 Return Aerogel installation date. More...
 
void setTimeStamp (TTimeStamp timeStamp)
 Set Aerogel installation date. More...
 
std::string getAerogelMapComment () const
 Return comment. More...
 
void setAerogelMapComment (const std::string &comment)
 Set comment. More...
 

Private Member Functions

 ClassDef (ARICHAerogelMap, 2)
 ClassDef.
 

Private Attributes

std::string m_id
 Aerogel Identifier.
 
int m_ring
 Aerogel Ring Identifier.
 
int m_column
 Aerogel Column identifier.
 
unsigned int m_layer [c_layers]
 Aerogel Layers.
 
TTimeStamp m_timeStamp
 Installation Date.
 
std::string m_comment
 optional comment
 

Detailed Description

Map of the Aerogel placement.

Definition at line 22 of file ARICHAerogelMap.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Various constants.

Enumerator
c_layers 

number of layers

Definition at line 27 of file ARICHAerogelMap.h.

27  {c_layers = 2,
28  };
@ c_layers
number of layers

Member Function Documentation

◆ getAerogelColumnID()

int getAerogelColumnID ( ) const
inline

Return Aerogel Column Identifier.

Returns
Aerogel Column

Definition at line 80 of file ARICHAerogelMap.h.

◆ getAerogelLayer()

unsigned int getAerogelLayer ( unsigned  i) const
inline

Return Aerogel Layer Identifier.

Returns
Aerogel Layer

Definition at line 92 of file ARICHAerogelMap.h.

◆ getAerogelMapComment()

std::string getAerogelMapComment ( ) const
inline

Return comment.

Returns
comment

Definition at line 114 of file ARICHAerogelMap.h.

◆ getAerogelRingID()

int getAerogelRingID ( ) const
inline

Return Aerogel Ring Identifier.

Returns
Aerogel Ring

Definition at line 68 of file ARICHAerogelMap.h.

◆ getAerogelSN()

std::string getAerogelSN ( ) const
inline

Return Aerogel serial number.

Returns
Aerogel serial number

Definition at line 57 of file ARICHAerogelMap.h.

◆ getAerogelTimeStamp()

TTimeStamp getAerogelTimeStamp ( ) const
inline

Return Aerogel installation date.

Returns
Aerogel installation date

Definition at line 104 of file ARICHAerogelMap.h.

◆ setAerogelColumnID()

void setAerogelColumnID ( int  column)
inline

Set Aerogel Column Identifier.

Parameters
ColumnIdentifier

Definition at line 86 of file ARICHAerogelMap.h.

◆ setAerogelLayer()

void setAerogelLayer ( unsigned int  i,
unsigned int  layer 
)

Set aerogel info of layer i.

Parameters
iaerogel layer

Definition at line 16 of file ARICHAerogelMap.cc.

17 {
18  if (i < c_layers) m_layer[i] = layer;
19 }
unsigned int m_layer[c_layers]
Aerogel Layers.

◆ setAerogelMapComment()

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

Set comment.

Parameters
comment

Definition at line 119 of file ARICHAerogelMap.h.

◆ setAerogelRingID()

void setAerogelRingID ( int  ring)
inline

Set Aerogel Ring Identifier.

Parameters
RingIdentifier

Definition at line 74 of file ARICHAerogelMap.h.

◆ setAerogelSN()

void setAerogelSN ( const std::string &  agelid)
inline

Set Aerogel serial number.

Parameters
Aerogelserial number

Definition at line 62 of file ARICHAerogelMap.h.

◆ setTimeStamp()

void setTimeStamp ( TTimeStamp  timeStamp)
inline

Set Aerogel installation date.

Parameters
Aerogelinstallation date

Definition at line 109 of file ARICHAerogelMap.h.


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