CbmRoot
|
#include <CbmCosy2019UnpackerAlgoHodo.h>
Public Member Functions | |
CbmCosy2019UnpackerAlgoHodo () | |
~CbmCosy2019UnpackerAlgoHodo () | |
virtual Bool_t | Init () |
virtual void | Reset () |
virtual void | Finish () |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
TList * | GetParList () |
Bool_t | InitParameters () |
Bool_t | ProcessTs (const fles::Timeslice &ts) |
Bool_t | ProcessTs (const fles::Timeslice &ts, size_t) |
Bool_t | ProcessMs (const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx) |
void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
Bool_t | CreateHistograms () |
Bool_t | FillHistograms () |
Bool_t | ResetHistograms () |
void | SetMonitorMode (Bool_t bFlagIn=kTRUE) |
void | SetTimeOffsetNs (Double_t dOffsetIn=0.0) |
void | SetTimeOffsetNsAsic (UInt_t uAsicIdx, Double_t dOffsetIn=0.0) |
void | SetVectCapInc (Double_t dIncFact) |
virtual void | SetParameter (std::string) |
virtual std::string | GetParameter (std::string) |
void | AddHistoToVector (TNamed *pointer, std::string sFolder="") |
For monitor algos. | |
std::vector< std::pair< TNamed *, std::string > > | GetHistoVector () |
void | AddCanvasToVector (TCanvas *pointer, std::string sFolder="") |
std::vector< std::pair< TCanvas *, std::string > > | GetCanvasVector () |
void | ClearVector () |
For unpacker algos. | |
std::vector< CbmStsDigi > & | GetVector () |
void | ClearErrorVector () |
std::vector< CbmErrorMessage > & | GetErrorVector () |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
Control flags. | |
Protected Member Functions | |
Bool_t | CheckParameterValidity (std::string, std::string) |
Map of parameter name and type. | |
Protected Attributes | |
TList * | fParCList |
Parameter management. | |
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 fuOverlapMsNb 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]. | |
std::vector< std::pair< TNamed *, std::string > > | fvpAllHistoPointers |
Total size of the core MS in a TS, [nanoseconds]. | |
std::vector< std::pair< TCanvas *, std::string > > | fvpAllCanvasPointers |
Vector of pointers to histograms + optional folder name. | |
std::vector< CbmStsDigi > | fDigiVect |
Vector of pointers to canvases + optional folder name. | |
std::vector< CbmErrorMessage > | fErrVect |
std::map< std::string, std::string > | fParameterMap |
For any algo. | |
Private Member Functions | |
void | ProcessHitInfo (const stsxyter::Message &mess, const UShort_t &usElinkIdx, const UInt_t &uAsicIdx, const UInt_t &uMsIdx) |
void | ProcessTsMsbInfo (const stsxyter::Message &mess, UInt_t uMessIdx=0, UInt_t uMsIdx=0) |
void | ProcessEpochInfo (const stsxyter::Message &mess) |
void | ProcessStatusInfo (const stsxyter::Message &mess) |
CbmCosy2019UnpackerAlgoHodo (const CbmCosy2019UnpackerAlgoHodo &) | |
CbmCosy2019UnpackerAlgoHodo | operator= (const CbmCosy2019UnpackerAlgoHodo &) |
Private Attributes | |
Bool_t | fbMonitorMode |
Control flags. | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. | |
std::vector< Bool_t > | fvbMaskedComponents |
Switch ON the filling of a additional set of histograms. | |
CbmCosy2019HodoPar * | fUnpackPar |
Settings from parameter file. | |
UInt_t | fuNbModules |
std::vector< Int_t > | fviModAddress |
Total number of STS modules in the setup. | |
UInt_t | fuNrOfDpbs |
STS address for the first strip of each module. | |
std::map< UInt_t, UInt_t > | fDpbIdIndexMap |
Total number of STS DPBs in system. | |
std::vector< std::vector< Bool_t > > | fvbCrobActiveFlag |
Map of DPB Identifier to DPB index. | |
UInt_t | fuNbFebs |
Array to hold the active flag for all CROBs, [ NbDpb ][ NbCrobPerDpb ]. | |
UInt_t | fuNbStsXyters |
Number of FEBs with StsXyter ASICs. | |
std::vector< std::vector< std::vector< Int_t > > > | fviFebModuleIdx |
Number of StsXyter ASICs. | |
std::vector< std::vector< std::vector< Double_t > > > | fvdFebAdcGain |
Idx of the STS module for each FEB, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], -1 if inactive. | |
std::vector< std::vector< std::vector< Double_t > > > | fvdFebAdcOffs |
ADC gain in e-/b, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ]. | |
std::vector< Int_t > | fviFebAddress |
ADC offset in e-, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ]. | |
std::vector< Int_t > | fviFebModule |
STS address for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ]. | |
Double_t | fdTimeOffsetNs |
Module for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ]. | |
std::vector< Double_t > | fvdTimeOffsetNsAsics |
ULong64_t | fulCurrentTsIdx |
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. | |
std::map< stsxyter::MessType, UInt_t > | fmMsgCounter |
UInt_t | fuCurrentEquipmentId |
UInt_t | fuCurrDpbId |
Current equipment ID, tells from which DPB the current MS is originating. | |
UInt_t | fuCurrDpbIdx |
Temp holder until Current equipment ID is properly filled in MS. | |
Int_t | fiRunStartDateTimeSec |
Index of the DPB from which the MS currently unpacked is coming. | |
Int_t | fiBinSizeDatePlots |
Start of run time since "epoch" in s, for the plots with date as X axis. | |
std::vector< ULong64_t > | fvulCurrentTsMsb |
std::vector< UInt_t > | fvuCurrentTsMsbCycle |
Current TS MSB for each DPB. | |
Double_t | fdStartTime |
Double_t | fdStartTimeMsSz |
std::chrono::steady_clock::time_point | ftStartTimeUnix |
std::vector< stsxyter::FinalHit > | fvmHitsInMs |
Hits time-sorting. | |
TH1 * | fhDigisTimeInRun |
All hits (time in bins, ADC in bins, asic, channel) in last MS, sorted with "<" operator. | |
TH1 * | fhVectorSize = nullptr |
TH1 * | fhVectorCapacity = nullptr |
size_t | fuTsMaxVectorSize = 0 |
Double_t | fdCapacityIncFactor = 1.1 |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
Constants. | |
Definition at line 40 of file CbmCosy2019UnpackerAlgoHodo.h.
CbmCosy2019UnpackerAlgoHodo::CbmCosy2019UnpackerAlgoHodo | ( | ) |
Definition at line 34 of file CbmCosy2019UnpackerAlgoHodo.cxx.
CbmCosy2019UnpackerAlgoHodo::~CbmCosy2019UnpackerAlgoHodo | ( | ) |
Clear buffers
Definition at line 82 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References fvmHitsInMs.
|
private |
|
inlineinherited |
Definition at line 88 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::CreateHistograms().
|
inlineinherited |
For monitor algos.
Definition at line 83 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::CreateHistograms(), CreateHistograms(), and CbmMcbm2018UnpackerAlgoSts::CreateHistograms().
void CbmCosy2019UnpackerAlgoHodo::AddMsComponentToList | ( | size_t | component, |
UShort_t | usDetectorId ) |
Check for duplicates and ignore if it is the case
Add to list
Definition at line 249 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References CbmStar2019Algo< CbmStsDigi >::fvMsComponentsList.
Referenced by CbmCosy2019UnpackerTaskHodo::AddMsComponentToList().
|
inlineprotectedinherited |
Map of parameter name and type.
Definition at line 140 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 97 of file CbmStar2019Algo.h.
|
inlineinherited |
For unpacker algos.
Definition at line 95 of file CbmStar2019Algo.h.
Bool_t CbmCosy2019UnpackerAlgoHodo::CreateHistograms | ( | ) |
Create General unpacking histograms
Definition at line 691 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References CbmStar2019Algo< CbmStsDigi >::AddHistoToVector(), fhDigisTimeInRun, fhVectorCapacity, and fhVectorSize.
Referenced by CbmCosy2019UnpackerTaskHodo::InitContainers().
Bool_t CbmCosy2019UnpackerAlgoHodo::FillHistograms | ( | ) |
Definition at line 940 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References CbmStar2019Algo< CbmStsDigi >::fDigiVect, and fhDigisTimeInRun.
Referenced by ProcessTs().
|
virtual |
Printout Goodbye message and stats
Write Output histos
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 102 of file CbmCosy2019UnpackerAlgoHodo.cxx.
|
inlineinherited |
Definition at line 92 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 98 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 87 of file CbmStar2019Algo.h.
|
inlinevirtualinherited |
Definition at line 80 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 129 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References CbmStar2019Algo< CbmStsDigi >::fParCList, and fUnpackPar.
Referenced by CbmCosy2019UnpackerTaskHodo::SetParContainers().
|
inlineinherited |
Definition at line 96 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 95 of file CbmCosy2019UnpackerAlgoHodo.cxx.
|
virtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 110 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References ReInitContainers().
Referenced by CbmCosy2019UnpackerTaskHodo::InitContainers().
Bool_t CbmCosy2019UnpackerAlgoHodo::InitParameters | ( | ) |
! FIXME: 1) Geometry is using front/back while we are using P/N !!!! => Assuming that front facing modules have connectors on right side +> Volker warns that the front side should be electrons one so P 2) No accessor/setter to change only the side field of an STS address => hardcode the shift +> The big is unused in the current scheme: the side is encoded in the Digi channel
Definition at line 137 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References fDpbIdIndexMap, fuNbFebs, fuNbModules, fuNbStsXyters, fUnpackPar, fuNrOfDpbs, fvbCrobActiveFlag, fvdFebAdcGain, fvdFebAdcOffs, fvdTimeOffsetNsAsics, fviFebAddress, fviFebModule, fviFebModuleIdx, fviModAddress, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, CbmCosy2019HodoPar::GetDpbId(), CbmCosy2019HodoPar::GetFebAdcGain(), CbmCosy2019HodoPar::GetFebAdcOffset(), CbmCosy2019HodoPar::GetFebModuleIdx(), CbmCosy2019HodoPar::GetModuleAddress(), CbmCosy2019HodoPar::GetNbCrobsPerDpb(), CbmCosy2019HodoPar::GetNbFebsPerCrob(), CbmCosy2019HodoPar::GetNbOfModules(), CbmCosy2019HodoPar::GetNrOfAsics(), CbmCosy2019HodoPar::GetNrOfDpbs(), CbmCosy2019HodoPar::GetNrOfFebs(), and CbmCosy2019HodoPar::IsCrobActive().
Referenced by ReInitContainers().
|
private |
|
private |
Definition at line 651 of file CbmCosy2019UnpackerAlgoHodo.cxx.
Referenced by ProcessMs().
|
private |
Cheat needed only for modules with FEB at bottom of module or the Test module
Definition at line 511 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References fdStartTime, fuCurrDpbIdx, fUnpackPar, fvmHitsInMs, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, stsxyter::Message::GetHitAdc(), stsxyter::Message::GetHitChannel(), stsxyter::Message::GetHitTime(), CbmCosy2019HodoPar::GetNbElinkPerCrob(), stsxyter::kdClockCycleNs, stsxyter::kuHitNbTsBins, and stsxyter::kulTsCycleNbBins.
Referenced by ProcessMs().
|
virtual |
Check if this sDPB ID was declared in parameter file and stop there if not
If first TS being analyzed, we are probably detecting STS/MUCH boards with same sysid => Do not report the MS as bad, just ignore it
Check the current TS_MSb cycle and correct it if wrong
Get message type
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 359 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References stsxyter::Dummy, CbmCosy2019HodoPar::ElinkIdxToAsicIdx(), CbmCosy2019HodoPar::ElinkIdxToFebIdx(), stsxyter::Empty, stsxyter::Epoch, fDpbIdIndexMap, fmMsgCounter, FormatMsHeaderPrintout(), fuCurrDpbId, fuCurrDpbIdx, fuCurrentEquipmentId, fulCurrentMsIdx, fulCurrentTsIdx, fUnpackPar, fvbMaskedComponents, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, stsxyter::Message::GetLinkIndex(), stsxyter::Message::GetMessType(), CbmCosy2019HodoPar::GetNbAsicsPerCrob(), CbmCosy2019HodoPar::GetNbCrobsPerDpb(), CbmCosy2019HodoPar::GetNbElinkPerCrob(), stsxyter::Hit, stsxyter::kdClockCycleNs, stsxyter::kulTsCycleNbBins, ProcessEpochInfo(), ProcessHitInfo(), ProcessStatusInfo(), ProcessTsMsbInfo(), stsxyter::Status, and stsxyter::TsMsb.
Referenced by ProcessTs().
|
private |
Definition at line 666 of file CbmCosy2019UnpackerAlgoHodo.cxx.
Referenced by ProcessMs().
|
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 core microslices (and overlap ones if chosen)
Loop over registered components
Sort the buffers of hits
Add the hits to the output buffer as Digis
Ignore unmapped Hits
Clear the buffer of hits
Clear buffers to prepare for the next TS
Fill plots if in monitor mode
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 263 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References CbmStar2019Algo< CbmStsDigi >::fbIgnoreOverlapMs, fbMonitorMode, fdCapacityIncFactor, CbmStar2019Algo< CbmStsDigi >::fDigiVect, CbmStar2019Algo< CbmStsDigi >::fdMsSizeInNs, fdTimeOffsetNs, CbmStar2019Algo< CbmStsDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmStsDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, fhVectorCapacity, fhVectorSize, FillHistograms(), fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmStsDigi >::fuNbCoreMsPerTs, CbmStar2019Algo< CbmStsDigi >::fuNbMsLoop, CbmStar2019Algo< CbmStsDigi >::fuNbOverMsPerTs, fUnpackPar, fuTsMaxVectorSize, fvdTimeOffsetNsAsics, fviFebAddress, fviFebModule, fvmHitsInMs, CbmStar2019Algo< CbmStsDigi >::fvMsComponentsList, CbmCosy2019HodoPar::GetChannelInModule(), CbmCosy2019HodoPar::GetNbAsicsPerFeb(), stsxyter::kdClockCycleNs, and ProcessMs().
Referenced by CbmCosy2019UnpackerTaskHodo::DoUnpack().
|
inlinevirtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 56 of file CbmCosy2019UnpackerAlgoHodo.h.
References ProcessTs().
Referenced by ProcessTs().
|
private |
Definition at line 595 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References fuCurrDpbIdx, fulCurrentMsIdx, fulCurrentTsIdx, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, and stsxyter::Message::GetTsMsbVal().
Referenced by ProcessMs().
|
virtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 117 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References CbmStar2019Algo< CbmStsDigi >::fParCList, fUnpackPar, and InitParameters().
Referenced by InitContainers(), and CbmCosy2019UnpackerTaskHodo::ReInitContainers().
|
virtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 101 of file CbmCosy2019UnpackerAlgoHodo.cxx.
Bool_t CbmCosy2019UnpackerAlgoHodo::ResetHistograms | ( | ) |
Definition at line 947 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References fhDigisTimeInRun.
Referenced by CbmCosy2019UnpackerTaskHodo::DoUnpack().
|
inlineinherited |
Control flags.
Definition at line 101 of file CbmStar2019Algo.h.
|
inline |
Definition at line 65 of file CbmCosy2019UnpackerAlgoHodo.h.
References fbMonitorMode.
Referenced by CbmCosy2019UnpackerTaskHodo::InitContainers().
|
inlinevirtualinherited |
Definition at line 79 of file CbmStar2019Algo.h.
|
inline |
Definition at line 66 of file CbmCosy2019UnpackerAlgoHodo.h.
References fdTimeOffsetNs.
Referenced by CbmCosy2019UnpackerTaskHodo::SetTimeOffsetNs().
void CbmCosy2019UnpackerAlgoHodo::SetTimeOffsetNsAsic | ( | UInt_t | uAsicIdx, |
Double_t | dOffsetIn = 0.0 ) |
Definition at line 985 of file CbmCosy2019UnpackerAlgoHodo.cxx.
References fvdTimeOffsetNsAsics.
Referenced by CbmCosy2019UnpackerTaskHodo::SetTimeOffsetNsAsic().
|
inline |
Definition at line 69 of file CbmCosy2019UnpackerAlgoHodo.h.
References fdCapacityIncFactor.
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 74 of file CbmCosy2019UnpackerAlgoHodo.h.
|
protectedinherited |
Definition at line 112 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::ProcessTs(), ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().
|
private |
Control flags.
Definition at line 73 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessTs(), and SetMonitorMode().
|
private |
Definition at line 143 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessTs(), and SetVectCapInc().
|
protectedinherited |
Vector of pointers to canvases + optional folder name.
For unpacker algos
Definition at line 134 of file CbmStar2019Algo.h.
Referenced by FillHistograms(), CbmMcbm2018UnpackerAlgoSts::FillHistograms(), ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().
|
protectedinherited |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
Definition at line 113 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::ProcessTs(), ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().
|
private |
End Time in ns of current TS Core from the index of the first MS first component.
Definition at line 110 of file CbmCosy2019UnpackerAlgoHodo.h.
|
private |
Total number of STS DPBs in system.
Definition at line 83 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters(), and ProcessMs().
|
private |
Current TS MSB cycle for DPB Starting state book-keeping
Definition at line 123 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessHitInfo().
|
private |
Time of first valid hit (TS_MSB available), used as reference for evolution plots
Definition at line 124 of file CbmCosy2019UnpackerAlgoHodo.h.
|
private |
Module for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].
User settings: Data correction parameters
Definition at line 98 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessTs(), and SetTimeOffsetNs().
|
protectedinherited |
Size of a single MS, [nanoseconds].
Definition at line 114 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::ProcessTs(), ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 115 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::ProcessTs(), ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().
|
private |
Definition at line 108 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessTs().
|
private |
Time in ns of current TS from the index of the first MS first component.
Definition at line 109 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 135 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018UnpackerAlgoSts::ProcessHitInfo(), CbmMcbm2018UnpackerAlgoSts::ProcessMs(), and CbmMcbm2018UnpackerAlgoSts::ProcessStatusInfo().
|
private |
All hits (time in bins, ADC in bins, asic, channel) in last MS, sorted with "<" operator.
Histograms
Definition at line 133 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 141 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by CreateHistograms(), and ProcessTs().
|
private |
Definition at line 140 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by CreateHistograms(), and ProcessTs().
|
private |
Start of run time since "epoch" in s, for the plots with date as X axis.
Definition at line 118 of file CbmCosy2019UnpackerAlgoHodo.h.
|
private |
Index of the DPB from which the MS currently unpacked is coming.
Definition at line 117 of file CbmCosy2019UnpackerAlgoHodo.h.
|
private |
Index of current MS within the TS Current data properties
Definition at line 113 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessMs().
|
protectedinherited |
For any algo.
Definition at line 138 of file CbmStar2019Algo.h.
|
protectedinherited |
Parameter management.
Definition at line 105 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::GetParList(), GetParList(), CbmMcbm2018UnpackerAlgoSts::GetParList(), ReInitContainers(), CbmMcbm2018UnpackerAlgoSts::ReInitContainers(), and CbmMcbm2018UnpackerAlgoSts::~CbmMcbm2018UnpackerAlgoSts().
|
private |
Time of first microslice, used as reference for evolution plots
Definition at line 126 of file CbmCosy2019UnpackerAlgoHodo.h.
|
private |
Current equipment ID, tells from which DPB the current MS is originating.
Definition at line 115 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessMs().
|
private |
Temp holder until Current equipment ID is properly filled in MS.
Definition at line 116 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessHitInfo(), ProcessMs(), and ProcessTsMsbInfo().
|
private |
Definition at line 114 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessMs().
|
private |
Definition at line 107 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessMs(), and ProcessTsMsbInfo().
|
private |
Running indices TS/MS info
Definition at line 106 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessMs(), ProcessTs(), and ProcessTsMsbInfo().
|
private |
Start Time in ns of current MS from its index field in header.
Definition at line 111 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 109 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::ProcessTs(), ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().
|
private |
Array to hold the active flag for all CROBs, [ NbDpb ][ NbCrobPerDpb ].
Definition at line 86 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters().
|
private |
Readout chain dimensions and mapping
Definition at line 80 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters().
|
protectedinherited |
Definition at line 111 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::ProcessTs(), ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().
|
protectedinherited |
Definition at line 110 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::ProcessTs(), ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().
|
private |
Number of FEBs with StsXyter ASICs.
Definition at line 87 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters().
|
private |
Settings from parameter file.
Definition at line 78 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by GetParList(), InitParameters(), ProcessHitInfo(), ProcessMs(), ProcessTs(), and ReInitContainers().
|
private |
STS address for the first strip of each module.
Definition at line 82 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters().
|
private |
Definition at line 142 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessTs().
|
private |
Map of DPB Identifier to DPB index.
Definition at line 85 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 75 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessMs().
|
private |
Idx of the STS module for each FEB, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], -1 if inactive.
Definition at line 91 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters().
|
private |
ADC gain in e-/b, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ].
Definition at line 93 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters().
|
private |
Definition at line 99 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters(), ProcessTs(), and SetTimeOffsetNsAsic().
|
private |
ADC offset in e-, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ].
Definition at line 94 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters(), and ProcessTs().
|
private |
STS address for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].
Definition at line 95 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters(), and ProcessTs().
|
private |
Number of StsXyter ASICs.
Definition at line 89 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters().
|
private |
Total number of STS modules in the setup.
Definition at line 81 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters().
|
private |
Hits time-sorting.
Time of run Start from UNIX system, used as reference for long evolution plots against reception time
Definition at line 130 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by ProcessHitInfo(), ProcessTs(), and ~CbmCosy2019UnpackerAlgoHodo().
|
protectedinherited |
Parameters related to FLES containers.
Definition at line 108 of file CbmStar2019Algo.h.
Referenced by CbmCosy2019MonitorAlgoHodo::AddMsComponentToList(), AddMsComponentToList(), CbmMcbm2018UnpackerAlgoSts::AddMsComponentToList(), CbmCosy2019MonitorAlgoHodo::ProcessTs(), ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().
|
protectedinherited |
Vector of pointers to histograms + optional folder name.
Definition at line 131 of file CbmStar2019Algo.h.
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
For monitor algos => Pointers should be filled with TH1*, TH2*, TProfile*, ... ==> To check if object N is of type T, use "T ObjectPointer = dynamic_cast<T>( fvpAllHistoPointers[N].first );" and check for nullptr ==> To get back the original class name use "fvpAllHistoPointers[N].first->ClassName()" which returns a const char * (e.g. "TH1I") ===> Usage example with feeding a THttpServer: ===> #include "TH2.h" ===> std::string sClassName = vHistos[ uHisto ].first.ClassName(); ===> if( !strncmp( sClassName, "TH1", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH1 * >(vHistos[ uHisto ].first) ); ===> else if( !strncmp( sClassName, "TH2", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH2 * >(vHistos[ uHisto ].first) );
Definition at line 129 of file CbmStar2019Algo.h.
|
private |
Current TS MSB for each DPB.
Definition at line 121 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters(), ProcessHitInfo(), ProcessMs(), and ProcessTsMsbInfo().
|
private |
Bin size in s for the plots with date as X axis Data format control
Definition at line 120 of file CbmCosy2019UnpackerAlgoHodo.h.
Referenced by InitParameters(), ProcessHitInfo(), ProcessMs(), and ProcessTsMsbInfo().
|
staticprivate |
Constants.
Definition at line 102 of file CbmCosy2019UnpackerAlgoHodo.h.