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

Demonstrator class to look at digi events in the ROOT tree. More...

#include <CbmTaskInspectDigiEvents.h>

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

Public Member Functions

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

Private Member Functions

virtual InitStatus Init ()
 Task initialisation.
 
 ClassDef (CbmTaskInspectDigiEvents, 1)
 

Private Attributes

const std::vector< CbmDigiEvent > * fEvents = nullptr
 
size_t fNumTs = 0
 Input data (events)
 
size_t fNumEvents = 0
 Number of analysed events.
 

Detailed Description

Demonstrator class to look at digi events in the ROOT tree.

Author
Volker Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Since
19.03.2024

This is just a demonstrator how to look at DigiEvents in the ROOT tree. It logs some information to the console.

Definition at line 23 of file CbmTaskInspectDigiEvents.h.

Constructor & Destructor Documentation

◆ CbmTaskInspectDigiEvents() [1/2]

CbmTaskInspectDigiEvents::CbmTaskInspectDigiEvents ( )

Constructor.

Definition at line 12 of file CbmTaskInspectDigiEvents.cxx.

◆ CbmTaskInspectDigiEvents() [2/2]

CbmTaskInspectDigiEvents::CbmTaskInspectDigiEvents ( const CbmTaskInspectDigiEvents & )
delete

Copy constructor (disabled)

◆ ~CbmTaskInspectDigiEvents()

CbmTaskInspectDigiEvents::~CbmTaskInspectDigiEvents ( )
virtual

Destructor.

Definition at line 17 of file CbmTaskInspectDigiEvents.cxx.

Member Function Documentation

◆ ClassDef()

CbmTaskInspectDigiEvents::ClassDef ( CbmTaskInspectDigiEvents ,
1  )
private

◆ Exec()

void CbmTaskInspectDigiEvents::Exec ( Option_t * opt)
virtual

Task execution.

Definition at line 22 of file CbmTaskInspectDigiEvents.cxx.

References fEvents, fNumEvents, and fNumTs.

◆ Finish()

void CbmTaskInspectDigiEvents::Finish ( )
virtual

Finish timeslice.

Definition at line 53 of file CbmTaskInspectDigiEvents.cxx.

References fNumEvents, and fNumTs.

◆ Init()

InitStatus CbmTaskInspectDigiEvents::Init ( )
privatevirtual

Task initialisation.

Definition at line 65 of file CbmTaskInspectDigiEvents.cxx.

References fEvents.

◆ operator=()

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

Assignment operator (disabled)

Member Data Documentation

◆ fEvents

const std::vector<CbmDigiEvent>* CbmTaskInspectDigiEvents::fEvents = nullptr
private

Definition at line 56 of file CbmTaskInspectDigiEvents.h.

Referenced by Exec(), and Init().

◆ fNumEvents

size_t CbmTaskInspectDigiEvents::fNumEvents = 0
private

Number of analysed events.

Definition at line 58 of file CbmTaskInspectDigiEvents.h.

Referenced by Exec(), and Finish().

◆ fNumTs

size_t CbmTaskInspectDigiEvents::fNumTs = 0
private

Input data (events)

Number of processed timeslices

Definition at line 57 of file CbmTaskInspectDigiEvents.h.

Referenced by Exec(), and Finish().


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