ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | Protected Attributes | List of all members
AtHDF5ReadTask Class Reference

#include <AtHDF5ReadTask.h>

Inheritance diagram for AtHDF5ReadTask:
Inheritance graph
[legend]
Collaboration diagram for AtHDF5ReadTask:
Collaboration graph
[legend]

Public Member Functions

 AtHDF5ReadTask (TString fileName, TString outputBranchName="AtEventH")
 
void SetPersistence (bool val)
 
virtual InitStatus Init () override
 
virtual void Exec (Option_t *opt) override
 
 ClassDefOverride (AtHDF5ReadTask, 1)
 

Protected Attributes

TString fInputFileName
 
TString fOutputBranchName
 
std::unique_ptr< H5::H5File > fFile {nullptr}
 
TClonesArray fEventArray
 
Bool_t fIsPersistence {false}
 
Int_t fEventNum {0}
 

Detailed Description

Definition at line 18 of file AtHDF5ReadTask.h.

Constructor & Destructor Documentation

◆ AtHDF5ReadTask()

AtHDF5ReadTask::AtHDF5ReadTask ( TString  fileName,
TString  outputBranchName = "AtEventH" 
)

Definition at line 15 of file AtHDF5ReadTask.cxx.

Member Function Documentation

◆ ClassDefOverride()

AtHDF5ReadTask::ClassDefOverride ( AtHDF5ReadTask  ,
 
)

◆ Exec()

void AtHDF5ReadTask::Exec ( Option_t *  opt)
overridevirtual

Definition at line 36 of file AtHDF5ReadTask.cxx.

◆ Init()

InitStatus AtHDF5ReadTask::Init ( )
overridevirtual

Definition at line 20 of file AtHDF5ReadTask.cxx.

◆ SetPersistence()

void AtHDF5ReadTask::SetPersistence ( bool  val)
inline

Definition at line 33 of file AtHDF5ReadTask.h.

Member Data Documentation

◆ fEventArray

TClonesArray AtHDF5ReadTask::fEventArray
protected

Definition at line 25 of file AtHDF5ReadTask.h.

◆ fEventNum

Int_t AtHDF5ReadTask::fEventNum {0}
protected

Definition at line 28 of file AtHDF5ReadTask.h.

◆ fFile

std::unique_ptr<H5::H5File> AtHDF5ReadTask::fFile {nullptr}
protected

Definition at line 24 of file AtHDF5ReadTask.h.

◆ fInputFileName

TString AtHDF5ReadTask::fInputFileName
protected

Definition at line 21 of file AtHDF5ReadTask.h.

◆ fIsPersistence

Bool_t AtHDF5ReadTask::fIsPersistence {false}
protected

Definition at line 27 of file AtHDF5ReadTask.h.

◆ fOutputBranchName

TString AtHDF5ReadTask::fOutputBranchName
protected

Definition at line 22 of file AtHDF5ReadTask.h.


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