CbmRoot
|
#include <CbmMcbm2018MuchPar.h>
Public Member Functions | |
CbmMcbm2018MuchPar (const char *name="CbmMcbm2018MuchPar", const char *title="Much parameters", const char *context="Default") | |
virtual | ~CbmMcbm2018MuchPar () |
virtual void | clear () |
void | putParams (FairParamList *) |
Bool_t | getParams (FairParamList *) |
Int_t | ElinkIdxToFebIdx (UInt_t uElink) |
UInt_t | ElinkIdxToAsicIdx (UInt_t uElink) |
UInt_t | ElinkIdxToAsicIdxFebMuch (UInt_t uElink) |
UInt_t | GetNrOfDpbs () |
UInt_t | GetDpbId (UInt_t uDpbIdx) |
UInt_t | GetNrOfCrobs () |
UInt_t | GetNrOfFebs () |
UInt_t | GetNrOfAsics () |
UInt_t | GetNrOfFebsInGemA () |
UInt_t | GetNrOfFebsInGemB () |
Int_t | GetNrOfChannels () |
UInt_t | GetFebId (UInt_t) |
UInt_t | GetModule (UInt_t) |
Short_t | GetPadXA (UShort_t febid, UShort_t channelid) |
Short_t | GetPadYA (UShort_t febid, UShort_t channelid) |
Short_t | GetPadXB (UShort_t febid, UShort_t channelid) |
Short_t | GetPadYB (UShort_t febid, UShort_t channelid) |
Double_t | GetRealX (Int_t) |
Double_t | GetRealPadSize (Int_t) |
Double_t | GetRealX (Int_t Channel, Int_t Sector) |
Double_t | GetRealPadSize (Int_t Channel, Int_t Sector) |
Bool_t | IsCrobActive (UInt_t uDpbIdx, UInt_t uCrobIdx) |
Bool_t | IsFebActive (UInt_t uFebInSystIdx) |
Bool_t | IsFebActive (UInt_t uDpbIdx, UInt_t uCrobIdx, UInt_t uFebIdx) |
Static Public Member Functions | |
static constexpr UInt_t | GetNbCrobsPerDpb () |
static constexpr UInt_t | GetNbElinkPerCrob () |
static constexpr UInt_t | GetNbFebsPerCrob () |
static constexpr UInt_t | GetNbFebsPerDpb () |
static constexpr UInt_t | GetNbAsicsPerFeb () |
static constexpr UInt_t | GetNbAsicsPerCrob () |
static constexpr UInt_t | GetNbAsicsPerDpb () |
static constexpr UInt_t | GetNbChanPerAsic () |
static constexpr UInt_t | GetNbChanPerFeb () |
Private Member Functions | |
ClassDef (CbmMcbm2018MuchPar, 1) | |
Private Attributes | |
const UInt_t | kuCrobMapElinkFebMuch [kuNbElinksPerCrob] |
const Int_t | kiCrobMapElinkFebIdx [kuNbElinksPerCrob] |
Map from eLink index to ASIC index within CROB ( 0 to kuNbFebsPerCrob * kuNbAsicPerFeb ) More... | |
UInt_t | fuNrOfDpbs |
Map from eLink index to ASIC index within CROB ( 0 to kuNbFebsPerCrob * kuNbAsicPerFeb ) More... | |
TArrayI | fiDbpIdArray |
TArrayI | fiCrobActiveFlag |
UInt_t | fuFebsInGemA |
UInt_t | fuFebsInGemB |
TArrayI | fnFebsIdsArrayGemA |
TArrayI | fnFebsIdsArrayGemB |
TArrayI | fChannelsToPadXA |
TArrayI | fChannelsToPadYA |
TArrayI | fChannelsToPadXB |
TArrayI | fChannelsToPadYB |
TArrayD | fRealX |
TArrayD | fRealPadSize |
Static Private Attributes | |
static const UInt_t | kuNbCrobsPerDpb = 1 |
Constants. More... | |
static const UInt_t | kuNbElinksPerCrob |
static const UInt_t | kuNbFebsPerCrob |
static const UInt_t | kuNbAsicsPerFeb |
static const UInt_t | kuNbChanPerAsic = 128 |
Definition at line 19 of file CbmMcbm2018MuchPar.h.
CbmMcbm2018MuchPar::CbmMcbm2018MuchPar | ( | const char * | name = "CbmMcbm2018MuchPar" , |
const char * | title = "Much parameters" , |
||
const char * | context = "Default" |
||
) |
Standard constructor
Definition at line 20 of file CbmMcbm2018MuchPar.cxx.
|
virtual |
Destructor
Definition at line 43 of file CbmMcbm2018MuchPar.cxx.
|
private |
|
virtual |
Reset all parameters
Definition at line 48 of file CbmMcbm2018MuchPar.cxx.
|
inline |
Definition at line 60 of file CbmMcbm2018MuchPar.h.
References ElinkIdxToAsicIdxFebMuch().
Referenced by CbmMcbm2018UnpackerAlgoMuch::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), and CbmMcbm2018MonitorMuch::ProcessStsMs().
UInt_t CbmMcbm2018MuchPar::ElinkIdxToAsicIdxFebMuch | ( | UInt_t | uElink | ) |
Definition at line 131 of file CbmMcbm2018MuchPar.cxx.
References kuCrobMapElinkFebMuch, and kuNbElinksPerCrob.
Referenced by ElinkIdxToAsicIdx().
Int_t CbmMcbm2018MuchPar::ElinkIdxToFebIdx | ( | UInt_t | uElink | ) |
Definition at line 119 of file CbmMcbm2018MuchPar.cxx.
References kiCrobMapElinkFebIdx, and kuNbElinksPerCrob.
Referenced by CbmMcbm2018UnpackerAlgoMuch::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), and CbmMcbm2018MonitorMuch::ProcessStsMs().
UInt_t CbmMcbm2018MuchPar::GetDpbId | ( | UInt_t | uDpbIdx | ) |
Definition at line 142 of file CbmMcbm2018MuchPar.cxx.
References fiDbpIdArray, and fuNrOfDpbs.
Referenced by CbmMcbm2018MonitorMuchLite::InitMuchParameters(), CbmMcbm2018UnpackerAlgoMuch::InitParameters(), and CbmMcbm2018MonitorMuch::InitStsParameters().
UInt_t CbmMcbm2018MuchPar::GetFebId | ( | UInt_t | uAsicIdx | ) |
Definition at line 267 of file CbmMcbm2018MuchPar.cxx.
References fnFebsIdsArrayGemA, fnFebsIdsArrayGemB, GetNrOfFebsInGemA(), and GetNrOfFebsInGemB().
Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi(), CbmMcbm2018MonitorMuchLite::FillHitInfo(), and CbmMcbm2018MonitorMuch::FillHitInfo().
UInt_t CbmMcbm2018MuchPar::GetModule | ( | UInt_t | uAsicIdx | ) |
Definition at line 283 of file CbmMcbm2018MuchPar.cxx.
References GetNrOfFebsInGemA(), and GetNrOfFebsInGemB().
Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi(), CbmMcbm2018MonitorMuchLite::FillHitInfo(), and CbmMcbm2018MonitorMuch::FillHitInfo().
|
inlinestaticconstexpr |
Definition at line 44 of file CbmMcbm2018MuchPar.h.
References kuNbAsicsPerFeb, and kuNbFebsPerCrob.
Referenced by GetNbAsicsPerDpb(), CbmMcbm2018UnpackerAlgoMuch::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), and CbmMcbm2018MonitorMuch::ProcessStsMs().
|
inlinestaticconstexpr |
Definition at line 47 of file CbmMcbm2018MuchPar.h.
References GetNbAsicsPerCrob(), and kuNbCrobsPerDpb.
|
inlinestaticconstexpr |
Definition at line 43 of file CbmMcbm2018MuchPar.h.
References kuNbAsicsPerFeb.
Referenced by CbmMcbm2018MonitorMuch::CreateHistograms(), CbmMcbm2018MonitorMuch::DoUnpack(), CbmMcbm2018MonitorMuchLite::DoUnpack(), CbmMcbm2018MonitorMuchLite::FillHitInfo(), CbmMcbm2018MonitorMuch::FillHitInfo(), CbmMcbm2018MonitorMuchLite::ScanForNoisyChannels(), CbmMcbm2018MonitorMuch::ScanForNoisyChannels(), and CbmMcbm2018MonitorMuch::SmxErrInitializeVariables().
|
inlinestaticconstexpr |
Definition at line 50 of file CbmMcbm2018MuchPar.h.
References kuNbChanPerAsic.
Referenced by CbmMcbm2018MonitorMuch::DoUnpack(), CbmMcbm2018MonitorMuchLite::FillHitInfo(), CbmMcbm2018MonitorMuch::FillHitInfo(), CbmMcbm2018MonitorMuchLite::InitMuchParameters(), CbmMcbm2018UnpackerAlgoMuch::InitParameters(), CbmMcbm2018MonitorMuch::InitStsParameters(), CbmMcbm2018MonitorMuchLite::ScanForNoisyChannels(), CbmMcbm2018MonitorMuch::ScanForNoisyChannels(), CbmMcbm2018MonitorMuch::SetNbMsInTs(), and CbmMcbm2018MonitorMuchLite::SetNbMsInTs().
|
inlinestaticconstexpr |
Definition at line 51 of file CbmMcbm2018MuchPar.h.
References kuNbAsicsPerFeb, and kuNbChanPerAsic.
Referenced by CbmMcbm2018MonitorMuchLite::CreateHistograms(), CbmMcbm2018MonitorMuch::CreateHistograms(), CbmMcbm2018MonitorMuchLite::InitMuchParameters(), CbmMcbm2018MonitorMuch::InitStsParameters(), CbmMcbm2018UnpackerAlgoMuch::MaskNoisyChannel(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), and CbmMcbm2018MonitorMuch::ProcessStsMs().
|
inlinestaticconstexpr |
Definition at line 37 of file CbmMcbm2018MuchPar.h.
References kuNbCrobsPerDpb.
Referenced by CbmMcbm2018MonitorMuchLite::InitMuchParameters(), CbmMcbm2018UnpackerAlgoMuch::InitParameters(), CbmMcbm2018MonitorMuch::InitStsParameters(), CbmMcbm2018UnpackerAlgoMuch::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), and CbmMcbm2018MonitorMuch::ProcessStsMs().
|
inlinestaticconstexpr |
Definition at line 38 of file CbmMcbm2018MuchPar.h.
References kuNbElinksPerCrob.
Referenced by CbmMcbm2018MonitorMuch::FillHitInfo(), CbmMcbm2018UnpackerAlgoMuch::ProcessHitInfo(), CbmMcbm2018UnpackerAlgoMuch::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), and CbmMcbm2018MonitorMuch::ProcessStsMs().
|
inlinestaticconstexpr |
Definition at line 39 of file CbmMcbm2018MuchPar.h.
References kuNbFebsPerCrob.
Referenced by CbmMcbm2018MonitorMuch::InitStsParameters().
|
inlinestaticconstexpr |
Definition at line 40 of file CbmMcbm2018MuchPar.h.
References kuNbCrobsPerDpb, and kuNbFebsPerCrob.
Referenced by CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), and CbmMcbm2018MonitorMuch::ProcessStsMs().
|
inline |
Definition at line 72 of file CbmMcbm2018MuchPar.h.
References GetNrOfFebs(), and kuNbAsicsPerFeb.
Referenced by CbmMcbm2018MonitorMuchLite::InitMuchParameters(), CbmMcbm2018UnpackerAlgoMuch::InitParameters(), and CbmMcbm2018MonitorMuch::InitStsParameters().
|
inline |
Definition at line 76 of file CbmMcbm2018MuchPar.h.
References kuNbChanPerAsic.
|
inline |
Definition at line 70 of file CbmMcbm2018MuchPar.h.
References fuNrOfDpbs, and kuNbCrobsPerDpb.
Referenced by GetNrOfFebs().
|
inline |
Definition at line 68 of file CbmMcbm2018MuchPar.h.
References fuNrOfDpbs.
Referenced by CbmMcbm2018MonitorMuchLite::InitMuchParameters(), CbmMcbm2018UnpackerAlgoMuch::InitParameters(), and CbmMcbm2018MonitorMuch::InitStsParameters().
|
inline |
Definition at line 71 of file CbmMcbm2018MuchPar.h.
References GetNrOfCrobs(), and kuNbFebsPerCrob.
Referenced by GetNrOfAsics(), getParams(), CbmMcbm2018MonitorMuchLite::InitMuchParameters(), CbmMcbm2018UnpackerAlgoMuch::InitParameters(), CbmMcbm2018MonitorMuch::InitStsParameters(), and IsFebActive().
|
inline |
Definition at line 74 of file CbmMcbm2018MuchPar.h.
References fuFebsInGemA.
Referenced by GetFebId(), GetModule(), and getParams().
|
inline |
Definition at line 75 of file CbmMcbm2018MuchPar.h.
References fuFebsInGemB.
Referenced by GetFebId(), GetModule(), and getParams().
Short_t CbmMcbm2018MuchPar::GetPadXA | ( | UShort_t | febid, |
UShort_t | channelid | ||
) |
Definition at line 215 of file CbmMcbm2018MuchPar.cxx.
References fChannelsToPadXA, and kuNbChanPerAsic.
Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi(), CbmMcbm2018MonitorMuchLite::FillHitInfo(), and CbmMcbm2018MonitorMuch::FillHitInfo().
Short_t CbmMcbm2018MuchPar::GetPadXB | ( | UShort_t | febid, |
UShort_t | channelid | ||
) |
Definition at line 241 of file CbmMcbm2018MuchPar.cxx.
References fChannelsToPadXB, and kuNbChanPerAsic.
Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi().
Short_t CbmMcbm2018MuchPar::GetPadYA | ( | UShort_t | febid, |
UShort_t | channelid | ||
) |
Definition at line 228 of file CbmMcbm2018MuchPar.cxx.
References fChannelsToPadXA, fChannelsToPadYA, and kuNbChanPerAsic.
Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi(), CbmMcbm2018MonitorMuchLite::FillHitInfo(), and CbmMcbm2018MonitorMuch::FillHitInfo().
Short_t CbmMcbm2018MuchPar::GetPadYB | ( | UShort_t | febid, |
UShort_t | channelid | ||
) |
Definition at line 254 of file CbmMcbm2018MuchPar.cxx.
References fChannelsToPadXB, fChannelsToPadYB, and kuNbChanPerAsic.
Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi().
Bool_t CbmMcbm2018MuchPar::getParams | ( | FairParamList * | l | ) |
Definition at line 76 of file CbmMcbm2018MuchPar.cxx.
References fChannelsToPadXA, fChannelsToPadXB, fChannelsToPadYA, fChannelsToPadYB, fiCrobActiveFlag, fiDbpIdArray, fnFebsIdsArrayGemA, fnFebsIdsArrayGemB, fRealPadSize, fRealX, fuFebsInGemA, fuFebsInGemB, fuNrOfDpbs, GetNrOfFebs(), GetNrOfFebsInGemA(), GetNrOfFebsInGemB(), kuNbChanPerAsic, and kuNbCrobsPerDpb.
Double_t CbmMcbm2018MuchPar::GetRealPadSize | ( | Int_t | Channel, |
Int_t | Sector | ||
) |
Definition at line 327 of file CbmMcbm2018MuchPar.cxx.
References fRealPadSize.
Double_t CbmMcbm2018MuchPar::GetRealPadSize | ( | Int_t | SectorIndex | ) |
Definition at line 305 of file CbmMcbm2018MuchPar.cxx.
References fRealPadSize.
Referenced by CbmMcbm2018MonitorMuchLite::FillHitInfo(), and CbmMcbm2018MonitorMuch::FillHitInfo().
Double_t CbmMcbm2018MuchPar::GetRealX | ( | Int_t | Channel, |
Int_t | Sector | ||
) |
Definition at line 316 of file CbmMcbm2018MuchPar.cxx.
References fRealX.
Double_t CbmMcbm2018MuchPar::GetRealX | ( | Int_t | SectorIndex | ) |
Definition at line 294 of file CbmMcbm2018MuchPar.cxx.
References fRealX.
Referenced by CbmMcbm2018MonitorMuchLite::FillHitInfo(), and CbmMcbm2018MonitorMuch::FillHitInfo().
Bool_t CbmMcbm2018MuchPar::IsCrobActive | ( | UInt_t | uDpbIdx, |
UInt_t | uCrobIdx | ||
) |
Definition at line 151 of file CbmMcbm2018MuchPar.cxx.
References fiCrobActiveFlag, fuNrOfDpbs, and kuNbCrobsPerDpb.
Referenced by CbmMcbm2018MonitorMuchLite::InitMuchParameters(), CbmMcbm2018UnpackerAlgoMuch::InitParameters(), and CbmMcbm2018MonitorMuch::InitStsParameters().
Bool_t CbmMcbm2018MuchPar::IsFebActive | ( | UInt_t | uDpbIdx, |
UInt_t | uCrobIdx, | ||
UInt_t | uFebIdx | ||
) |
Definition at line 184 of file CbmMcbm2018MuchPar.cxx.
References fuNrOfDpbs, IsFebActive(), kuNbCrobsPerDpb, and kuNbFebsPerCrob.
Bool_t CbmMcbm2018MuchPar::IsFebActive | ( | UInt_t | uFebInSystIdx | ) |
Always return true for now
Definition at line 171 of file CbmMcbm2018MuchPar.cxx.
References GetNrOfFebs().
Referenced by CbmMcbm2018MonitorMuchLite::CreateHistograms(), CbmMcbm2018MonitorMuch::CreateHistograms(), IsFebActive(), CbmMcbm2018MonitorMuch::ResetAllHistos(), CbmMcbm2018MonitorMuchLite::ResetAllHistos(), CbmMcbm2018MonitorMuch::SaveAllHistos(), CbmMcbm2018MonitorMuchLite::SaveAllHistos(), CbmMcbm2018MonitorMuchLite::ScanForNoisyChannels(), and CbmMcbm2018MonitorMuch::ScanForNoisyChannels().
void CbmMcbm2018MuchPar::putParams | ( | FairParamList * | l | ) |
Definition at line 56 of file CbmMcbm2018MuchPar.cxx.
References fChannelsToPadXA, fChannelsToPadXB, fChannelsToPadYA, fChannelsToPadYB, fiCrobActiveFlag, fiDbpIdArray, fnFebsIdsArrayGemA, fnFebsIdsArrayGemB, fRealPadSize, fRealX, fuFebsInGemA, fuFebsInGemB, and fuNrOfDpbs.
|
private |
Definition at line 162 of file CbmMcbm2018MuchPar.h.
Referenced by GetPadXA(), GetPadYA(), getParams(), and putParams().
|
private |
Definition at line 166 of file CbmMcbm2018MuchPar.h.
Referenced by GetPadXB(), GetPadYB(), getParams(), and putParams().
|
private |
Definition at line 164 of file CbmMcbm2018MuchPar.h.
Referenced by GetPadYA(), getParams(), and putParams().
|
private |
Definition at line 168 of file CbmMcbm2018MuchPar.h.
Referenced by GetPadYB(), getParams(), and putParams().
|
private |
Definition at line 154 of file CbmMcbm2018MuchPar.h.
Referenced by getParams(), IsCrobActive(), and putParams().
|
private |
Definition at line 152 of file CbmMcbm2018MuchPar.h.
Referenced by GetDpbId(), getParams(), and putParams().
|
private |
Definition at line 158 of file CbmMcbm2018MuchPar.h.
Referenced by GetFebId(), getParams(), and putParams().
|
private |
Definition at line 160 of file CbmMcbm2018MuchPar.h.
Referenced by GetFebId(), getParams(), and putParams().
|
private |
Definition at line 172 of file CbmMcbm2018MuchPar.h.
Referenced by getParams(), GetRealPadSize(), and putParams().
|
private |
Definition at line 170 of file CbmMcbm2018MuchPar.h.
Referenced by getParams(), GetRealX(), and putParams().
|
private |
Definition at line 155 of file CbmMcbm2018MuchPar.h.
Referenced by GetNrOfFebsInGemA(), getParams(), and putParams().
|
private |
Definition at line 156 of file CbmMcbm2018MuchPar.h.
Referenced by GetNrOfFebsInGemB(), getParams(), and putParams().
|
private |
Map from eLink index to ASIC index within CROB ( 0 to kuNbFebsPerCrob * kuNbAsicPerFeb )
Variables
Definition at line 150 of file CbmMcbm2018MuchPar.h.
Referenced by GetDpbId(), GetNrOfCrobs(), GetNrOfDpbs(), getParams(), IsCrobActive(), IsFebActive(), and putParams().
|
private |
Map from eLink index to ASIC index within CROB ( 0 to kuNbFebsPerCrob * kuNbAsicPerFeb )
Definition at line 140 of file CbmMcbm2018MuchPar.h.
Referenced by ElinkIdxToFebIdx().
|
private |
Definition at line 119 of file CbmMcbm2018MuchPar.h.
Referenced by ElinkIdxToAsicIdxFebMuch().
|
staticprivate |
Definition at line 103 of file CbmMcbm2018MuchPar.h.
Referenced by GetNbAsicsPerCrob(), GetNbAsicsPerFeb(), GetNbChanPerFeb(), and GetNrOfAsics().
|
staticprivate |
Definition at line 105 of file CbmMcbm2018MuchPar.h.
Referenced by GetNbChanPerAsic(), GetNbChanPerFeb(), GetNrOfChannels(), GetPadXA(), GetPadXB(), GetPadYA(), GetPadYB(), and getParams().
|
staticprivate |
Constants.
Definition at line 98 of file CbmMcbm2018MuchPar.h.
Referenced by GetNbAsicsPerDpb(), GetNbCrobsPerDpb(), GetNbFebsPerDpb(), GetNrOfCrobs(), getParams(), IsCrobActive(), and IsFebActive().
|
staticprivate |
Definition at line 99 of file CbmMcbm2018MuchPar.h.
Referenced by ElinkIdxToAsicIdxFebMuch(), ElinkIdxToFebIdx(), and GetNbElinkPerCrob().
|
staticprivate |
Definition at line 101 of file CbmMcbm2018MuchPar.h.
Referenced by GetNbAsicsPerCrob(), GetNbFebsPerCrob(), GetNbFebsPerDpb(), GetNrOfFebs(), and IsFebActive().