Belle II Software development
ARICHSensorModuleMap Class Reference

Mapping of the sensor-board connections to the detector. More...

#include <ARICHSensorModuleMap.h>

Inheritance diagram for ARICHSensorModuleMap:

Public Member Functions

 ARICHSensorModuleMap ()
 Default constructor.
 
 ARICHSensorModuleMap (int sextant, int ring, int column, int sensorID, ARICHSensorModuleInfo *sensor, ARICHMergerInfo *merger, int port, ARICHCableInfo *cableHv, ARICHCableInfo **cableBias, ARICHCableInfo *cableGuard, TTimeStamp timeStamp)
 Constructor.
 
 ~ARICHSensorModuleMap ()
 Destructor.
 
int getSensorModuleSextantID () const
 Get sensor-module sextant identifier.
 
void setSensorModuleSextantID (int sextant)
 Set sensor-module sextant identifier.
 
int getSensorModuleRingID () const
 Get sensor-module ring identifier.
 
void setSensorModuleRingID (int ring)
 Set sensor-module ring identifier.
 
int getSensorGlobalID () const
 Get sensor global identifier.
 
void setSensorGlobalID (int sensorID)
 Set sensor global identifier.
 
int getSensorModuleColumnID () const
 Get sensor-module column identifier.
 
void setSensorModuleColumnID (int column)
 Set sensor-module column identifier.
 
ARICHSensorModuleInfogetSensorModuleId () const
 Get sensor-module identifier.
 
void setSensorModuleId (ARICHSensorModuleInfo *sensor)
 Set sensor-module identifier.
 
ARICHMergerInfogetMergerId () const
 Get merger identifier.
 
void setMergerId (ARICHMergerInfo *merger)
 Set merger identifier.
 
ARICHCableInfogetCableHighVoltageId () const
 Get high-voltage cable identifier.
 
void setCableHighVoltageId (ARICHCableInfo *cableHv)
 Set high-voltage cable identifier.
 
ARICHCableInfogetCableBiasVoltageId (unsigned int i)
 Get bias-voltage cable identifier.
 
void setCableBiasVoltageId (unsigned int i, ARICHCableInfo **cableBias)
 Set bias-voltage cable identifier.
 
ARICHCableInfogetCableGuard () const
 Get guard-cable identifier.
 
void setCableGuard (ARICHCableInfo *cableGuard)
 Set guard-cable identifier.
 
TTimeStamp getTimeStamp () const
 Get installation date.
 
void setTimeStamp (TTimeStamp timeStamp)
 Set installation date.
 

Private Member Functions

 ClassDef (ARICHSensorModuleMap, 2)
 ClassDef.
 

Private Attributes

int m_sextant
 Sextant identification.
 
int m_ring
 Photon Detector Ring Identifier.
 
int m_column
 Photon Detector Column_id Identifier.
 
int m_sensorID
 Global ID number.
 
ARICHSensorModuleInfom_sensor
 Sensor Module identifier.
 
ARICHMergerInfom_merger
 Merger Board identifier

 
int m_port
 Merger Board port identifier.
 
ARICHCableInfom_cableHv
 HV Cable Identifier.
 
ARICHCableInfom_cableBias [4]
 Bias Cable Identifier.
 
ARICHCableInfom_cableGuard
 Guard Cable Identifier.
 
TTimeStamp m_timeStamp
 Installation Date.
 

Detailed Description

Mapping of the sensor-board connections to the detector.

Definition at line 25 of file ARICHSensorModuleMap.h.

Constructor & Destructor Documentation

◆ ARICHSensorModuleMap() [1/2]

Default constructor.

Definition at line 32 of file ARICHSensorModuleMap.h.

32 : m_sextant(0), m_ring(0), m_column(0), m_sensorID(0), m_sensor(NULL), m_merger(NULL), m_port(0),
33 m_cableHv(NULL), m_cableGuard(NULL), m_timeStamp()
34 {
35 for (unsigned i = 0; i < 4; i++) m_cableBias[i] = NULL;
36 };
TTimeStamp m_timeStamp
Installation Date.
int m_column
Photon Detector Column_id Identifier.
ARICHMergerInfo * m_merger
Merger Board identifier
ARICHCableInfo * m_cableBias[4]
Bias Cable Identifier.
int m_port
Merger Board port identifier.
int m_ring
Photon Detector Ring Identifier.
ARICHCableInfo * m_cableGuard
Guard Cable Identifier.
int m_sextant
Sextant identification.
ARICHSensorModuleInfo * m_sensor
Sensor Module identifier.
ARICHCableInfo * m_cableHv
HV Cable Identifier.

