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

#include <CbmCosy2019MonitorTaskHodo.h>

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

Public Member Functions

 CbmCosy2019MonitorTaskHodo (UInt_t uNbSdpb=1)
 
 CbmCosy2019MonitorTaskHodo (const CbmCosy2019MonitorTaskHodo &)=delete
 
CbmCosy2019MonitorTaskHodo operator= (const CbmCosy2019MonitorTaskHodo &)=delete
 
virtual ~CbmCosy2019MonitorTaskHodo ()
 
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 SetMonitorMode (Bool_t bFlagIn=kTRUE)
 
void SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE)
 
void SetDpbId (UInt_t uDpbId=0x5b75)
 
void SetHodoElinkIdx (UInt_t uElinkHodoA=5, UInt_t uElinkHodoB=10)
 
void SetHodoSwapXY (Bool_t bSwapHodoA=kFALSE, Bool_t bSwapHodoB=kTRUE)
 
void SetHodoInvertX (Bool_t bInvHodoA=kFALSE, Bool_t bInvHodoB=kTRUE)
 
void SetHodoInvertY (Bool_t bInvHodoA=kFALSE, Bool_t bInvHodoB=kTRUE)
 
void SetTimeOffsetNs (Double_t dOffsetIn=0.0)
 
void SetWriteOutputFlag (Bool_t bFlagIn)
 Task settings.
 

Private Member Functions

Bool_t SaveHistograms ()
 

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.
 
CbmCosy2019MonitorAlgoHodofMonitorAlgo
 Processing algo.
 

Detailed Description

Definition at line 21 of file CbmCosy2019MonitorTaskHodo.h.

Constructor & Destructor Documentation

◆ CbmCosy2019MonitorTaskHodo() [1/2]

CbmCosy2019MonitorTaskHodo::CbmCosy2019MonitorTaskHodo ( UInt_t uNbSdpb = 1)

Definition at line 41 of file CbmCosy2019MonitorTaskHodo.cxx.

References fMonitorAlgo.

◆ CbmCosy2019MonitorTaskHodo() [2/2]

CbmCosy2019MonitorTaskHodo::CbmCosy2019MonitorTaskHodo ( const CbmCosy2019MonitorTaskHodo & )
delete

◆ ~CbmCosy2019MonitorTaskHodo()

CbmCosy2019MonitorTaskHodo::~CbmCosy2019MonitorTaskHodo ( )
virtual

Definition at line 53 of file CbmCosy2019MonitorTaskHodo.cxx.

References fMonitorAlgo.

Member Function Documentation

◆ AddMsComponentToList()

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

Temp until we change from CbmMcbmUnpack to something else.

Implements CbmMcbmUnpack.

Definition at line 162 of file CbmCosy2019MonitorTaskHodo.cxx.

References CbmCosy2019MonitorAlgoHodo::AddMsComponentToList(), and fMonitorAlgo.

◆ DoUnpack()

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

◆ Finish()

void CbmCosy2019MonitorTaskHodo::Finish ( )
virtual

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

Implements CbmMcbmUnpack.

Definition at line 209 of file CbmCosy2019MonitorTaskHodo.cxx.

References fbMonitorMode, and SaveHistograms().

◆ Init()

Bool_t CbmCosy2019MonitorTaskHodo::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 55 of file CbmCosy2019MonitorTaskHodo.cxx.

◆ InitContainers()

Bool_t CbmCosy2019MonitorTaskHodo::InitContainers ( )
virtual

Control flags

Trigger histo creation on all associated algos

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

Register the histos in the HTTP server

Reimplemented from CbmMcbmUnpack.

Definition at line 100 of file CbmCosy2019MonitorTaskHodo.cxx.

References CbmCosy2019MonitorAlgoHodo::CreateHistograms(), fbMonitorMode, first, fMonitorAlgo, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmCosy2019MonitorAlgoHodo::InitContainers(), and CbmCosy2019MonitorAlgoHodo::SetMonitorMode().

◆ operator=()

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

◆ ReInitContainers()

