|
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. | |
| const UInt_t | kuPaditoget4 [kuNbChannelsPerFee] |
| Map from GET4 channel to PADI channel. | |
| const UInt_t | kuElinkToGet4 [kuNbGet4PerGbtx] |
| Map from PADI channel to GET4 channel. | |
| const UInt_t | kuGet4ToElink [kuNbGet4PerGbtx] |
| const UInt_t | kuThrMeasCode [kuNbThrMeasPoints] |
| const Double_t | kdThrMeasVal [kuNbThrMeasPoints] |
| std::vector< Double_t > | fvdPadiThrCodeToValue |
| Int_t | fiMonitorMode |
| Variables. | |
| 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. | |
| static const uint32_t | kuNbGet4PerFee = 8 |
| static const uint32_t | kuNbFeePerGbtx = 5 |
| static const uint32_t | kuNbGbtxPerGdpb = 6 |
| static const uint32_t | kuNbChannelsPerFee = kuNbChannelsPerGet4 * kuNbGet4PerFee |
| static const uint32_t | kuNbChannelsPerGbtx = kuNbChannelsPerFee * kuNbFeePerGbtx |
| static const uint32_t | kuNbChannelsPerGdpb = kuNbChannelsPerGbtx * kuNbGbtxPerGdpb |
| 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. | |
| static const uint32_t | kuNbPadiThrCodes = 1024 |
| PADI threshold measures and extrapolated code to value map. | |
| static const uint32_t | kuNbThrMeasPoints = 65 |
Definition at line 22 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 22 of file CbmStar2019TofPar.cxx.
References fdSizeMsInNs, fdStarTriggAllowedSpread, fdStarTriggerDeadtime, fdStarTriggerDelay, fdStarTriggerWinSize, fiDebugMonitorMode, fiGdpbIdArray, fiModuleId, fiMonitorMode, fiNrOfGbtx, fiNrOfGdpb, fiNrOfModule, fiNrOfRpc, fiRpcSide, fiRpcType, fvdPadiThrCodeToValue, GetNrOfPadiThrCodes(), kdThrMeasVal, kuNbThrMeasPoints, and kuThrMeasCode.
Referenced by ClassDef().
|
virtual |
Destructor
Definition at line 63 of file CbmStar2019TofPar.cxx.
|
private |
References CbmStar2019TofPar().
|
virtual |
Reset all parameters
Definition at line 68 of file CbmStar2019TofPar.cxx.
| Int_t CbmStar2019TofPar::ElinkIdxToGet4Idx | ( | UInt_t | uElink | ) |
Definition at line 167 of file CbmStar2019TofPar.cxx.
References GetNrOfGet4PerGdpb(), gdpbv100::kuChipIdMergedEpoch, kuElinkToGet4, and kuNbGet4PerGbtx.
| Int_t CbmStar2019TofPar::Get4ChanToPadiChan | ( | UInt_t | uChannelInFee | ) |
Definition at line 148 of file CbmStar2019TofPar.cxx.
References GetNrOfChannelsPerFee(), and kuGet4topadi.
| Int_t CbmStar2019TofPar::Get4IdxToElinkIdx | ( | UInt_t | uGet4 | ) |
Definition at line 178 of file CbmStar2019TofPar.cxx.
References GetNrOfGet4PerGdpb(), gdpbv100::kuChipIdMergedEpoch, kuGet4ToElink, and kuNbGet4PerGbtx.
|
inline |
Definition at line 73 of file CbmStar2019TofPar.h.
References fiDebugMonitorMode.
Definition at line 42 of file CbmStar2019TofPar.h.
References fiGdpbIdArray.
|
inlinestaticconstexpr |
Definition at line 67 of file CbmStar2019TofPar.h.
References kuGdpbToSectorOffset.
| Int_t CbmStar2019TofPar::GetModuleId | ( | UInt_t | uGbtx | ) |
Definition at line 230 of file CbmStar2019TofPar.cxx.
References fiModuleId, and fiNrOfGbtx.
|
inline |
Definition at line 72 of file CbmStar2019TofPar.h.
References fiMonitorMode.
|
inlinestaticconstexpr |
Definition at line 39 of file CbmStar2019TofPar.h.
References kuBytesPerMessage.
|
inlinestaticconstexpr |
Definition at line 52 of file CbmStar2019TofPar.h.
References kuNbChannelsPerFee.
Referenced by Get4ChanToPadiChan(), and PadiChanToGet4Chan().
|
inlinestaticconstexpr |
Definition at line 53 of file CbmStar2019TofPar.h.
References kuNbChannelsPerGbtx.
|
inlinestaticconstexpr |
Definition at line 54 of file CbmStar2019TofPar.h.
References kuNbChannelsPerGdpb.
|
inlinestaticconstexpr |
Definition at line 48 of file CbmStar2019TofPar.h.
References kuNbChannelsPerGet4.
|
inlinestaticconstexpr |
Definition at line 50 of file CbmStar2019TofPar.h.
References kuNbFeePerGbtx.
|
inlinestaticconstexpr |
Definition at line 57 of file CbmStar2019TofPar.h.
References kuNbFeePerGdpb.
|
inline |
Definition at line 75 of file CbmStar2019TofPar.h.
References fiNrOfGbtx.
|
inlinestaticconstexpr |
Definition at line 51 of file CbmStar2019TofPar.h.
References kuNbGbtxPerGdpb.
|
inline |
Definition at line 41 of file CbmStar2019TofPar.h.
References fiNrOfGdpb.
|
inlinestaticconstexpr |
Definition at line 49 of file CbmStar2019TofPar.h.
References kuNbGet4PerFee.
|
inlinestaticconstexpr |
Definition at line 55 of file CbmStar2019TofPar.h.
References kuNbGet4PerGbtx.
|
inlinestaticconstexpr |
Definition at line 56 of file CbmStar2019TofPar.h.
References kuNbGet4PerGdpb.
Referenced by ElinkIdxToGet4Idx(), and Get4IdxToElinkIdx().
|
inline |
Definition at line 76 of file CbmStar2019TofPar.h.
References fiNrOfModule.
|
inlinestaticconstexpr |
Definition at line 69 of file CbmStar2019TofPar.h.
References kuNbPadiThrCodes.
Referenced by CbmStar2019TofPar(), and GetPadiThresholdVal().
| Int_t CbmStar2019TofPar::GetNrOfRpc | ( | UInt_t | uGbtx | ) |
Definition at line 200 of file CbmStar2019TofPar.cxx.
References fiNrOfGbtx, and fiNrOfRpc.
|
inline |
Definition at line 59 of file CbmStar2019TofPar.h.
References fiNrOfGdpb, and kuNbChannelsPerGdpb.
| Double_t CbmStar2019TofPar::GetPadiThresholdVal | ( | UInt_t | uCode | ) |
Definition at line 190 of file CbmStar2019TofPar.cxx.
References fvdPadiThrCodeToValue, and GetNrOfPadiThrCodes().
| Bool_t CbmStar2019TofPar::getParams | ( | FairParamList * | l | ) |
Definition at line 99 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 220 of file CbmStar2019TofPar.cxx.
References fiNrOfGbtx, and fiRpcSide.
| Int_t CbmStar2019TofPar::GetRpcType | ( | UInt_t | uGbtx | ) |
Definition at line 210 of file CbmStar2019TofPar.cxx.
References fiNrOfGbtx, and fiRpcType.
|
inline |
Definition at line 82 of file CbmStar2019TofPar.h.
References fdSizeMsInNs.
Referenced by CbmStar2019EventBuilderEtof::InitContainers().
|
inline |
Definition at line 84 of file CbmStar2019TofPar.h.
References fdStarTriggAllowedSpread.
| Double_t CbmStar2019TofPar::GetStarTriggDeadtime | ( | UInt_t | uGdpb | ) |
Definition at line 241 of file CbmStar2019TofPar.cxx.
References fdStarTriggerDeadtime, and fiNrOfGdpb.
| Double_t CbmStar2019TofPar::GetStarTriggDelay | ( | UInt_t | uGdpb | ) |
Definition at line 251 of file CbmStar2019TofPar.cxx.
References fdStarTriggerDelay, and fiNrOfGdpb.
| Double_t CbmStar2019TofPar::GetStarTriggWinSize | ( | UInt_t | uGdpb | ) |
Definition at line 261 of file CbmStar2019TofPar.cxx.
References fdStarTriggerWinSize, and fiNrOfGdpb.
| 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 77 of file CbmStar2019TofPar.cxx.
References fdSizeMsInNs, fdStarTriggAllowedSpread, fdStarTriggerDelay, fdStarTriggerWinSize, fiDebugMonitorMode, fiGdpbIdArray, fiModuleId, fiMonitorMode, fiNrOfGbtx, fiNrOfGdpb, fiNrOfModule, fiNrOfRpc, fiRpcSide, and fiRpcType.
|
private |
Definition at line 166 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), getParams(), GetSizeMsInNs(), and putParams().
|
private |
Definition at line 169 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), getParams(), GetStarTriggAllowedSpread(), and putParams().
|
private |
Definition at line 170 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), getParams(), and GetStarTriggDeadtime().
|
private |
Definition at line 172 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), getParams(), GetStarTriggDelay(), and putParams().
|
private |
Definition at line 173 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), getParams(), GetStarTriggWinSize(), and putParams().
|
private |
Definition at line 156 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), GetDebugMonitorMode(), getParams(), and putParams().
|
private |
Definition at line 158 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), GetGdpbId(), getParams(), and putParams().
|
private |
Definition at line 164 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), GetModuleId(), getParams(), and putParams().
|
private |
Variables.
Definition at line 154 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), GetMonitorMode(), getParams(), and putParams().
|
private |
Definition at line 159 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), GetModuleId(), GetNrOfGbtx(), GetNrOfRpc(), getParams(), GetRpcSide(), GetRpcType(), and putParams().
|
private |
Definition at line 157 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), GetNrOfGdpbs(), GetNumberOfChannels(), getParams(), GetStarTriggDeadtime(), GetStarTriggDelay(), GetStarTriggWinSize(), and putParams().
|
private |
Definition at line 160 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), GetNrOfModules(), getParams(), and putParams().
|
private |
Definition at line 161 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), GetNrOfRpc(), getParams(), and putParams().
|
private |
Definition at line 163 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), getParams(), GetRpcSide(), and putParams().
|
private |
Definition at line 162 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), getParams(), GetRpcType(), and putParams().
|
private |
Definition at line 151 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar(), and GetPadiThresholdVal().
|
private |
Definition at line 145 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar().
|
staticprivate |
Constants Data format
Definition at line 92 of file CbmStar2019TofPar.h.
Referenced by GetNbByteMessage().
|
private |
Map from PADI channel to GET4 channel.
Definition at line 127 of file CbmStar2019TofPar.h.
Referenced by ElinkIdxToGet4Idx().
|
staticprivate |
Mapping in STAR.
Definition at line 134 of file CbmStar2019TofPar.h.
Referenced by GetGdpbToSectorOffset().
|
private |
Definition at line 130 of file CbmStar2019TofPar.h.
Referenced by Get4IdxToElinkIdx().
|
private |
Mapping in Readout chain PCBs.
Definition at line 117 of file CbmStar2019TofPar.h.
Referenced by Get4ChanToPadiChan().
|
staticprivate |
Definition at line 98 of file CbmStar2019TofPar.h.
Referenced by GetNrOfChannelsPerFee().
|
staticprivate |
Definition at line 99 of file CbmStar2019TofPar.h.
Referenced by GetNrOfChannelsPerGbtx().
|
staticprivate |
Definition at line 100 of file CbmStar2019TofPar.h.
Referenced by GetNrOfChannelsPerGdpb(), and GetNumberOfChannels().
|
staticprivate |
Readout chain.
Definition at line 94 of file CbmStar2019TofPar.h.
Referenced by GetNrOfChannelsPerGet4().
|
staticprivate |
Definition at line 96 of file CbmStar2019TofPar.h.
Referenced by GetNrOfFeePerGbtx().
|
staticprivate |
Definition at line 103 of file CbmStar2019TofPar.h.
Referenced by GetNrOfFeePerGdpb().
|
staticprivate |
Definition at line 97 of file CbmStar2019TofPar.h.
Referenced by GetNrOfGbtxPerGdpb().
|
staticprivate |
Definition at line 95 of file CbmStar2019TofPar.h.
Referenced by GetNrOfGet4PerFee().
|
staticprivate |
Definition at line 101 of file CbmStar2019TofPar.h.
Referenced by ElinkIdxToGet4Idx(), Get4IdxToElinkIdx(), and GetNrOfGet4PerGbtx().
|
staticprivate |
Definition at line 102 of file CbmStar2019TofPar.h.
Referenced by GetNrOfGet4PerGdpb().
|
staticprivate |
PADI threshold measures and extrapolated code to value map.
Definition at line 137 of file CbmStar2019TofPar.h.
Referenced by GetNrOfPadiThrCodes().
|
staticprivate |
Definition at line 138 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar().
|
private |
Map from GET4 channel to PADI channel.
Definition at line 123 of file CbmStar2019TofPar.h.
Referenced by PadiChanToGet4Chan().
|
private |
Definition at line 139 of file CbmStar2019TofPar.h.
Referenced by CbmStar2019TofPar().