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

Demonstrator class to save online unpacked digis in an output ROOT tree. More...

#include <CbmTaskInspectDigiTimeslice.h>

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

Public Member Functions

 CbmTaskInspectDigiTimeslice ()
 Constructor.
 
 CbmTaskInspectDigiTimeslice (const CbmTaskInspectDigiTimeslice &)=delete
 Copy constructor (disabled)
 
virtual ~CbmTaskInspectDigiTimeslice ()
 Destructor.
 
virtual void Exec (Option_t *opt)
 Task execution.
 
virtual void Finish ()
 Finish timeslice.
 
CbmTaskInspectDigiTimesliceoperator= (const CbmTaskInspectDigiTimeslice &)=delete
 Assignment operator (disabled)
 

Private Member Functions

virtual InitStatus Init ()
 Task initialisation.
 
template<typename TVecobj >
const std::vector< TVecobj > * InitInput (FairRootManager *ioman)
 
 ClassDef (CbmTaskInspectDigiTimeslice, 1)
 

Private Attributes

const std::vector< CbmBmonDigi > * fBmonDigis = nullptr
 
const std::vector< CbmStsDigi > * fStsDigis = nullptr
 Input data (digis)
 
const std::vector< CbmMuchDigi > * fMuchDigis = nullptr
 Input data (digis)
 
const std::vector< CbmTrdDigi > * fTrdDigis = nullptr
 Input data (digis)
 
const std::vector< CbmTofDigi > * fTofDigis = nullptr
 Input data (digis)
 
const std::vector< CbmRichDigi > * fRichDigis = nullptr
 Input data (digis)
 
size_t fNumTs = 0
 Input data (digis)
 

Detailed Description

Demonstrator class to save online unpacked digis in an output ROOT tree.

Author
Pierre-Alain Loizeau p.-a..nosp@m.loiz.nosp@m.eau@g.nosp@m.si.d.nosp@m.e
Since
21 March 2024

This is a demonstrator of how to convert online unpacked digis into an output ROOT tree. It also logs some information to the console as an example on how to look at these digis.

Definition at line 30 of file CbmTaskInspectDigiTimeslice.h.

Constructor & Destructor Documentation

◆ CbmTaskInspectDigiTimeslice() [1/2]

CbmTaskInspectDigiTimeslice::CbmTaskInspectDigiTimeslice ( )

Constructor.

Definition at line 12 of file CbmTaskInspectDigiTimeslice.cxx.

◆ CbmTaskInspectDigiTimeslice() [2/2]

CbmTaskInspectDigiTimeslice::CbmTaskInspectDigiTimeslice ( const CbmTaskInspectDigiTimeslice & )
delete

Copy constructor (disabled)

◆ ~CbmTaskInspectDigiTimeslice()

CbmTaskInspectDigiTimeslice::~CbmTaskInspectDigiTimeslice ( )
virtual

Destructor.

Definition at line 17 of file CbmTaskInspectDigiTimeslice.cxx.

Member Function Documentation

◆ ClassDef()

CbmTaskInspectDigiTimeslice::ClassDef ( CbmTaskInspectDigiTimeslice ,
1  )
private

◆ Exec()

void CbmTaskInspectDigiTimeslice::Exec ( Option_t * opt)
virtual

Task execution.

Definition at line 22 of file CbmTaskInspectDigiTimeslice.cxx.

References fBmonDigis, fMuchDigis, fNumTs, fRichDigis, fStsDigis, fTofDigis, and fTrdDigis.

◆ Finish()

void CbmTaskInspectDigiTimeslice::Finish ( )
virtual

Finish timeslice.

Definition at line 37 of file CbmTaskInspectDigiTimeslice.cxx.

References fNumTs.

◆ Init()

InitStatus CbmTaskInspectDigiTimeslice::Init ( )
privatevirtual

Task initialisation.

Definition at line 60 of file CbmTaskInspectDigiTimeslice.cxx.

References fBmonDigis, fMuchDigis, fRichDigis, fStsDigis, fTofDigis, fTrdDigis, and InitInput().

◆ InitInput()

template<typename TVecobj >
const std::vector< TVecobj > * CbmTaskInspectDigiTimeslice::InitInput ( FairRootManager * ioman)
private

Definition at line 49 of file CbmTaskInspectDigiTimeslice.cxx.

Referenced by Init().

◆ operator=()

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

Assignment operator (disabled)

Member Data Documentation

◆ fBmonDigis

const std::vector<CbmBmonDigi>* CbmTaskInspectDigiTimeslice::fBmonDigis = nullptr
private

Definition at line 65 of file CbmTaskInspectDigiTimeslice.h.

Referenced by Exec(), and Init().

◆ fMuchDigis

const std::vector<CbmMuchDigi>* CbmTaskInspectDigiTimeslice::fMuchDigis = nullptr
private

Input data (digis)

Definition at line 67 of file CbmTaskInspectDigiTimeslice.h.

Referenced by Exec(), and Init().

◆ fNumTs

size_t CbmTaskInspectDigiTimeslice::fNumTs = 0
private

Input data (digis)

Number of processed timeslices

Definition at line 71 of file CbmTaskInspectDigiTimeslice.h.

Referenced by Exec(), and Finish().

◆ fRichDigis

const std::vector<CbmRichDigi>* CbmTaskInspectDigiTimeslice::fRichDigis = nullptr
private

Input data (digis)

Definition at line 70 of file CbmTaskInspectDigiTimeslice.h.

Referenced by Exec(), and Init().

◆ fStsDigis

const std::vector<CbmStsDigi>* CbmTaskInspectDigiTimeslice::fStsDigis = nullptr
private

Input data (digis)

Definition at line 66 of file CbmTaskInspectDigiTimeslice.h.

Referenced by Exec(), and Init().

◆ fTofDigis

const std::vector<CbmTofDigi>* CbmTaskInspectDigiTimeslice::fTofDigis = nullptr
private

Input data (digis)

Definition at line 69 of file CbmTaskInspectDigiTimeslice.h.

Referenced by Exec(), and Init().

◆ fTrdDigis

const std::vector<CbmTrdDigi>* CbmTaskInspectDigiTimeslice::fTrdDigis = nullptr
private

Input data (digis)

Definition at line 68 of file CbmTaskInspectDigiTimeslice.h.

Referenced by Exec(), and Init().


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