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

Enumerations

enum class  RPCtype { Long , BottomCut , TopCut , Short }
 

Functions

bool isShortRPC (int deId)
 
double getLocalBoardHeight (int chamber)
 
double getLocalBoardWidth (int chamber)
 
double getRPCCenterPosX (int chamber, int rpc)
 
double getRPCHalfLength (int chamber, int rpc)
 
double getRPCHalfHeight (int chamber)
 
double getStripUnitPitchSize (int chamber)
 
RPCtype getRPCType (int deId)
 
std::string getRPCVolumeName (RPCtype type, int iChamber)
 
std::string getChamberVolumeName (int chamber)
 

Variables

constexpr double BeamAngle = -0.794
 Angle between beam position and horizontal.
 
constexpr double LocalBoardHeight = 17.
 Local board height in the first chamber.
 
constexpr double LocalBoardWidth = 34.
 Local board width in the first chamber.
 
constexpr double RPCCenterPos = 129.5
 Position of most RPCs in the right side of the first chamber.
 
constexpr double RPCHalfLength = 127.5
 Half length of most RPCs in the first chamber.
 
constexpr double RPCShortCenterPos = 155.
 Position of the short RPC in the right side of the first chamber.
 
constexpr double RPCShortHalfLength = 102.
 Half length of the short RPC in the first chamber.
 
constexpr double RPCZShift = 3.6
 Default shift of the RPC z position with respect to the average chamber position.
 
constexpr double StripUnitPitchSize = 1.0625
 Unit pitch size of the strip in the first chamber.
 
constexpr std::array< const double, 4 > ChamberScaleFactors {{1., 1.01060, 1.06236, 1.07296}}
 Array of scale factors for projective geometry.
 
constexpr std::array< const double, 4 > DefaultChamberZ {{-1603.5, -1620.5, -1703.5, -1720.5}}
 Array of default z position of the chamber.
 

Enumeration Type Documentation

◆ RPCtype

enum class o2::mid::geoparams::RPCtype
strong
Enumerator
Long 
BottomCut 
TopCut 
Short 

Definition at line 44 of file GeometryParameters.h.

Function Documentation

◆ getChamberVolumeName()

std::string o2::mid::geoparams::getChamberVolumeName ( int  chamber)

Returns the chamber name in the geometry

Returns the chamber name in the geometry

Definition at line 66 of file GeometryParameters.cxx.

◆ getLocalBoardHeight()

double o2::mid::geoparams::getLocalBoardHeight ( int  chamber)
inline

Returns the height of the local board in the chamber

Parameters
chamberThe chamber ID (0-3)

Definition at line 55 of file GeometryParameters.h.

◆ getLocalBoardWidth()

double o2::mid::geoparams::getLocalBoardWidth ( int  chamber)
inline

Returns the height of the local board in the chamber

Parameters
chamberThe chamber ID (0-3)

Definition at line 59 of file GeometryParameters.h.

◆ getRPCCenterPosX()

double o2::mid::geoparams::getRPCCenterPosX ( int  chamber,
int  rpc 
)
inline

Returns the position of the center of the RPC in the chamber

Parameters
chamberThe chamber ID (0-3)
rpcThe RPC ID (0-9)

Definition at line 64 of file GeometryParameters.h.

◆ getRPCHalfHeight()

double o2::mid::geoparams::getRPCHalfHeight ( int  chamber)
inline

Returns the half height of the RPC in the chamber

Parameters
chamberThe chamber ID (0-3)

Definition at line 79 of file GeometryParameters.h.

◆ getRPCHalfLength()

double o2::mid::geoparams::getRPCHalfLength ( int  chamber,
int  rpc 
)
inline

Returns the half length of the RPC in the chamber

Parameters
chamberThe chamber ID (0-3)
rpcThe RPC ID (0-9)

Definition at line 72 of file GeometryParameters.h.

◆ getRPCType()

RPCtype o2::mid::geoparams::getRPCType ( int  deId)

Gets the RPC type

Gets the RPC type

Definition at line 50 of file GeometryParameters.cxx.

◆ getRPCVolumeName()

std::string o2::mid::geoparams::getRPCVolumeName ( RPCtype  type,
int  iChamber 
)

Gets the RPC volume name

Gets the RPC volume name

Definition at line 28 of file GeometryParameters.cxx.

◆ getStripUnitPitchSize()

double o2::mid::geoparams::getStripUnitPitchSize ( int  chamber)
inline

Returns the unit strip pitch size in the chamber

Parameters
chamberThe chamber ID (0-3)

Definition at line 83 of file GeometryParameters.h.

◆ isShortRPC()

bool o2::mid::geoparams::isShortRPC ( int  deId)
inline

The RPC is a short one

Parameters
deIdThe detection element ID

Definition at line 51 of file GeometryParameters.h.

Variable Documentation

◆ BeamAngle

constexpr double o2::mid::geoparams::BeamAngle = -0.794
constexpr

Angle between beam position and horizontal.

Definition at line 28 of file GeometryParameters.h.

◆ ChamberScaleFactors

constexpr std::array<const double, 4> o2::mid::geoparams::ChamberScaleFactors {{1., 1.01060, 1.06236, 1.07296}}
constexpr

Array of scale factors for projective geometry.

Definition at line 41 of file GeometryParameters.h.

◆ DefaultChamberZ

constexpr std::array<const double, 4> o2::mid::geoparams::DefaultChamberZ {{-1603.5, -1620.5, -1703.5, -1720.5}}
constexpr

Array of default z position of the chamber.

Definition at line 42 of file GeometryParameters.h.

◆ LocalBoardHeight

constexpr double o2::mid::geoparams::LocalBoardHeight = 17.
constexpr

Local board height in the first chamber.

Definition at line 32 of file GeometryParameters.h.

◆ LocalBoardWidth

constexpr double o2::mid::geoparams::LocalBoardWidth = 34.
constexpr

Local board width in the first chamber.

Definition at line 33 of file GeometryParameters.h.

◆ RPCCenterPos

constexpr double o2::mid::geoparams::RPCCenterPos = 129.5
constexpr

Position of most RPCs in the right side of the first chamber.

Definition at line 34 of file GeometryParameters.h.

◆ RPCHalfLength

constexpr double o2::mid::geoparams::RPCHalfLength = 127.5
constexpr

Half length of most RPCs in the first chamber.

Definition at line 35 of file GeometryParameters.h.

◆ RPCShortCenterPos

constexpr double o2::mid::geoparams::RPCShortCenterPos = 155.
constexpr

Position of the short RPC in the right side of the first chamber.

Definition at line 36 of file GeometryParameters.h.

◆ RPCShortHalfLength

constexpr double o2::mid::geoparams::RPCShortHalfLength = 102.
constexpr

Half length of the short RPC in the first chamber.

Definition at line 37 of file GeometryParameters.h.

◆ RPCZShift

constexpr double o2::mid::geoparams::RPCZShift = 3.6
constexpr

Default shift of the RPC z position with respect to the average chamber position.

Definition at line 38 of file GeometryParameters.h.

◆ StripUnitPitchSize

constexpr double o2::mid::geoparams::StripUnitPitchSize = 1.0625
constexpr

Unit pitch size of the strip in the first chamber.

Definition at line 39 of file GeometryParameters.h.