10#ifndef CBMSTAR2019TOFPAR_H
11#define CBMSTAR2019TOFPAR_H
13#include "FairParGenericSet.h"
26 CbmStar2019TofPar(
const char* name =
"CbmStar2019TofPar",
const char* title =
"Tof unpacker parameters",
27 const char* context =
"Default");
120 8, 7, 6, 5, 12, 11, 10, 9, 16, 15, 14, 13, 20, 19,
121 18, 17, 24, 23, 22, 21, 28, 27, 26, 25, 32, 31, 30, 29};
125 4, 3, 2, 1, 12, 11, 10, 9, 20, 19, 18, 17, 28, 27, 26, 25,
126 32, 31, 30, 29, 8, 7, 6, 5, 16, 15, 14, 13, 24, 23, 22, 21};
127 const UInt_t
kuElinkToGet4[
kuNbGet4PerGbtx] = {27, 2, 7, 3, 31, 26, 30, 1, 33, 37, 32, 13, 9, 14,
128 10, 15, 17, 21, 16, 35, 34, 38, 25, 24, 0, 6, 20, 23,
129 18, 22, 28, 4, 29, 5, 19, 36, 39, 8, 12, 11};
130 const UInt_t
kuGet4ToElink[
kuNbGet4PerGbtx] = {24, 7, 1, 3, 31, 33, 25, 2, 37, 12, 14, 39, 38, 11,
131 13, 15, 18, 16, 28, 34, 26, 17, 29, 27, 23, 22, 5, 0,
132 30, 32, 6, 4, 10, 8, 20, 19, 35, 9, 21, 36};
140 0x000, 0x010, 0x020, 0x030, 0x040, 0x050, 0x060, 0x070, 0x080, 0x090, 0x0A0, 0x0B0, 0x0C0,
141 0x0D0, 0x0E0, 0x0F0, 0x100, 0x110, 0x120, 0x130, 0x140, 0x150, 0x160, 0x170, 0x180, 0x190,
142 0x1A0, 0x1B0, 0x1C0, 0x1D0, 0x1E0, 0x1F0, 0x200, 0x210, 0x220, 0x230, 0x240, 0x250, 0x260,
143 0x270, 0x280, 0x290, 0x2A0, 0x2B0, 0x2C0, 0x2D0, 0x2E0, 0x2F0, 0x300, 0x310, 0x320, 0x330,
144 0x340, 0x350, 0x360, 0x370, 0x380, 0x390, 0x3A0, 0x3B0, 0x3C0, 0x3D0, 0x3E0, 0x3F0, 0x3FF};
146 -652.6, -631.2, -611.4, -590.6, -570.9, -550.0, -529.9, -509.4, -490.6, -469.5, -449.3, -428.5, -408.5,
147 -388.2, -367.8, -347.2, -329.2, -308.2, -287.5, -266.8, -246.9, -226.0, -205.6, -185.0, -165.7, -144.9,
148 -124.4, -103.8, -83.4, -62.9, -42.4, -21.2, -5.3, 15.5, 36.2, 56.8, 77.3, 97.8, 118.4,
149 139.1, 158.7, 179.2, 199.7, 220.2, 240.8, 261.1, 281.7, 302.2, 321.3, 341.4, 362.0, 382.2,
150 402.9, 422.8, 443.4, 463.7, 483.7, 503.7, 524.1, 544.3, 565.0, 585.0, 605.5, 626.0, 646.1};
TArrayD fdStarTriggerDelay
Int_t GetRpcType(UInt_t uGbtx)
static constexpr UInt_t GetNrOfChannelsPerFee()
Bool_t GetDebugMonitorMode()
static constexpr UInt_t GetNrOfGet4PerGdpb()
static const uint32_t kuNbChannelsPerFee
static constexpr UInt_t GetNrOfFeePerGdpb()
const UInt_t kuGet4topadi[kuNbChannelsPerFee]
Mapping in Readout chain PCBs.
Int_t GetModuleId(UInt_t uGbtx)
static const uint32_t kuNbGet4PerGdpb
Int_t GetNrOfRpc(UInt_t uGbtx)
UInt_t GetNumberOfChannels()
Bool_t getParams(FairParamList *)
static const uint32_t kuNbGet4PerGbtx
void putParams(FairParamList *)
Double_t GetStarTriggDeadtime(UInt_t uGdpb)
static constexpr UInt_t GetNrOfGet4PerGbtx()
CbmStar2019TofPar(const char *name="CbmStar2019TofPar", const char *title="Tof unpacker parameters", const char *context="Default")
static const uint32_t kuNbChannelsPerGdpb
static constexpr UInt_t GetNrOfGbtxPerGdpb()
static const uint32_t kuNbFeePerGbtx
static const uint32_t kuNbGbtxPerGdpb
Double_t GetStarTriggWinSize(UInt_t uGdpb)
static const uint32_t kuGdpbToSectorOffset
Mapping in STAR.
static constexpr UInt_t GetNbByteMessage()
Int_t ElinkIdxToGet4Idx(UInt_t uElink)
Int_t fiMonitorMode
Variables.
const UInt_t kuGet4ToElink[kuNbGet4PerGbtx]
Int_t PadiChanToGet4Chan(UInt_t uChannelInFee)
static const uint32_t kuNbPadiThrCodes
PADI threshold measures and extrapolated code to value map.
static constexpr UInt_t GetNrOfChannelsPerGdpb()
static const uint32_t kuNbGet4PerFee
ClassDef(CbmStar2019TofPar, 1)
TArrayD fdStarTriggerWinSize
static constexpr UInt_t GetGdpbToSectorOffset()
const UInt_t kuPaditoget4[kuNbChannelsPerFee]
Map from GET4 channel to PADI channel.
const Double_t kdThrMeasVal[kuNbThrMeasPoints]
Double_t GetStarTriggAllowedSpread()
static const uint32_t kuNbThrMeasPoints
Int_t Get4IdxToElinkIdx(UInt_t uGet4)
static const uint32_t kuNbChannelsPerGet4
Readout chain.
static const uint32_t kuBytesPerMessage
const UInt_t kuElinkToGet4[kuNbGet4PerGbtx]
Map from PADI channel to GET4 channel.
static constexpr UInt_t GetNrOfChannelsPerGbtx()
Int_t Get4ChanToPadiChan(UInt_t uChannelInFee)
static constexpr UInt_t GetNrOfFeePerGbtx()
Double_t fdStarTriggAllowedSpread
static constexpr UInt_t GetNrOfChannelsPerGet4()
virtual ~CbmStar2019TofPar()
static const uint32_t kuNbChannelsPerGbtx
static constexpr UInt_t GetNrOfPadiThrCodes()
static const uint32_t kuNbFeePerGdpb
static constexpr UInt_t GetNrOfGet4PerFee()
Int_t GetRpcSide(UInt_t uGbtx)
Double_t GetPadiThresholdVal(UInt_t uCode)
const UInt_t kuThrMeasCode[kuNbThrMeasPoints]
Double_t GetStarTriggDelay(UInt_t uGdpb)
TArrayD fdStarTriggerDeadtime
std::vector< Double_t > fvdPadiThrCodeToValue