Go to the documentation of this file.
10 #include "FairDetParIo.h"
11 #include "FairLogger.h"
12 #include "FairParIo.h"
13 #include "FairParamList.h"
21 : FairParGenericSet(name, title, context)
22 , fvdPadiThrCodeToValue(GetNrOfPadiThrCodes(), 0.0)
25 , fiNrOfFeesPerGdpb(-1)
26 , fiNrOfGet4PerFee(-1)
27 , fiNrOfChannelsPerGet4(-1)
37 , fdStarTriggerDeadtime()
38 , fdStarTriggerDelay()
39 , fdStarTriggerWinSize()
40 , fdTsDeadtimePeriod(0.0) {
54 for (UInt_t uStep = 1; uStep < uNbSteps; ++uStep) {
105 if (!l)
return kFALSE;
107 if (!l->fill(
"NrOfGdpbs", &
fiNrOfGdpb))
return kFALSE;
116 if (!l->fill(
"NrOfGbtx", &
fiNrOfGbtx))
return kFALSE;
118 if (!l->fill(
"NrOfModule", &
fiNrOfModule))
return kFALSE;
121 if (!l->fill(
"NrOfRpc", &
fiNrOfRpc))
return kFALSE;
124 if (!l->fill(
"RpcType", &
fiRpcType))
return kFALSE;
127 if (!l->fill(
"RpcSide", &
fiRpcSide))
return kFALSE;
130 if (!l->fill(
"ModuleId", &
fiModuleId))
return kFALSE;
132 if (!l->fill(
"NbMsTot", &
fiNbMsTot))
return kFALSE;
134 if (!l->fill(
"SizeMsInNs", &
fdSizeMsInNs))
return kFALSE;
152 <<
"CbmMcbm2018TofPar::Get4ChanToPadiChan => Index out of bound, "
153 << uChannelInFee <<
" vs "
155 <<
", returning crazy value!";
164 <<
"CbmMcbm2018TofPar::PadiChanToGet4Chan => Index out of bound, "
165 << uChannelInFee <<
" vs "
167 <<
", returning crazy value!";
179 LOG(fatal) <<
"CbmMcbm2018TofPar::ElinkIdxToGet4Idx => Index out of bound, "
182 <<
", returning crazy value!";
193 LOG(fatal) <<
"CbmMcbm2018TofPar::Get4IdxToElinkIdx => Index out of bound, "
196 <<
", returning crazy value!";
206 <<
"CbmStar2019TofPar::GetPadiThresholdVal => Code out of bound, "
Int_t PadiChanToGet4Chan(UInt_t uChannelInFee)
TArrayD fdStarTriggerDelay
Int_t ElinkIdxToGet4Idx(UInt_t uElink)
std::vector< Double_t > fvdPadiThrCodeToValue
Double_t fdTsDeadtimePeriod
const Double_t kdThrMeasVal[kuNbThrMeasPoints]
const UInt_t kuThrMeasCode[kuNbThrMeasPoints]
static const uint32_t kuNbGet4PerGdpb
TArrayD fdStarTriggerWinSize
TArrayD fdStarTriggerDeadtime
Bool_t getParams(FairParamList *)
static const uint32_t kuNbThrMeasPoints
const UInt_t kuGet4ToElink[kuNbGet4PerGbtx]
Int_t Get4IdxToElinkIdx(UInt_t uGet4)
Int_t fiNrOfChannelsPerGet4
const uint32_t kuChipIdMergedEpoch
static const uint32_t kuNbChannelsPerFee
static constexpr UInt_t GetNrOfPadiThrCodes()
const UInt_t kuGet4topadi[kuNbChannelsPerFee]
Mapping in Readout chain PCBs.
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
CbmMcbm2018TofPar(const char *name="CbmMcbm2018TofPar", const char *title="Tof unpacker parameters", const char *context="Default")
virtual ~CbmMcbm2018TofPar()
void putParams(FairParamList *)
Int_t Get4ChanToPadiChan(UInt_t uChannelInFee)
static const uint32_t kuNbGet4PerGbtx
const UInt_t kuPaditoget4[kuNbChannelsPerFee]
Map from GET4 channel to PADI channel.
const UInt_t kuElinkToGet4[kuNbGet4PerGbtx]
Map from PADI channel to GET4 channel.
Double_t GetPadiThresholdVal(UInt_t uCode)