CbmRoot
CbmMcbm2018UnpackerTaskRich Class Reference

#include <CbmMcbm2018UnpackerTaskRich.h>

Inheritance diagram for CbmMcbm2018UnpackerTaskRich:
[legend]
Collaboration diagram for CbmMcbm2018UnpackerTaskRich:
[legend]

Public Member Functions

 CbmMcbm2018UnpackerTaskRich ()
 
 CbmMcbm2018UnpackerTaskRich (const CbmMcbm2018UnpackerTaskRich &)=delete
 
CbmMcbm2018UnpackerTaskRich operator= (const CbmMcbm2018UnpackerTaskRich &)=delete
 
virtual ~CbmMcbm2018UnpackerTaskRich ()
 
virtual Bool_t Init ()
 
virtual Bool_t DoUnpack (const fles::Timeslice &ts, size_t component)
 
virtual void Reset ()
 
virtual void Finish ()
 
virtual void SetParContainers ()
 
virtual Bool_t InitContainers ()
 
virtual Bool_t ReInitContainers ()
 
virtual void AddMsComponentToList (size_t component, UShort_t usDetectorId)
 
virtual void SetNbMsInTs (size_t uCoreMsNb, size_t uOverlapMsNb)
 
void SetMonitorMode (Bool_t bFlagIn=kTRUE)
 Algo settings setters. More...
 
void SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE)
 
void SetTimeOffsetNs (Double_t dOffsetIn=0.0)
 
void DoTotCorr (Bool_t bDoToTCorr=kTRUE)
 
void SetWriteOutputFlag (Bool_t bFlagIn)
 Task settings. More...
 

Private Member Functions

 ClassDef (CbmMcbm2018UnpackerTaskRich, 1)
 

Private Attributes

Bool_t fbMonitorMode
 Control flags. More...
 
Bool_t fbDebugMonitorMode
 Switch ON the filling of a minimal set of histograms. More...
 
Bool_t fbWriteOutput
 Switch ON the filling of a additional set of histograms. More...
 
uint64_t fulTsCounter
 If ON the output TClonesArray of digi is written to disk. More...
 
CbmMcbm2018UnpackerAlgoRichfUnpackerAlgo
 Algo implementation of the unpacking. More...
 
std::vector< CbmRichDigi > * fpvDigiRich = nullptr
 Output vectors. More...
 

Detailed Description

Definition at line 17 of file CbmMcbm2018UnpackerTaskRich.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018UnpackerTaskRich() [1/2]

CbmMcbm2018UnpackerTaskRich::CbmMcbm2018UnpackerTaskRich ( )

Definition at line 36 of file CbmMcbm2018UnpackerTaskRich.cxx.

◆ CbmMcbm2018UnpackerTaskRich() [2/2]

CbmMcbm2018UnpackerTaskRich::CbmMcbm2018UnpackerTaskRich ( const CbmMcbm2018UnpackerTaskRich )
delete

◆ ~CbmMcbm2018UnpackerTaskRich()

CbmMcbm2018UnpackerTaskRich::~CbmMcbm2018UnpackerTaskRich ( )
virtual

Definition at line 43 of file CbmMcbm2018UnpackerTaskRich.cxx.

References fUnpackerAlgo.

Member Function Documentation

◆ AddMsComponentToList()

void CbmMcbm2018UnpackerTaskRich::AddMsComponentToList ( size_t  component,
UShort_t  usDetectorId 
)
virtual

Copied from other detectors without any brain effort...

Implements CbmMcbmUnpack.

Definition at line 238 of file CbmMcbm2018UnpackerTaskRich.cxx.

References CbmMcbm2018UnpackerAlgoRich::AddMsComponentToList(), and fUnpackerAlgo.

◆ ClassDef()

CbmMcbm2018UnpackerTaskRich::ClassDef ( CbmMcbm2018UnpackerTaskRich  ,
 
)
private

◆ DoTotCorr()

void CbmMcbm2018UnpackerTaskRich::DoTotCorr ( Bool_t  bDoToTCorr = kTRUE)

◆ DoUnpack()

Bool_t CbmMcbm2018UnpackerTaskRich::DoUnpack ( const fles::Timeslice &  ts,
size_t  component 
)
virtual

◆ Finish()

void CbmMcbm2018UnpackerTaskRich::Finish ( )
virtual

Copied from the CbmMcbm2018UnpackerTaskSts class without giving any thinking...

If monitor mode enabled, trigger histos creation, obtain pointer on them and add them to the HTTP server

Obtain vector of pointers on each histo from the algo (+ optionally desired folder)

(Re-)Create ROOT file to store the histos

Register the histos in the HTTP server

Make sure we end up in chosen folder

Write plot

Implements CbmMcbmUnpack.

Definition at line 101 of file CbmMcbm2018UnpackerTaskRich.cxx.

References fbMonitorMode, fUnpackerAlgo, and CbmStar2019Algo< T >::GetHistoVector().

◆ Init()

Bool_t CbmMcbm2018UnpackerTaskRich::Init ( )
virtual

Get address of vector from algo

Implements CbmMcbmUnpack.

