CbmRoot
|
#include <CbmStar2019TofPar.h>
Public Member Functions | |
CbmStar2019TofPar (const char *name="CbmStar2019TofPar", const char *title="Tof unpacker parameters", const char *context="Default") | |
virtual | ~CbmStar2019TofPar () |
virtual void | clear () |
void | putParams (FairParamList *) |
Bool_t | getParams (FairParamList *) |
Int_t | GetNrOfGdpbs () |
Int_t | GetGdpbId (Int_t i) |
UInt_t | GetNumberOfChannels () |
Int_t | Get4ChanToPadiChan (UInt_t uChannelInFee) |
Int_t | PadiChanToGet4Chan (UInt_t uChannelInFee) |
Int_t | ElinkIdxToGet4Idx (UInt_t uElink) |
Int_t | Get4IdxToElinkIdx (UInt_t uGet4) |
Double_t | GetPadiThresholdVal (UInt_t uCode) |
Bool_t | GetMonitorMode () |
Bool_t | GetDebugMonitorMode () |
Int_t | GetNrOfGbtx () |
Int_t | GetNrOfModules () |
Int_t | GetNrOfRpc (UInt_t uGbtx) |
Int_t | GetRpcType (UInt_t uGbtx) |
Int_t | GetRpcSide (UInt_t uGbtx) |
Int_t | GetModuleId (UInt_t uGbtx) |
Double_t | GetSizeMsInNs () |
Double_t | GetStarTriggAllowedSpread () |
Double_t | GetStarTriggDeadtime (UInt_t uGdpb) |
Double_t | GetStarTriggDelay (UInt_t uGdpb) |
Double_t | GetStarTriggWinSize (UInt_t uGdpb) |
Static Public Member Functions | |
static constexpr UInt_t | GetNbByteMessage () |
static constexpr UInt_t | GetNrOfChannelsPerGet4 () |
static constexpr UInt_t | GetNrOfGet4PerFee () |
static constexpr UInt_t | GetNrOfFeePerGbtx () |
static constexpr UInt_t | GetNrOfGbtxPerGdpb () |
static constexpr UInt_t | GetNrOfChannelsPerFee () |
static constexpr UInt_t | GetNrOfChannelsPerGbtx () |
static constexpr UInt_t | GetNrOfChannelsPerGdpb () |
static constexpr UInt_t | GetNrOfGet4PerGbtx () |
static constexpr UInt_t | GetNrOfGet4PerGdpb () |
static constexpr UInt_t | GetNrOfFeePerGdpb () |
static constexpr UInt_t | GetGdpbToSectorOffset () |
static constexpr UInt_t | GetNrOfPadiThrCodes () |
Private Member Functions | |
ClassDef (CbmStar2019TofPar, 1) | |
Private Attributes | |
const UInt_t | kuGet4topadi [kuNbChannelsPerFee] |
Mapping in Readout chain PCBs. More... | |
const UInt_t | kuPaditoget4 [kuNbChannelsPerFee] |
Map from GET4 channel to PADI channel. More... | |
const UInt_t | kuElinkToGet4 [kuNbGet4PerGbtx] |
Map from PADI channel to GET4 channel. More... | |
const UInt_t | kuGet4ToElink [kuNbGet4PerGbtx] |
const UInt_t | kuThrMeasCode [kuNbThrMeasPoints] |
const Double_t | kdThrMeasVal [kuNbThrMeasPoints] |
std::vector< Double_t > | fvdPadiThrCodeToValue |
Int_t | fiMonitorMode |
Variables. More... | |
Int_t | fiDebugMonitorMode |
Int_t | fiNrOfGdpb |
TArrayI | fiGdpbIdArray |
Int_t | fiNrOfGbtx |
Int_t | fiNrOfModule |
TArrayI | fiNrOfRpc |
TArrayI | fiRpcType |
TArrayI | fiRpcSide |
TArrayI | fiModuleId |
Double_t | fdSizeMsInNs |
Double_t | fdStarTriggAllowedSpread |
TArrayD | fdStarTriggerDeadtime |
TArrayD | fdStarTriggerDelay |
TArrayD | fdStarTriggerWinSize |
Static Private Attributes | |
static const uint32_t | kuBytesPerMessage = 8 |
static const uint32_t | kuNbChannelsPerGet4 = 4 |
Readout chain. More... | |
static const uint32_t | kuNbGet4PerFee = 8 |
static const uint32_t | kuNbFeePerGbtx = 5 |
static const uint32_t | kuNbGbtxPerGdpb = 6 |
static const uint32_t | kuNbChannelsPerFee |
static const uint32_t | kuNbChannelsPerGbtx |
static const uint32_t | kuNbChannelsPerGdpb |
static const uint32_t | kuNbGet4PerGbtx = kuNbGet4PerFee * kuNbFeePerGbtx |
static const uint32_t | kuNbGet4PerGdpb = kuNbGet4PerGbtx * kuNbGbtxPerGdpb |
static const uint32_t | kuNbFeePerGdpb = kuNbFeePerGbtx * kuNbGbtxPerGdpb |
static const uint32_t | kuGdpbToSectorOffset = 13 |
Mapping in STAR. More... | |
static const uint32_t | kuNbPadiThrCodes = 1024 |
PADI threshold measures and extrapolated code to value map. More... | |
static const uint32_t | kuNbThrMeasPoints = 65 |
Definition at line 18 of file CbmStar2019TofPar.h.
CbmStar2019TofPar::CbmStar2019TofPar | ( | const char * | name = "CbmStar2019TofPar" , |
const char * | title = "Tof unpacker parameters" , |
||
const char * | context = "Default" |
||
) |
Standard constructor
PADI threshold measures and extrapolated code to value map
Linear extrapolation between measured points
Definition at line 18 of file CbmStar2019TofPar.cxx.
References fvdPadiThrCodeToValue, kdThrMeasVal, kuNbThrMeasPoints, and kuThrMeasCode.
|
virtual |
Destructor
Definition at line 63 of file CbmStar2019TofPar.cxx.
|
private |
|
virtual |
Reset all parameters
Definition at line 68 of file CbmStar2019TofPar.cxx.
Int_t CbmStar2019TofPar::ElinkIdxToGet4Idx | ( | UInt_t | uElink | ) |
Definition at line 169 of file CbmStar2019TofPar.cxx.
References GetNrOfGet4PerGdpb(), gdpbv100::kuChipIdMergedEpoch, kuElinkToGet4, and kuNbGet4PerGbtx.
Referenced by CbmStar2019MonitorPulserAlgo::ProcessEpSupprBuffer(), CbmStar2019EventBuilderEtofAlgo::ProcessEpSupprBuffer(), CbmStar2019MonitorAlgo::ProcessEpSupprBuffer(), CbmStar2019MonitorPulserAlgo::ProcessMs(), CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmStar2019MonitorAlgo::ProcessMs(), and CbmStar2019MonitorAlgo::ProcessPattern().
Int_t CbmStar2019TofPar::Get4ChanToPadiChan | ( | UInt_t | uChannelInFee | ) |
Definition at line 146 of file CbmStar2019TofPar.cxx.
References GetNrOfChannelsPerFee(), and kuGet4topadi.
Referenced by CbmStar2019MonitorPulserAlgo::ProcessHit(), and CbmStar2019MonitorAlgo::ProcessHit().
Int_t CbmStar2019TofPar::Get4IdxToElinkIdx | ( | UInt_t | uGet4 | ) |
Definition at line 182 of file CbmStar2019TofPar.cxx.
References GetNrOfGet4PerGdpb(), gdpbv100::kuChipIdMergedEpoch, kuGet4ToElink, and kuNbGet4PerGbtx.
|
inline |
Definition at line 82 of file CbmStar2019TofPar.h.
References fiDebugMonitorMode.
|
inline |
Definition at line 39 of file CbmStar2019TofPar.h.
References fiGdpbIdArray, and i.
Referenced by CbmStar2019EventBuilderEtofAlgo::BuildEvents(), CbmStar2019EventBuilderEtofAlgo::InitParameters(), CbmStar2019MonitorPulserAlgo::InitParameters(), CbmStar2019MonitorAlgo::InitParameters(), CbmStar2019TofFeeThr::ReInitContainers(), and CbmStar2019MonitorTof::ReInitContainers().
|
inlinestaticconstexpr |
Definition at line 72 of file CbmStar2019TofPar.h.
References kuGdpbToSectorOffset.
Referenced by CbmStar2019EventBuilderEtofAlgo::BuildEvents(), CbmStar2019MonitorAlgo::CreateHistograms(), CbmStar2019MonitorPulserAlgo::CreateHistograms(), CbmStar2019EventBuilderEtofAlgo::CreateHistograms(), CbmStar2019MonitorPulserAlgo::InitParameters(), CbmStar2019MonitorAlgo::InitParameters(), CbmStar2019MonitorAlgo::ProcessHit(), CbmStar2019MonitorAlgo::ProcessMs(), CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger(), and CbmStar2019MonitorAlgo::ProcessTs().
Int_t CbmStar2019TofPar::GetModuleId | ( | UInt_t | uGbtx | ) |
Definition at line 237 of file CbmStar2019TofPar.cxx.
References fiModuleId, and fiNrOfGbtx.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters(), and CbmStar2019MonitorTof::ReInitContainers().
|
inline |
Definition at line 79 of file CbmStar2019TofPar.h.
References fiMonitorMode.
|
inlinestaticconstexpr |
Definition at line 36 of file CbmStar2019TofPar.h.
References kuBytesPerMessage.
Referenced by CbmStar2019EventBuilderEtofAlgo::ProcessMs().
|
inlinestaticconstexpr |
Definition at line 51 of file CbmStar2019TofPar.h.
References kuNbChannelsPerFee.
Referenced by Get4ChanToPadiChan(), and PadiChanToGet4Chan().
|
inlinestaticconstexpr |
Definition at line 52 of file CbmStar2019TofPar.h.
References kuNbChannelsPerGbtx.
|
inlinestaticconstexpr |
Definition at line 55 of file CbmStar2019TofPar.h.
References kuNbChannelsPerGdpb.
|
inlinestaticconstexpr |
Definition at line 45 of file CbmStar2019TofPar.h.
References kuNbChannelsPerGet4.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters(), CbmStar2019MonitorAlgo::InitParameters(), CbmStar2019MonitorPulserAlgo::InitParameters(), CbmStar2019MonitorTof::ReInitContainers(), and CbmStar2019TofFeeThr::ReInitContainers().
|
inlinestaticconstexpr |
Definition at line 49 of file CbmStar2019TofPar.h.
References kuNbFeePerGbtx.
|
inlinestaticconstexpr |
Definition at line 60 of file CbmStar2019TofPar.h.
References kuNbFeePerGdpb.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters(), CbmStar2019MonitorPulserAlgo::InitParameters(), and CbmStar2019MonitorAlgo::InitParameters().
|
inline |
Definition at line 86 of file CbmStar2019TofPar.h.
References fiNrOfGbtx.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters(), CbmStar2019TofFeeThr::ReInitContainers(), and CbmStar2019MonitorTof::ReInitContainers().
|
inlinestaticconstexpr |
Definition at line 50 of file CbmStar2019TofPar.h.
References kuNbGbtxPerGdpb.
|
inline |
Definition at line 38 of file CbmStar2019TofPar.h.
References fiNrOfGdpb.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters(), CbmStar2019MonitorAlgo::InitParameters(), CbmStar2019MonitorPulserAlgo::InitParameters(), CbmStar2019MonitorTof::ReInitContainers(), and CbmStar2019TofFeeThr::ReInitContainers().
|
inlinestaticconstexpr |
Definition at line 48 of file CbmStar2019TofPar.h.
References kuNbGet4PerFee.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters(), CbmStar2019MonitorAlgo::InitParameters(), CbmStar2019MonitorPulserAlgo::InitParameters(), CbmStar2019MonitorTof::ReInitContainers(), and CbmStar2019TofFeeThr::ReInitContainers().
|
inlinestaticconstexpr |
Definition at line 58 of file CbmStar2019TofPar.h.
References kuNbGet4PerGbtx.
|
inlinestaticconstexpr |
Definition at line 59 of file CbmStar2019TofPar.h.
References kuNbGet4PerGdpb.
Referenced by ElinkIdxToGet4Idx(), Get4IdxToElinkIdx(), and CbmStar2019EventBuilderEtofAlgo::ProcessMs().
|
inline |
Definition at line 87 of file CbmStar2019TofPar.h.
References fiNrOfModule.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters(), and CbmStar2019MonitorTof::ReInitContainers().
|
inlinestaticconstexpr |
Definition at line 76 of file CbmStar2019TofPar.h.
References kuNbPadiThrCodes.
Referenced by GetPadiThresholdVal().
Int_t CbmStar2019TofPar::GetNrOfRpc | ( | UInt_t | uGbtx | ) |
Definition at line 207 of file CbmStar2019TofPar.cxx.
References fiNrOfGbtx, and fiNrOfRpc.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters(), and CbmStar2019MonitorTof::ReInitContainers().
|
inline |
Definition at line 62 of file CbmStar2019TofPar.h.
References fiNrOfGdpb, and kuNbChannelsPerGdpb.
Referenced by CbmStar2019EventBuilderEtofAlgo::ProcessHit().
Double_t CbmStar2019TofPar::GetPadiThresholdVal | ( | UInt_t | uCode | ) |
Definition at line 196 of file CbmStar2019TofPar.cxx.
References fvdPadiThrCodeToValue, and GetNrOfPadiThrCodes().
Referenced by CbmStar2019MonitorAlgo::ProcessSlowCtrl().
Bool_t CbmStar2019TofPar::getParams | ( | FairParamList * | l | ) |
Definition at line 97 of file CbmStar2019TofPar.cxx.
References fdSizeMsInNs, fdStarTriggAllowedSpread, fdStarTriggerDeadtime, fdStarTriggerDelay, fdStarTriggerWinSize, fiDebugMonitorMode, fiGdpbIdArray, fiModuleId, fiMonitorMode, fiNrOfGbtx, fiNrOfGdpb, fiNrOfModule, fiNrOfRpc, fiRpcSide, and fiRpcType.
Int_t CbmStar2019TofPar::GetRpcSide | ( | UInt_t | uGbtx | ) |
Definition at line 227 of file CbmStar2019TofPar.cxx.
References fiNrOfGbtx, and fiRpcSide.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters(), and CbmStar2019MonitorTof::ReInitContainers().
Int_t CbmStar2019TofPar::GetRpcType | ( | UInt_t | uGbtx | ) |
Definition at line 217 of file CbmStar2019TofPar.cxx.
References fiNrOfGbtx, and fiRpcType.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters(), and CbmStar2019MonitorTof::ReInitContainers().
|
inline |
Definition at line 93 of file CbmStar2019TofPar.h.
References fdSizeMsInNs.
Referenced by CbmStar2019EventBuilderEtof::InitContainers(), CbmStar2019EventBuilderEtofAlgo::InitParameters(), CbmStar2019MonitorPulserAlgo::InitParameters(), CbmStar2019MonitorAlgo::InitParameters(), CbmStar2019TofFeeThr::ReInitContainers(), and CbmStar2019MonitorTof::ReInitContainers().
|
inline |
Definition at line 95 of file CbmStar2019TofPar.h.
References fdStarTriggAllowedSpread.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters().
Double_t CbmStar2019TofPar::GetStarTriggDeadtime | ( | UInt_t | uGdpb | ) |
Definition at line 248 of file CbmStar2019TofPar.cxx.
References fdStarTriggerDeadtime, and fiNrOfGdpb.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters().
Double_t CbmStar2019TofPar::GetStarTriggDelay | ( | UInt_t | uGdpb | ) |
Definition at line 259 of file CbmStar2019TofPar.cxx.
References fdStarTriggerDelay, and fiNrOfGdpb.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters().
Double_t CbmStar2019TofPar::GetStarTriggWinSize | ( | UInt_t | uGdpb | ) |
Definition at line 269 of file CbmStar2019TofPar.cxx.
References fdStarTriggerWinSize, and fiNrOfGdpb.
Referenced by CbmStar2019EventBuilderEtofAlgo::InitParameters().
Int_t CbmStar2019TofPar::PadiChanToGet4Chan | ( | UInt_t | uChannelInFee | ) |
Definition at line 157 of file CbmStar2019TofPar.cxx.
References GetNrOfChannelsPerFee(), and kuPaditoget4.
void CbmStar2019TofPar::putParams | ( | FairParamList * | l | ) |
Definition at line 76 of file CbmStar2019TofPar.cxx.
References fdSizeMsInNs, fdStarTriggAllowedSpread, fdStarTriggerDelay, fdStarTriggerWinSize, fiDebugMonitorMode, fiGdpbIdArray, fiModuleId, fiMonitorMode, fiNrOfGbtx, fiNrOfGdpb, fiNrOfModule, fiNrOfRpc, fiRpcSide, and fiRpcType.
|
private |
Definition at line 193 of file CbmStar2019TofPar.h.
Referenced by getParams(), GetSizeMsInNs(), and putParams().
|
private |
Definition at line 196 of file CbmStar2019TofPar.h.
Referenced by getParams(), GetStarTriggAllowedSpread(), and putParams().
|
private |
Definition at line 198 of file CbmStar2019TofPar.h.
Referenced by getParams(), and GetStarTriggDeadtime().
|
private |
Definition at line 200 of file CbmStar2019TofPar.h.
Referenced by getParams(), GetStarTriggDelay(), and putParams().
|
private |
Definition at line 202 of file CbmStar2019TofPar.h.
Referenced by getParams(), GetStarTriggWinSize(), and putParams().
|
private |
Definition at line 181 of file CbmStar2019TofPar.h.
Referenced by GetDebugMonitorMode(), getParams(), and putParams().
|
private |
Definition at line 183 of file CbmStar2019TofPar.h.
Referenced by GetGdpbId(), getParams(), and putParams().
|
private |
Definition at line 190 of file CbmStar2019TofPar.h.
Referenced by GetModuleId(), getParams(), and putParams().
|
private |
Variables.
Definition at line 179 of file CbmStar2019TofPar.h.
Referenced by GetMonitorMode(), getParams(), and putParams().
|
private |
Definition at line 184 of file CbmStar2019TofPar.h.
Referenced by GetModuleId(), GetNrOfGbtx(), GetNrOfRpc(), getParams(), GetRpcSide(), GetRpcType(), and putParams().
|
private |
Definition at line 182 of file CbmStar2019TofPar.h.
Referenced by GetNrOfGdpbs(), GetNumberOfChannels(), getParams(), GetStarTriggDeadtime(), GetStarTriggDelay(), GetStarTriggWinSize(), and putParams().
|
private |
Definition at line 185 of file CbmStar2019TofPar.h.
Referenced by GetNrOfModules(), getParams(), and putParams().
|
private |
Definition at line 186 of file CbmStar2019TofPar.h.
Referenced by GetNrOfRpc(), getParams(), and putParams().
|
private |
Definition at line 188 of file CbmStar2019TofPar.h.
Referenced by getParams(), GetRpcSide(), and putParams().
|
private |
Definition at line 187 of file CbmStar2019TofPar.h.
Referenced by getParams(), GetRpcType(), and putParams().
|
private |
Definition at line 175 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), and GetPadiThresholdVal().
|
private |
Definition at line 166 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar().
|
staticprivate |
Constants Data format
Definition at line 105 of file CbmStar2019TofPar.h.
Referenced by GetNbByteMessage().
|
private |
Map from PADI channel to GET4 channel.
Definition at line 145 of file CbmStar2019TofPar.h.
Referenced by ElinkIdxToGet4Idx().
|
staticprivate |
Mapping in STAR.
Definition at line 154 of file CbmStar2019TofPar.h.
Referenced by GetGdpbToSectorOffset().
|
private |
Definition at line 149 of file CbmStar2019TofPar.h.
Referenced by Get4IdxToElinkIdx().
|
private |
Mapping in Readout chain PCBs.
Definition at line 133 of file CbmStar2019TofPar.h.
Referenced by Get4ChanToPadiChan().
|
staticprivate |
Definition at line 111 of file CbmStar2019TofPar.h.
Referenced by GetNrOfChannelsPerFee().
|
staticprivate |
Definition at line 113 of file CbmStar2019TofPar.h.
Referenced by GetNrOfChannelsPerGbtx().
|
staticprivate |
Definition at line 115 of file CbmStar2019TofPar.h.
Referenced by GetNrOfChannelsPerGdpb(), and GetNumberOfChannels().
|
staticprivate |
Readout chain.
Definition at line 107 of file CbmStar2019TofPar.h.
Referenced by GetNrOfChannelsPerGet4().
|
staticprivate |
Definition at line 109 of file CbmStar2019TofPar.h.
Referenced by GetNrOfFeePerGbtx().
|
staticprivate |
Definition at line 119 of file CbmStar2019TofPar.h.
Referenced by GetNrOfFeePerGdpb().
|
staticprivate |
Definition at line 110 of file CbmStar2019TofPar.h.
Referenced by GetNrOfGbtxPerGdpb().
|
staticprivate |
Definition at line 108 of file CbmStar2019TofPar.h.
Referenced by GetNrOfGet4PerFee().
|
staticprivate |
Definition at line 117 of file CbmStar2019TofPar.h.
Referenced by ElinkIdxToGet4Idx(), Get4IdxToElinkIdx(), and GetNrOfGet4PerGbtx().
|
staticprivate |
Definition at line 118 of file CbmStar2019TofPar.h.
Referenced by GetNrOfGet4PerGdpb().
|
staticprivate |
PADI threshold measures and extrapolated code to value map.
Definition at line 157 of file CbmStar2019TofPar.h.
Referenced by GetNrOfPadiThrCodes().
|
staticprivate |
Definition at line 158 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar().
|
private |
Map from GET4 channel to PADI channel.
Definition at line 140 of file CbmStar2019TofPar.h.
Referenced by PadiChanToGet4Chan().
|
private |
Definition at line 159 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar().