13#ifndef CBMMCBM2018MUCHPAR_H
14#define CBMMCBM2018MUCHPAR_H
16#include "FairParGenericSet.h"
29 CbmMcbm2018MuchPar(
const char* name =
"CbmMcbm2018MuchPar",
const char* title =
"Much parameters",
30 const char* context =
"Default");
79 Short_t
GetPadXA(UShort_t febid, UShort_t channelid);
80 Short_t
GetPadYA(UShort_t febid, UShort_t channelid);
81 Short_t
GetPadXB(UShort_t febid, UShort_t channelid);
82 Short_t
GetPadYB(UShort_t febid, UShort_t channelid);
86 Double_t
GetRealX(Int_t Channel, Int_t Sector);
90 Short_t
GetPadXRpc(UShort_t febid, UShort_t channelid);
91 Short_t
GetPadYRpc(UShort_t febid, UShort_t channelid);
95 Bool_t
IsFebActive(UInt_t uDpbIdx, UInt_t uCrobIdx, UInt_t uFebIdx);
117 0x0001, 0x0001, 0x0001, 0x0001, 0x0001,
118 0x0002, 0x0002, 0x0002, 0x0002, 0x0003,
119 0x0003, 0x0003, 0x0003, 0x0003, 0x0004,
120 0x0004, 0x0004, 0x0004, 0x0004, 0x0005,
121 0x0005, 0x0005, 0x0005, 0x0006, 0x0006,
122 0x0006, 0x0006, 0x0006, 0x0007, 0x0007,
123 0x0007, 0x0007, 0x0007, 0x0008, 0x0008,
138 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4,
139 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8};
Int_t ElinkIdxToFebIdx(UInt_t uElink)
virtual ~CbmMcbm2018MuchPar()
void putParams(FairParamList *)
CbmMcbm2018MuchPar(const char *name="CbmMcbm2018MuchPar", const char *title="Much parameters", const char *context="Default")
static constexpr UInt_t GetNbElinkPerCrob()
Double_t GetRealPadSize(Int_t)
static const UInt_t kuNbElinksPerCrob
TArrayI fChannelsToPadYRpc
static constexpr UInt_t GetNbFebsPerCrob()
TArrayI fnFebsIdsArrayGemB
Short_t GetPadXA(UShort_t febid, UShort_t channelid)
TArrayI fnFebsIdsArrayGemA
static constexpr UInt_t GetNbChanPerAsic()
static constexpr UInt_t GetNbAsicsPerDpb()
const Int_t kiCrobMapElinkFebIdx[kuNbElinksPerCrob]
Map from eLink index to ASIC index within CROB ( 0 to kuNbFebsPerCrob * kuNbAsicPerFeb )
UInt_t GetNrOfFebsInRpc()
static constexpr UInt_t GetNbAsicsPerCrob()
Short_t GetPadXB(UShort_t febid, UShort_t channelid)
static constexpr UInt_t GetNbChanPerFeb()
UInt_t ElinkIdxToAsicIdxFebMuch(UInt_t uElink)
TArrayI fChannelsToPadXRpc
UInt_t fuNrOfDpbs
Map from eLink index to ASIC index within CROB ( 0 to kuNbFebsPerCrob * kuNbAsicPerFeb )
static const UInt_t kuNbCrobsPerDpb
Constants.
UInt_t GetDpbId(UInt_t uDpbIdx)
Short_t GetPadXRpc(UShort_t febid, UShort_t channelid)
Short_t GetPadYRpc(UShort_t febid, UShort_t channelid)
Short_t GetPadYB(UShort_t febid, UShort_t channelid)
UInt_t ElinkIdxToAsicIdx(UInt_t uElink)
Short_t GetPadYA(UShort_t febid, UShort_t channelid)
static const UInt_t kuNbFebsPerCrob
TArrayI fnFebsIdsArrayRpc
UInt_t GetNrOfFebsInGemB()
Bool_t IsCrobActive(UInt_t uDpbIdx, UInt_t uCrobIdx)
Bool_t IsFebActive(UInt_t uFebInSystIdx)
static const UInt_t kuNbAsicsPerFeb
static const UInt_t kuNbChanPerAsic
UInt_t GetNrOfFebsInGemA()
static constexpr UInt_t GetNbFebsPerDpb()
static constexpr UInt_t GetNbCrobsPerDpb()
Bool_t getParams(FairParamList *)
ClassDef(CbmMcbm2018MuchPar, 2)
static constexpr UInt_t GetNbAsicsPerFeb()
const UInt_t kuCrobMapElinkFebMuch[kuNbElinksPerCrob]