Definition at line 50 of file CbmMcbm2018UnpackerTaskRich.cxx.

References fbWriteOutput, fpvDigiRich, fUnpackerAlgo, and CbmStar2019Algo< T >::GetVector().

◆ InitContainers()

Bool_t CbmMcbm2018UnpackerTaskRich::InitContainers ( )
virtual

Copied from the CbmMcbm2018UnpackerTaskTof class without giving any thinking...

Control flags

If monitor mode enabled, trigger histos creation, obtain pointer on them and add them to the HTTP server

Trigger histo creation on all associated algos

Obtain vector of pointers on each histo from the algo (+ optionally desired folder)

Obtain vector of pointers on each canvas from the algo (+ optionally desired folder)

Register the histos in the HTTP server

Reimplemented from CbmMcbmUnpack.

Definition at line 166 of file CbmMcbm2018UnpackerTaskRich.cxx.

References CbmMcbm2018UnpackerAlgoRich::CreateHistograms(), fbMonitorMode, fUnpackerAlgo, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmMcbm2018UnpackerAlgoRich::InitContainers(), and CbmMcbm2018UnpackerAlgoRich::SetMonitorMode().

◆ operator=()

CbmMcbm2018UnpackerTaskRich CbmMcbm2018UnpackerTaskRich::operator= ( const CbmMcbm2018UnpackerTaskRich )
delete

◆ ReInitContainers()

Bool_t CbmMcbm2018UnpackerTaskRich::ReInitContainers ( )
virtual

Copied from the CbmMcbm2018UnpackerTaskTof class without giving any thinking...

Reimplemented from CbmMcbmUnpack.

Definition at line 228 of file CbmMcbm2018UnpackerTaskRich.cxx.

References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoRich::ReInitContainers().

◆ Reset()

void CbmMcbm2018UnpackerTaskRich::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 96 of file CbmMcbm2018UnpackerTaskRich.cxx.

References CbmStar2019Algo< T >::ClearVector(), and fUnpackerAlgo.

◆ SetIgnoreOverlapMs()

void CbmMcbm2018UnpackerTaskRich::SetIgnoreOverlapMs ( Bool_t  bFlagIn = kTRUE)

◆ SetMonitorMode()

void CbmMcbm2018UnpackerTaskRich::SetMonitorMode ( Bool_t  bFlagIn = kTRUE)
inline

Algo settings setters.

Definition at line 46 of file CbmMcbm2018UnpackerTaskRich.h.

References fbMonitorMode.

◆ SetNbMsInTs()

void CbmMcbm2018UnpackerTaskRich::SetNbMsInTs ( size_t  uCoreMsNb,
size_t  uOverlapMsNb 
)
virtual

Implements CbmMcbmUnpack.

Definition at line 243 of file CbmMcbm2018UnpackerTaskRich.cxx.

◆ SetParContainers()

void CbmMcbm2018UnpackerTaskRich::SetParContainers ( )
virtual

Copied from the CbmMcbm2018UnpackerTaskTof class without giving any thinking...

Implements CbmMcbmUnpack.

Definition at line 139 of file CbmMcbm2018UnpackerTaskRich.cxx.

References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoRich::GetParList().

◆ SetTimeOffsetNs()

void CbmMcbm2018UnpackerTaskRich::SetTimeOffsetNs ( Double_t  dOffsetIn = 0.0)

◆ SetWriteOutputFlag()

void CbmMcbm2018UnpackerTaskRich::SetWriteOutputFlag ( Bool_t  bFlagIn)
inline

Task settings.

Definition at line 54 of file CbmMcbm2018UnpackerTaskRich.h.

References fbWriteOutput.

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018UnpackerTaskRich::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 61 of file CbmMcbm2018UnpackerTaskRich.h.

◆ fbMonitorMode

Bool_t CbmMcbm2018UnpackerTaskRich::fbMonitorMode
private

Control flags.

Definition at line 59 of file CbmMcbm2018UnpackerTaskRich.h.

Referenced by DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().

◆ fbWriteOutput

Bool_t CbmMcbm2018UnpackerTaskRich::fbWriteOutput
private

Switch ON the filling of a additional set of histograms.

Definition at line 63 of file CbmMcbm2018UnpackerTaskRich.h.

Referenced by Init(), and SetWriteOutputFlag().

◆ fpvDigiRich

std::vector<CbmRichDigi>* CbmMcbm2018UnpackerTaskRich::fpvDigiRich = nullptr
private

Output vectors.

Definition at line 72 of file CbmMcbm2018UnpackerTaskRich.h.

Referenced by Init().

◆ fulTsCounter

uint64_t CbmMcbm2018UnpackerTaskRich::fulTsCounter
private

If ON the output TClonesArray of digi is written to disk.

Statistics & first TS rejection

Definition at line 66 of file CbmMcbm2018UnpackerTaskRich.h.

Referenced by DoUnpack().

◆ fUnpackerAlgo

CbmMcbm2018UnpackerAlgoRich* CbmMcbm2018UnpackerTaskRich::fUnpackerAlgo
private

The documentation for this class was generated from the following files: