Project
Loading...
Searching...
No Matches
o2::mid::detparams Namespace Reference

MID detector parameters. More...

Functions

int getChamber (int deId)
 
int getRPCLine (int deId)
 
bool isRightSide (int deId)
 
void assertDEId (int deId)
 
int getDEId (bool isRight, int chamber, int rpc)
 
std::string getDEName (int deId)
 
uint16_t makeUniqueFEEId (int deId, int columnId, int lineId)
 
int getDEIdFromFEEId (uint16_t uniqueFEEId)
 
int getColumnIdFromFEEId (uint16_t uniqueFEEId)
 
int getLineIdFromFEEId (uint16_t uniqueFEEId)
 

Variables

constexpr int NChambers = 4
 Number of chambers.
 
constexpr int NDetectionElements = 72
 Number of RPCs.
 
constexpr int NDetectionElementsPerSide = 36
 Number of detection elements per side.
 
constexpr int NLocalBoards = 234
 Number of local boards per chamber.
 
constexpr int NRPCLines = 9
 Number of RPC lines.
 
constexpr int NStripsBP = 16
 Number of strips in the Bending Plane.
 

Detailed Description

MID detector parameters.

Function Documentation

◆ assertDEId()

void o2::mid::detparams::assertDEId ( int  deId)

Checks if the detection element ID is valid

Parameters
deIdThe detection element ID

Definition at line 29 of file DetectorParameters.cxx.

◆ getChamber()

int o2::mid::detparams::getChamber ( int  deId)
inline

Gets the chamber index from detection element ID

Parameters
deIdThe detection element ID

Definition at line 39 of file DetectorParameters.h.

◆ getColumnIdFromFEEId()

int o2::mid::detparams::getColumnIdFromFEEId ( uint16_t  uniqueFEEId)
inline

Gets the column ID from the unique FEE ID

Parameters
uniqueFEEIdUnique FEE ID
Returns
Column ID

Definition at line 78 of file DetectorParameters.h.

◆ getDEId()

int o2::mid::detparams::getDEId ( bool  isRight,
int  chamber,
int  rpc 
)

Gets detection element Id

Parameters
isRightRPC is in right side
chamberThe chamber ID (0-3)
rpcRPC ID (0-8)

Definition at line 36 of file DetectorParameters.cxx.

◆ getDEIdFromFEEId()

int o2::mid::detparams::getDEIdFromFEEId ( uint16_t  uniqueFEEId)
inline

Gets the detection element ID from the unique FEE ID

Parameters
uniqueFEEIdUnique FEE ID
Returns
Detection element ID

Definition at line 73 of file DetectorParameters.h.

◆ getDEName()

std::string o2::mid::detparams::getDEName ( int  deId)

Gets the detection element name from its ID

Parameters
deIdThe detection element ID

Definition at line 42 of file DetectorParameters.cxx.

◆ getLineIdFromFEEId()

int o2::mid::detparams::getLineIdFromFEEId ( uint16_t  uniqueFEEId)
inline

Gets the line ID from the unique FEE ID

Parameters
uniqueFEEIdUnique FEE ID
Returns
Line ID

Definition at line 83 of file DetectorParameters.h.

◆ getRPCLine()

int o2::mid::detparams::getRPCLine ( int  deId)
inline

Gets the chamber index from detection element ID

Parameters
deIdThe detection element ID

Definition at line 43 of file DetectorParameters.h.

◆ isRightSide()

bool o2::mid::detparams::isRightSide ( int  deId)
inline

Check if the detection element is in the right side

Parameters
deIdThe detection element ID

Definition at line 47 of file DetectorParameters.h.

◆ makeUniqueFEEId()

uint16_t o2::mid::detparams::makeUniqueFEEId ( int  deId,
int  columnId,
int  lineId 
)
inline

Makes the unique Front-End Electronics ID

Parameters
deIdThe detection element ID
columnIdColumn ID
lineIdLine in column
Returns
unique FEE ID

Definition at line 68 of file DetectorParameters.h.

Variable Documentation

◆ NChambers

constexpr int o2::mid::detparams::NChambers = 4
constexpr

Number of chambers.

Definition at line 30 of file DetectorParameters.h.

◆ NDetectionElements

constexpr int o2::mid::detparams::NDetectionElements = 72
constexpr

Number of RPCs.

Definition at line 31 of file DetectorParameters.h.

◆ NDetectionElementsPerSide

constexpr int o2::mid::detparams::NDetectionElementsPerSide = 36
constexpr

Number of detection elements per side.

Definition at line 32 of file DetectorParameters.h.

◆ NLocalBoards

constexpr int o2::mid::detparams::NLocalBoards = 234
constexpr

Number of local boards per chamber.

Definition at line 33 of file DetectorParameters.h.

◆ NRPCLines

constexpr int o2::mid::detparams::NRPCLines = 9
constexpr

Number of RPC lines.

Definition at line 34 of file DetectorParameters.h.

◆ NStripsBP

constexpr int o2::mid::detparams::NStripsBP = 16
constexpr

Number of strips in the Bending Plane.

Definition at line 35 of file DetectorParameters.h.