Belle II Software development
ARICHMirrorMap Class Reference

Mapping of the mirrors on the detector. More...

#include <ARICHMirrorMap.h>

Inheritance diagram for ARICHMirrorMap:

Public Member Functions

 ARICHMirrorMap ()
 Default constructor.
 
 ARICHMirrorMap (ARICHMirrorInfo *mirror, int column, TTimeStamp timeStamp)
 Constructor.
 
 ARICHMirrorMap (ARICHMirrorInfo *mirror, int column, TTimeStamp timeStamp, const std::string &comment)
 Constructor.
 
 ~ARICHMirrorMap ()
 Destructor.
 
ARICHMirrorInfogetMirrorID () const
 Return Mirror Identifier.
 
void setMirrorID (ARICHMirrorInfo *mirror)
 Set Mirror Identifier.
 
int getMirrorPosition () const
 Return Position on the detector.
 
void setMirrorPosition (int column)
 Set Position on the detector.
 
TTimeStamp getMirrorTimeStamp () const
 Return Installation date.
 
void setMirrorTimeStamp (TTimeStamp timeStamp)
 Set Installation date.
 
std::string getMirrorComment () const
 Return comment.
 
void setMirrorComment (const std::string &comment)
 Set comment.
 

Private Member Functions

 ClassDef (ARICHMirrorMap, 1)
 ClassDef.
 

Private Attributes

ARICHMirrorInfom_mirror
 Mirror identifier.
 
int m_column
 Position on the detector.
 
TTimeStamp m_timeStamp
 Installation Date.
 
std::string m_comment
 optional comment
 

Detailed Description

Mapping of the mirrors on the detector.

Definition at line 24 of file ARICHMirrorMap.h.

Constructor & Destructor Documentation

◆ ARICHMirrorMap() [1/3]

ARICHMirrorMap ( )
inline

Default constructor.

Definition at line 29 of file ARICHMirrorMap.h.

29: m_mirror(NULL), m_column(0), m_timeStamp(), m_comment("") {};
std::string m_comment
optional comment
TTimeStamp m_timeStamp
Installation Date.
int m_column
Position on the detector.
ARICHMirrorInfo * m_mirror
Mirror identifier.

◆ ARICHMirrorMap() [2/3]

ARICHMirrorMap ( ARICHMirrorInfo mirror,
int  column,
TTimeStamp  timeStamp 
)
inline

Constructor.

Definition at line 34 of file ARICHMirrorMap.h.

34 : m_mirror(mirror), m_column(column),
35 m_timeStamp(timeStamp), m_comment("") {};

◆ ARICHMirrorMap() [3/3]

ARICHMirrorMap ( ARICHMirrorInfo mirror,
int  column,
TTimeStamp  timeStamp,
const std::string &  comment 
)
inline

Constructor.

Definition at line 40 of file ARICHMirrorMap.h.

40 : m_mirror(mirror),
41 m_column(column),
42 m_timeStamp(timeStamp), m_comment(comment) {};

◆ ~ARICHMirrorMap()

~ARICHMirrorMap ( )
inline

Destructor.

Definition at line 47 of file ARICHMirrorMap.h.

47{};

Member Function Documentation

◆ getMirrorComment()

std::string getMirrorComment ( ) const
inline

Return comment.

Returns
comment

Definition at line 82 of file ARICHMirrorMap.h.

82{return m_comment; }

◆ getMirrorID()

ARICHMirrorInfo * getMirrorID ( ) const
inline

Return Mirror Identifier.

Returns
Mirror Identifier

Definition at line 52 of file ARICHMirrorMap.h.

52{return m_mirror; }

◆ getMirrorPosition()

int getMirrorPosition ( ) const
inline

Return Position on the detector.

Returns
Position on the detector

Definition at line 62 of file ARICHMirrorMap.h.

62{return m_column; }

◆ getMirrorTimeStamp()

TTimeStamp getMirrorTimeStamp ( ) const
inline

Return Installation date.

Returns
Installation date

Definition at line 72 of file ARICHMirrorMap.h.

72{return m_timeStamp; }

◆ setMirrorComment()

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

Set comment.

Parameters
comment

Definition at line 87 of file ARICHMirrorMap.h.

87{m_comment = comment; }

◆ setMirrorID()

void setMirrorID ( ARICHMirrorInfo mirror)
inline

Set Mirror Identifier.

Parameters
mirrorMirror Identifier

Definition at line 57 of file ARICHMirrorMap.h.

57{m_mirror = mirror; }

◆ setMirrorPosition()

void setMirrorPosition ( int  column)
inline

Set Position on the detector.

Parameters
columnPosition on the detector

Definition at line 67 of file ARICHMirrorMap.h.

67{m_column = column; }

◆ setMirrorTimeStamp()

void setMirrorTimeStamp ( TTimeStamp  timeStamp)
inline

Set Installation date.

Parameters
timeStampInstallation date

Definition at line 77 of file ARICHMirrorMap.h.

77{m_timeStamp = timeStamp; }

Member Data Documentation

◆ m_column

int m_column
private

Position on the detector.

Definition at line 93 of file ARICHMirrorMap.h.

◆ m_comment

std::string m_comment
private

optional comment

Definition at line 95 of file ARICHMirrorMap.h.

◆ m_mirror

ARICHMirrorInfo* m_mirror
private

Mirror identifier.

Definition at line 92 of file ARICHMirrorMap.h.

◆ m_timeStamp

TTimeStamp m_timeStamp
private

Installation Date.

Definition at line 94 of file ARICHMirrorMap.h.


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