|
CbmRoot
|
#include <CbmMcbm2018RichPar.h>
Public Member Functions | |
| CbmMcbm2018RichPar (const char *name="CbmMcbm2018RichPar", const char *title="RICH unpacker parameters", const char *context="Default") | |
| CbmMcbm2018RichPar & | operator= (const CbmMcbm2018RichPar &other) |
| Explicit copy assignment operator due to vector and map members! | |
| virtual | ~CbmMcbm2018RichPar () |
| virtual void | putParams (FairParamList *) |
| virtual Bool_t | getParams (FairParamList *) |
| void | LoadInternalContainers () |
| Int_t | GetNaddresses (void) const |
| Int_t | GetAddressIdx (Int_t addr, bool bVerbose=true) const |
| Int_t | GetAddress (Int_t ind) const |
| Double_t | GetToTshift (Int_t tdc, Int_t ch) const |
| Double_t | GetToTshift2 (Int_t tdcIdx, Int_t ch) const |
| void | Print (Option_t *option="") const |
Private Member Functions | |
| ClassDef (CbmMcbm2018RichPar, 2) | |
Private Attributes | |
| TArrayI | fTRBaddresses |
| TArrayD | fToTshifts |
| std::map< Int_t, Int_t > | fTRBaddrMap |
| std::vector< Double_t > | fToTshiftMap |
Definition at line 18 of file CbmMcbm2018RichPar.h.
| CbmMcbm2018RichPar::CbmMcbm2018RichPar | ( | const char * | name = "CbmMcbm2018RichPar", |
| const char * | title = "RICH unpacker parameters", | ||
| const char * | context = "Default" ) |
TODO: If the TBR addess is not provided in the par file but found in the data file, The std::map::at will throw out an exception which is not currectly caught.
Definition at line 23 of file CbmMcbm2018RichPar.cxx.
Referenced by ClassDef(), and operator=().
|
virtual |
Definition at line 29 of file CbmMcbm2018RichPar.cxx.
|
private |
References CbmMcbm2018RichPar().
Definition at line 89 of file CbmMcbm2018RichPar.cxx.
References fTRBaddresses.
Referenced by CbmRichUnpackMonitor::CreateHistograms(), and Print().
Definition at line 70 of file CbmMcbm2018RichPar.cxx.
References fTRBaddrMap, GetNaddresses(), and Print().
Referenced by GetToTshift().
|
inline |
Definition at line 41 of file CbmMcbm2018RichPar.h.
References fTRBaddresses.
Referenced by CbmRichUnpackMonitor::CreateHistograms(), GetAddressIdx(), and Print().
|
virtual |
Definition at line 39 of file CbmMcbm2018RichPar.cxx.
References fToTshifts, fTRBaddresses, and LoadInternalContainers().
First argument is TDC ID (i.e. 0x7210) TODO: test!
Definition at line 51 of file CbmMcbm2018RichPar.h.
References GetAddressIdx(), and GetToTshift2().
First argument is TDC index (i.e. 0,1,2,...) TODO: test!
Definition at line 95 of file CbmMcbm2018RichPar.cxx.
References fToTshiftMap.
Referenced by GetToTshift().
| void CbmMcbm2018RichPar::LoadInternalContainers | ( | ) |
Definition at line 51 of file CbmMcbm2018RichPar.cxx.
References fToTshiftMap, fToTshifts, fTRBaddresses, and fTRBaddrMap.
Referenced by getParams(), and operator=().
|
inline |
Explicit copy assignment operator due to vector and map members!
Definition at line 24 of file CbmMcbm2018RichPar.h.
References CbmMcbm2018RichPar(), fToTshifts, fTRBaddresses, and LoadInternalContainers().
| void CbmMcbm2018RichPar::Print | ( | Option_t * | option = "" | ) | const |
Definition at line 104 of file CbmMcbm2018RichPar.cxx.
References fTRBaddrMap, GetAddress(), and GetNaddresses().
Referenced by GetAddressIdx().
|
virtual |
Definition at line 31 of file CbmMcbm2018RichPar.cxx.
References fToTshifts, and fTRBaddresses.
|
private |
index - unique channel ID, value - ToT shift
Definition at line 91 of file CbmMcbm2018RichPar.h.
Referenced by GetToTshift2(), and LoadInternalContainers().
|
private |
Array of shifts added to the calculated ToTs for each channel. The array is organized as follows: For each entry in the fTRBaddresses there is a sub-array of 33 elements corresponding to the 33 channels of the TDC. These sub-arrays are listed one after another in the order the TDCs appear in the fTRBaddresses array.
Definition at line 80 of file CbmMcbm2018RichPar.h.
Referenced by getParams(), LoadInternalContainers(), operator=(), and putParams().
|
private |
List of TRB addresses required for unpacking (at least)
Definition at line 70 of file CbmMcbm2018RichPar.h.
Referenced by GetAddress(), GetNaddresses(), getParams(), LoadInternalContainers(), operator=(), and putParams().
key - TRB address (0x7211), value - index in the array
Definition at line 86 of file CbmMcbm2018RichPar.h.
Referenced by GetAddressIdx(), LoadInternalContainers(), and Print().