CbmRoot
Loading...
Searching...
No Matches
CbmMcbm2018UnpackerTaskRich2020 Class Reference

#include <CbmMcbm2018UnpackerTaskRich2020.h>

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

Public Member Functions

 CbmMcbm2018UnpackerTaskRich2020 ()
 
 CbmMcbm2018UnpackerTaskRich2020 (const CbmMcbm2018UnpackerTaskRich2020 &)=delete
 
CbmMcbm2018UnpackerTaskRich2020 operator= (const CbmMcbm2018UnpackerTaskRich2020 &)=delete
 
virtual ~CbmMcbm2018UnpackerTaskRich2020 ()
 
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.
 
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.
 

Private Member Functions

 ClassDef (CbmMcbm2018UnpackerTaskRich2020, 1)
 

Private Attributes

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

Detailed Description

Definition at line 21 of file CbmMcbm2018UnpackerTaskRich2020.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018UnpackerTaskRich2020() [1/2]

CbmMcbm2018UnpackerTaskRich2020::CbmMcbm2018UnpackerTaskRich2020 ( )

Definition at line 41 of file CbmMcbm2018UnpackerTaskRich2020.cxx.

◆ CbmMcbm2018UnpackerTaskRich2020() [2/2]

CbmMcbm2018UnpackerTaskRich2020::CbmMcbm2018UnpackerTaskRich2020 ( const CbmMcbm2018UnpackerTaskRich2020 & )
delete

◆ ~CbmMcbm2018UnpackerTaskRich2020()

CbmMcbm2018UnpackerTaskRich2020::~CbmMcbm2018UnpackerTaskRich2020 ( )
virtual

Definition at line 50 of file CbmMcbm2018UnpackerTaskRich2020.cxx.

References fUnpackerAlgo.

Member Function Documentation

◆ AddMsComponentToList()

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

Copied from other detectors without any brain effort...

Implements CbmMcbmUnpack.

Definition at line 245 of file CbmMcbm2018UnpackerTaskRich2020.cxx.

References CbmMcbm2018UnpackerAlgoRich2020::AddMsComponentToList(), and fUnpackerAlgo.

◆ ClassDef()

CbmMcbm2018UnpackerTaskRich2020::ClassDef ( CbmMcbm2018UnpackerTaskRich2020 ,
1  )
private

◆ DoTotCorr()

void CbmMcbm2018UnpackerTaskRich2020::DoTotCorr ( Bool_t bDoToTCorr = kTRUE)

◆ DoUnpack()

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

◆ Finish()

void CbmMcbm2018UnpackerTaskRich2020::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)

Save old global file and folder pointer to avoid messing with FairRoot

Register the histos in the HTTP server

Make sure we end up in chosen folder

Write plot

Restore old global file and folder pointer to avoid messing with FairRoot

Implements CbmMcbmUnpack.

Definition at line 108 of file CbmMcbm2018UnpackerTaskRich2020.cxx.

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

◆ Init()

Bool_t CbmMcbm2018UnpackerTaskRich2020::Init ( )
virtual

Get address of vector from algo

Implements CbmMcbmUnpack.

Definition at line 58 of file CbmMcbm2018UnpackerTaskRich2020.cxx.

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

◆ InitContainers()

Bool_t CbmMcbm2018UnpackerTaskRich2020::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 176 of file CbmMcbm2018UnpackerTaskRich2020.cxx.

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

◆ operator=()

CbmMcbm2018UnpackerTaskRich2020 CbmMcbm2018UnpackerTaskRich2020::operator= ( const CbmMcbm2018UnpackerTaskRich2020 & )
delete

◆ ReInitContainers()

Bool_t CbmMcbm2018UnpackerTaskRich2020::ReInitContainers ( )
virtual

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

Reimplemented from CbmMcbmUnpack.

Definition at line 234 of file CbmMcbm2018UnpackerTaskRich2020.cxx.

References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoRich2020::ReInitContainers().

◆ Reset()

void CbmMcbm2018UnpackerTaskRich2020::Reset ( )
virtual

◆ SetIgnoreOverlapMs()

void CbmMcbm2018UnpackerTaskRich2020::SetIgnoreOverlapMs ( Bool_t bFlagIn = kTRUE)

◆ SetMonitorMode()

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

Algo settings setters.

Definition at line 49 of file CbmMcbm2018UnpackerTaskRich2020.h.

References fbMonitorMode.

◆ SetNbMsInTs()

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

Implements CbmMcbmUnpack.

Definition at line 250 of file CbmMcbm2018UnpackerTaskRich2020.cxx.

◆ SetParContainers()

void CbmMcbm2018UnpackerTaskRich2020::SetParContainers ( )
virtual

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

Implements CbmMcbmUnpack.

Definition at line 149 of file CbmMcbm2018UnpackerTaskRich2020.cxx.

References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoRich2020::GetParList().

◆ SetTimeOffsetNs()

void CbmMcbm2018UnpackerTaskRich2020::SetTimeOffsetNs ( Double_t dOffsetIn = 0.0)

◆ SetWriteOutputFlag()

void CbmMcbm2018UnpackerTaskRich2020::SetWriteOutputFlag ( Bool_t bFlagIn)
inline

Task settings.

Definition at line 55 of file CbmMcbm2018UnpackerTaskRich2020.h.

References fbWriteOutput.

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018UnpackerTaskRich2020::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 60 of file CbmMcbm2018UnpackerTaskRich2020.h.

◆ fbMonitorMode

Bool_t CbmMcbm2018UnpackerTaskRich2020::fbMonitorMode
private

Control flags.

Definition at line 59 of file CbmMcbm2018UnpackerTaskRich2020.h.

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

◆ fbWriteOutput

Bool_t CbmMcbm2018UnpackerTaskRich2020::fbWriteOutput
private

Switch ON the filling of a additional set of histograms.

Definition at line 61 of file CbmMcbm2018UnpackerTaskRich2020.h.

Referenced by Init(), and SetWriteOutputFlag().

◆ fpvDigiRich

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

Output vectors.

Definition at line 70 of file CbmMcbm2018UnpackerTaskRich2020.h.

Referenced by Init().

◆ fulTsCounter

uint64_t CbmMcbm2018UnpackerTaskRich2020::fulTsCounter
private

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

Statistics & first TS rejection

Definition at line 64 of file CbmMcbm2018UnpackerTaskRich2020.h.

Referenced by DoUnpack().

◆ fUnpackerAlgo


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