◆ ARICHSensorModuleMap() [2/2]

ARICHSensorModuleMap ( int  sextant,
int  ring,
int  column,
int  sensorID,
ARICHSensorModuleInfo sensor,
ARICHMergerInfo merger,
int  port,
ARICHCableInfo cableHv,
ARICHCableInfo **  cableBias,
ARICHCableInfo cableGuard,
TTimeStamp  timeStamp 
)
inline

Constructor.

Definition at line 42 of file ARICHSensorModuleMap.h.

44 : m_sextant(sextant),
45 m_ring(ring), m_column(column), m_sensorID(sensorID), m_sensor(sensor), m_merger(merger), m_port(port), m_cableHv(cableHv),
46 m_cableGuard(cableGuard),
47 m_timeStamp(timeStamp)
48 {
49 for (unsigned i = 0; i < 4; i++) m_cableBias[i] = cableBias[i];
50 }

◆ ~ARICHSensorModuleMap()

~ARICHSensorModuleMap ( )
inline

Destructor.

Definition at line 55 of file ARICHSensorModuleMap.h.

55{};

Member Function Documentation

◆ getCableBiasVoltageId()

ARICHCableInfo * getCableBiasVoltageId ( unsigned int  i)
inline

Get bias-voltage cable identifier.

Parameters
iIndex of the chip.
Returns
Bias-voltage cable identifier.

Definition at line 146 of file ARICHSensorModuleMap.h.

146{if (i < 4) return m_cableBias[i]; else return NULL; }

◆ getCableGuard()

ARICHCableInfo * getCableGuard ( ) const
inline

Get guard-cable identifier.

Returns
Guard-cable identifier.

Definition at line 159 of file ARICHSensorModuleMap.h.

159{return m_cableGuard; }

◆ getCableHighVoltageId()

ARICHCableInfo * getCableHighVoltageId ( ) const
inline

Get high-voltage cable identifier.

Returns
High-voltage cable identifier.

Definition at line 133 of file ARICHSensorModuleMap.h.

133{return m_cableHv; }

◆ getMergerId()

ARICHMergerInfo * getMergerId ( ) const
inline

Get merger identifier.

Returns
Merger identifier.

Definition at line 121 of file ARICHSensorModuleMap.h.

121{return m_merger; }

◆ getSensorGlobalID()

int getSensorGlobalID ( ) const
inline

Get sensor global identifier.

Returns
Global identifier.

Definition at line 85 of file ARICHSensorModuleMap.h.

85{return m_sensorID;}

◆ getSensorModuleColumnID()

int getSensorModuleColumnID ( ) const
inline

Get sensor-module column identifier.

Returns
Sensor-module column.

Definition at line 97 of file ARICHSensorModuleMap.h.

97{return m_column;}

◆ getSensorModuleId()

ARICHSensorModuleInfo * getSensorModuleId ( ) const
inline

Get sensor-module identifier.

Returns
Sensor-module identifier.

Definition at line 109 of file ARICHSensorModuleMap.h.

109{return m_sensor; }

◆ getSensorModuleRingID()

int getSensorModuleRingID ( ) const
inline

Get sensor-module ring identifier.

Returns
Sensor-module ring.

Definition at line 73 of file ARICHSensorModuleMap.h.

73{return m_ring;}

◆ getSensorModuleSextantID()

int getSensorModuleSextantID ( ) const
inline

Get sensor-module sextant identifier.

Returns
Sensor-module sextant.

Definition at line 61 of file ARICHSensorModuleMap.h.

61{return m_sextant;}

◆ getTimeStamp()

TTimeStamp getTimeStamp ( ) const
inline

Get installation date.

Returns
Installation date.

Definition at line 171 of file ARICHSensorModuleMap.h.

171{return m_timeStamp; }

◆ setCableBiasVoltageId()

void setCableBiasVoltageId ( unsigned int  i,
ARICHCableInfo **  cableBias 
)
inline

Set bias-voltage cable identifier.

Parameters
iIndex of the chip.
[in]cableBiasBias-voltage cable identifier.

Definition at line 153 of file ARICHSensorModuleMap.h.

153{if (i < 4) m_cableBias[i] = cableBias[i]; }

◆ setCableGuard()

void setCableGuard ( ARICHCableInfo cableGuard)
inline

Set guard-cable identifier.

Parameters
[in]cableGuardGuard-cable Identifier.

Definition at line 165 of file ARICHSensorModuleMap.h.

165{m_cableGuard = cableGuard; }

◆ setCableHighVoltageId()

void setCableHighVoltageId ( ARICHCableInfo cableHv)
inline

Set high-voltage cable identifier.

Parameters
[in]cableHvHigh-voltage cable identifier.

Definition at line 139 of file ARICHSensorModuleMap.h.

139{m_cableHv = cableHv; }

◆ setMergerId()

void setMergerId ( ARICHMergerInfo merger)
inline

Set merger identifier.

Parameters
[in]mergerMerger identifier.

Definition at line 127 of file ARICHSensorModuleMap.h.

127{m_merger = merger; }

◆ setSensorGlobalID()

void setSensorGlobalID ( int  sensorID)
inline

Set sensor global identifier.

Parameters
[in]sensorIDGlobal identifier

Definition at line 91 of file ARICHSensorModuleMap.h.

91{m_sensorID = sensorID;}

◆ setSensorModuleColumnID()

void setSensorModuleColumnID ( int  column)
inline

Set sensor-module column identifier.

Parameters
[in]columnColumn identifier

Definition at line 103 of file ARICHSensorModuleMap.h.

103{m_column = column;}

◆ setSensorModuleId()

void setSensorModuleId ( ARICHSensorModuleInfo sensor)
inline

Set sensor-module identifier.

Parameters
[in]sensorSensor-module identifier.

Definition at line 115 of file ARICHSensorModuleMap.h.

115{m_sensor = sensor; }

◆ setSensorModuleRingID()

void setSensorModuleRingID ( int  ring)
inline

Set sensor-module ring identifier.

Parameters
[in]ringRing Identifier.

Definition at line 79 of file ARICHSensorModuleMap.h.

79{m_ring = ring;}

◆ setSensorModuleSextantID()

void setSensorModuleSextantID ( int  sextant)
inline

Set sensor-module sextant identifier.

Parameters
[in]sextantSextant identifier.

Definition at line 67 of file ARICHSensorModuleMap.h.

67{m_sextant = sextant;}

◆ setTimeStamp()

void setTimeStamp ( TTimeStamp  timeStamp)
inline

Set installation date.

Parameters
[in]timeStampInstallation date.

Definition at line 177 of file ARICHSensorModuleMap.h.

177{m_timeStamp = timeStamp; }

Member Data Documentation

◆ m_cableBias

ARICHCableInfo* m_cableBias[4]
private

Bias Cable Identifier.

Definition at line 189 of file ARICHSensorModuleMap.h.

◆ m_cableGuard

ARICHCableInfo* m_cableGuard
private

Guard Cable Identifier.

Definition at line 190 of file ARICHSensorModuleMap.h.

◆ m_cableHv

ARICHCableInfo* m_cableHv
private

HV Cable Identifier.

Definition at line 188 of file ARICHSensorModuleMap.h.

◆ m_column

int m_column
private

Photon Detector Column_id Identifier.

Definition at line 183 of file ARICHSensorModuleMap.h.

◆ m_merger

ARICHMergerInfo* m_merger
private

Merger Board identifier

Definition at line 186 of file ARICHSensorModuleMap.h.

◆ m_port

int m_port
private

Merger Board port identifier.

Definition at line 187 of file ARICHSensorModuleMap.h.

◆ m_ring

int m_ring
private

Photon Detector Ring Identifier.

Definition at line 182 of file ARICHSensorModuleMap.h.

◆ m_sensor

ARICHSensorModuleInfo* m_sensor
private

Sensor Module identifier.

Definition at line 185 of file ARICHSensorModuleMap.h.

◆ m_sensorID

int m_sensorID
private

Global ID number.

Definition at line 184 of file ARICHSensorModuleMap.h.

◆ m_sextant

int m_sextant
private

Sextant identification.

Definition at line 181 of file ARICHSensorModuleMap.h.

◆ m_timeStamp

TTimeStamp m_timeStamp
private

Installation Date.

Definition at line 191 of file ARICHSensorModuleMap.h.


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