CbmRoot
Loading...
Searching...
No Matches
cbm::trd Namespace Reference

Namespaces

namespace  geo
 

Classes

struct  FEB
 
struct  READOUT
 

Enumerations

enum class  eAsic : int { kSpadic = 0 , kFasp = 1 , kNotSet }
 
enum class  ePadPlane : int { k1d = 0 , k2d = 1 , kNotSet }
 
enum class  eWindow : int { kThin = 0 , kThick , kNotSet }
 
enum class  eGas : int { kAr = 0 , kXe , kNotSet }
 
enum  eModuleConfig { kPPtyp = 0 , kFEEtyp = 1 }
 
enum class  eModuleTypes1D : int {
  kHighChDensitySmallR = 1 , kLowChDensitySmallR = 3 , kHighChDensityLargeR = 5 , kLowChDensityLargeR = 7 ,
  kMcbmModule , kNmoduleTypes = 5
}
 

Functions

bool HasFaspFEE (uint16_t config)
 Inquire the FEE read-out type of the module.
 
bool HasSpadicFEE (uint16_t config)
 
bool HasPadPlane2D (uint16_t config)
 Inquire the pad-plane type of the chamber.
 
bool HasPadPlane1D (uint16_t config)
 
void SetFEE (uint16_t config, bool fasp=true)
 Define the read-out FEE type of the module.
 
void SetPP (uint16_t config, bool twod=true)
 Define the pad-plane type of the chamber.
 

Variables

static READOUT mod1D [9]
 
static const READOUT mod2D [3]
 
static constexpr FEB faspFeb [2]
 

Enumeration Type Documentation

◆ eAsic

enum class cbm::trd::eAsic : int
strong
Enumerator
kSpadic 

SPADIC type definition.

kFasp 

FASP ASIC definition.

kNotSet 

ASIC not set / recognized.

Definition at line 17 of file CbmTrdDefs.h.

◆ eGas

enum class cbm::trd::eGas : int
strong
Enumerator
kAr 

ArCO2 active gas.

kXe 

XeCO2 active gas.

kNotSet 

active gas not set / recognized

Definition at line 41 of file CbmTrdDefs.h.

◆ eModuleConfig

16 bits bit map for module configuration [0] - chamber's pad-plane type; 0 rectangular pads, 1 triangular pads,

See also
SetRO [1] - chamber's FEE type; 0 SPADIC, 1 FASP,
SetFEE [2] -
[3] -
[4] -
[5] -
[6] -
[7] -
Enumerator
kPPtyp 

toggle pad-plane type of the chamber

kFEEtyp 

toggle FEE type for the module

Definition at line 59 of file CbmTrdDefs.h.

◆ eModuleTypes1D

enum class cbm::trd::eModuleTypes1D : int
strong
Enumerator
kHighChDensitySmallR 
kLowChDensitySmallR 
kHighChDensityLargeR 
kLowChDensityLargeR 
kMcbmModule 
kNmoduleTypes 

Definition at line 66 of file CbmTrdDefs.h.

◆ ePadPlane

enum class cbm::trd::ePadPlane : int
strong
Enumerator
k1d 

rectangular 1D case

k2d 

triangular 2D case

kNotSet 

pad=plane not set / recognized

Definition at line 25 of file CbmTrdDefs.h.

◆ eWindow

enum class cbm::trd::eWindow : int
strong
Enumerator
kThin 

1D case (Al+mylar)

kThick 

2D case (Kapton + C + HC)

kNotSet 

window not set / recognized

Definition at line 33 of file CbmTrdDefs.h.

Function Documentation

◆ HasFaspFEE()

bool cbm::trd::HasFaspFEE ( uint16_t config)

Inquire the FEE read-out type of the module.

Returns
false for SPADIC and true for FASP

Definition at line 9 of file CbmTrdDefs.cxx.

References TESTBIT.

Referenced by HasSpadicFEE().

◆ HasPadPlane1D()

bool cbm::trd::HasPadPlane1D ( uint16_t config)

Definition at line 12 of file CbmTrdDefs.cxx.

References HasPadPlane2D().

◆ HasPadPlane2D()

bool cbm::trd::HasPadPlane2D ( uint16_t config)

Inquire the pad-plane type of the chamber.

Returns
false for TRD-1D and true for TRD-2D

Definition at line 11 of file CbmTrdDefs.cxx.

References TESTBIT.

Referenced by CbmTrdParModDigi::GetPadPlaneType(), and HasPadPlane1D().

◆ HasSpadicFEE()

bool cbm::trd::HasSpadicFEE ( uint16_t config)

Definition at line 10 of file CbmTrdDefs.cxx.

References HasFaspFEE().

◆ SetFEE()

void cbm::trd::SetFEE ( uint16_t config,
bool fasp = true )

Define the read-out FEE type of the module.

Parameters
[in]settrue for FASP and false [default] for SPADIC

Definition at line 13 of file CbmTrdDefs.cxx.

References CLRBIT, and SETBIT.

Referenced by cbm::trd::geo::ChamberBuilder::Init().

◆ SetPP()

void cbm::trd::SetPP ( uint16_t config,
bool twod = true )

Define the pad-plane type of the chamber.

Parameters
[in]settrue for TRD-2D and false [default] for TRD-1D

Definition at line 17 of file CbmTrdDefs.cxx.

References CLRBIT, and SETBIT.

Referenced by cbm::trd::geo::ChamberBuilder::Init().

Variable Documentation

◆ faspFeb

FEB cbm::trd::faspFeb[2]
staticconstexpr
Initial value:
= {
{6, 16, 30},
{12, 16, 15}
}

Definition at line 158 of file CbmTrdDefs.h.

Referenced by cbm::trd::geo::Setup::Module::getParams(), cbm::trd::geo::ChamberBuilder::FEB::Init(), and cbm::trd::geo::ReadFebInfo().

◆ mod1D

READOUT cbm::trd::mod1D[9]
static

Definition at line 94 of file CbmTrdDefs.h.

Referenced by cbm::trd::geo::Setup::Module::getParams().

◆ mod2D

const READOUT cbm::trd::mod2D[3]
static
Initial value:
= {
{1, 72, 20, 180, 5, 54.0, {54.0, 0., 0.}},
{1, 72, 20, 180, 5, 54.0, {55.8, 0., 0.}},
{1, 32, 3, 6, 1, 23.04, {8.16, 0., 0.}}}

Definition at line 142 of file CbmTrdDefs.h.

Referenced by cbm::trd::geo::Setup::Module::getParams().