CbmRoot
|
#include <CbmCriGet4RawPrint.h>
Public Member Functions | |
CbmCriGet4RawPrint () | |
CbmCriGet4RawPrint (const CbmCriGet4RawPrint &)=delete | |
CbmCriGet4RawPrint | operator= (const CbmCriGet4RawPrint &)=delete |
virtual | ~CbmCriGet4RawPrint () |
virtual Bool_t | Init () |
virtual Bool_t | DoUnpack (const fles::Timeslice &ts, size_t component) |
virtual void | Reset () |
virtual void | Finish () |
void | SetParContainers () |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
Temp until we change from CbmMcbmUnpack to something else. | |
void | SetNbMsInTs (size_t, size_t) |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
Private Attributes | |
std::vector< size_t > | fvMsComponentsList |
Parameters related to FLES containers. | |
size_t | fuNbCoreMsPerTs |
size_t | fuNbOverMsPerTs |
size_t | fuNbMsLoop |
Bool_t | fbIgnoreOverlapMs |
Double_t | fdMsSizeInNs |
/** Ignore Overlap Ms: all fuNbOverMsPerTs MS at the end of timeslice **/ | |
Double_t | fdTsCoreSizeInNs |
Size of a single MS, [nanoseconds]. | |
Double_t | fdTsFullSizeInNs |
Total size of the core MS in a TS, [nanoseconds]. | |
ULong64_t | fulCurrentTsIdx |
Total size of the core MS in a TS, [nanoseconds]. | |
ULong64_t | fulCurrentMsIdx |
Double_t | fdTsStartTime |
Double_t | fdTsStopTimeCore |
Time in ns of current TS from the index of the first MS first component. | |
Double_t | fdMsTime |
End Time in ns of current TS Core from the index of the first MS first component. | |
UInt_t | fuMsIndex |
Start Time in ns of current MS from its index field in header. | |
UInt_t | fuCurrentEquipmentId |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
Constants. | |
static const UInt_t | kuBytesPerMessage = 8 |
Definition at line 22 of file CbmCriGet4RawPrint.h.
CbmCriGet4RawPrint::CbmCriGet4RawPrint | ( | ) |
Definition at line 18 of file CbmCriGet4RawPrint.cxx.
|
delete |
|
virtual |
Definition at line 37 of file CbmCriGet4RawPrint.cxx.
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Check for duplicates and ignore if it is the case
Add to list
Implements CbmMcbmUnpack.
Definition at line 63 of file CbmCriGet4RawPrint.cxx.
References fvMsComponentsList.
|
virtual |
Ignore First TS as first MS is typically corrupt
On first TS, extract the TS parameters from header (by definition stable over time)
Ignore overlap ms if flag set by user
Compute time of TS core end
Loop over registered components
Loop over core microslices (and overlap ones if chosen)
Always print the MS header
If not integer number of message in input buffer, print warning/error
Compute the number of complete messages in the input microslice buffer
Prepare variables for the loop on contents
Fill message
TODOD: pick the options!!!
Implements CbmMcbmUnpack.
Definition at line 76 of file CbmCriGet4RawPrint.cxx.
References fbIgnoreOverlapMs, fdMsSizeInNs, fdTsCoreSizeInNs, fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, FormatMsHeaderPrintout(), fuCurrentEquipmentId, fulCurrentMsIdx, fulCurrentTsIdx, fuMsIndex, fuNbCoreMsPerTs, fuNbMsLoop, fuNbOverMsPerTs, fvMsComponentsList, kuBytesPerMessage, critof001::msg_print_Data, critof001::msg_print_Hex, critof001::msg_print_Prefix, and critof001::Message::printDataCout().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 303 of file CbmCriGet4RawPrint.cxx.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 39 of file CbmCriGet4RawPrint.cxx.
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 49 of file CbmCriGet4RawPrint.cxx.
|
delete |
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 56 of file CbmCriGet4RawPrint.cxx.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 301 of file CbmCriGet4RawPrint.cxx.
|
inline |
Definition at line 47 of file CbmCriGet4RawPrint.h.
References fbIgnoreOverlapMs.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 45 of file CbmCriGet4RawPrint.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 47 of file CbmCriGet4RawPrint.cxx.
|
private |
Definition at line 59 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack(), and SetIgnoreOverlapMs().
|
private |
/** Ignore Overlap Ms: all fuNbOverMsPerTs MS at the end of timeslice **/
Definition at line 60 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
End Time in ns of current TS Core from the index of the first MS first component.
Definition at line 70 of file CbmCriGet4RawPrint.h.
|
private |
Size of a single MS, [nanoseconds].
Definition at line 61 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 62 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Definition at line 68 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Time in ns of current TS from the index of the first MS first component.
Definition at line 69 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Index of current MS within the TS Current data properties
Definition at line 73 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Definition at line 67 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Total size of the core MS in a TS, [nanoseconds].
Running indices TS/MS info
Definition at line 66 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Start Time in ns of current MS from its index field in header.
Definition at line 71 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Definition at line 56 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Definition at line 58 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Definition at line 57 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().
|
private |
Parameters related to FLES containers.
Definition at line 55 of file CbmCriGet4RawPrint.h.
Referenced by AddMsComponentToList(), and DoUnpack().
|
staticprivate |
Constants.
Definition at line 51 of file CbmCriGet4RawPrint.h.
|
staticprivate |
Definition at line 52 of file CbmCriGet4RawPrint.h.
Referenced by DoUnpack().