Bool_t CbmCosy2019MonitorTaskHodo::ReInitContainers ( )
virtual

Reimplemented from CbmMcbmUnpack.

Definition at line 154 of file CbmCosy2019MonitorTaskHodo.cxx.

References fMonitorAlgo, and CbmCosy2019MonitorAlgoHodo::ReInitContainers().

◆ Reset()

void CbmCosy2019MonitorTaskHodo::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 204 of file CbmCosy2019MonitorTaskHodo.cxx.

◆ SaveHistograms()

Bool_t CbmCosy2019MonitorTaskHodo::SaveHistograms ( )
private

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

Make sure we end up in chosen folder

Write plot

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

Definition at line 215 of file CbmCosy2019MonitorTaskHodo.cxx.

References fMonitorAlgo, CbmStar2019Algo< T >::GetCanvasVector(), and CbmStar2019Algo< T >::GetHistoVector().

Referenced by DoUnpack(), and Finish().

◆ SetDpbId()

void CbmCosy2019MonitorTaskHodo::SetDpbId ( UInt_t uDpbId = 0x5b75)

◆ SetHodoElinkIdx()

void CbmCosy2019MonitorTaskHodo::SetHodoElinkIdx ( UInt_t uElinkHodoA = 5,
UInt_t uElinkHodoB = 10 )

◆ SetHodoInvertX()

void CbmCosy2019MonitorTaskHodo::SetHodoInvertX ( Bool_t bInvHodoA = kFALSE,
Bool_t bInvHodoB = kTRUE )

◆ SetHodoInvertY()

void CbmCosy2019MonitorTaskHodo::SetHodoInvertY ( Bool_t bInvHodoA = kFALSE,
Bool_t bInvHodoB = kTRUE )

◆ SetHodoSwapXY()

void CbmCosy2019MonitorTaskHodo::SetHodoSwapXY ( Bool_t bSwapHodoA = kFALSE,
Bool_t bSwapHodoB = kTRUE )

◆ SetIgnoreOverlapMs()

void CbmCosy2019MonitorTaskHodo::SetIgnoreOverlapMs ( Bool_t bFlagIn = kTRUE)

◆ SetMonitorMode()

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

Definition at line 46 of file CbmCosy2019MonitorTaskHodo.h.

References fbMonitorMode.

◆ SetNbMsInTs()

void CbmCosy2019MonitorTaskHodo::SetNbMsInTs ( size_t ,
size_t  )
inlinevirtual

Implements CbmMcbmUnpack.

Definition at line 44 of file CbmCosy2019MonitorTaskHodo.h.

◆ SetParContainers()

void CbmCosy2019MonitorTaskHodo::SetParContainers ( )
virtual

◆ SetTimeOffsetNs()

void CbmCosy2019MonitorTaskHodo::SetTimeOffsetNs ( Double_t dOffsetIn = 0.0)

◆ SetWriteOutputFlag()

void CbmCosy2019MonitorTaskHodo::SetWriteOutputFlag ( Bool_t bFlagIn)
inline

Task settings.

Definition at line 57 of file CbmCosy2019MonitorTaskHodo.h.

References fbWriteOutput.

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmCosy2019MonitorTaskHodo::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 62 of file CbmCosy2019MonitorTaskHodo.h.

◆ fbMonitorMode

Bool_t CbmCosy2019MonitorTaskHodo::fbMonitorMode
private

Control flags.

Definition at line 61 of file CbmCosy2019MonitorTaskHodo.h.

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

◆ fbWriteOutput

Bool_t CbmCosy2019MonitorTaskHodo::fbWriteOutput
private

Switch ON the filling of a additional set of histograms.

Definition at line 63 of file CbmCosy2019MonitorTaskHodo.h.

Referenced by SetWriteOutputFlag().

◆ fMonitorAlgo

◆ fulTsCounter

uint64_t CbmCosy2019MonitorTaskHodo::fulTsCounter
private

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

Statistics & first TS rejection

Definition at line 66 of file CbmCosy2019MonitorTaskHodo.h.

Referenced by DoUnpack().


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