R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandTacquilaReader Class Reference

A reader of NeuLAND Tacquila data with UCESB. More...

#include <R3BNeulandTacquilaReader.h>

Public Member Functions

 R3BNeulandTacquilaReader (EXT_STR_h101_raw_nnp_tacquila *data, UInt_t)
 Standard constructor.
 
 ~R3BNeulandTacquilaReader ()
 Destructor.
 
auto Init (ext_data_struct_info *info) -> bool override
 Method for reader initialization.
 
auto R3BRead () -> bool override
 Method for reading the data.
 
void Reset () override
 Method for clearing the output array.
 
 ClassDefOverride (R3BNeulandTacquilaReader, 0)
 
- Public Member Functions inherited from R3BReader
 R3BReader (TString const &)
 
virtual ~R3BReader ()
 
virtual bool MismappedItemRequired (std::string_view) const
 
bool AllowExtraCondition (R3B::UcesbMap map_flag, R3B::UcesbMap success_condition)
 
void SetExtraConditions (R3B::UcesbMap conditions)
 
void AddExtraConditions (R3B::UcesbMap conditions)
 
virtual void SetParContainers ()
 
virtual Bool_t ReInit ()
 
virtual void Close ()
 
 ClassDef (R3BReader, 0)
 

Private Attributes

UInt_t fNEvent
 An event counter.
 
EXT_STR_h101_raw_nnp_tacquilafData
 Reader specific data structure from ucesb.
 
UInt_t fOffset
 
FairLogger * fLogger
 FairLogger.
 
TClonesArray * fArray
 Output array.
 

Detailed Description

Receives mapped raw data and converts it to R3BRoot objects.

Author
D. Kresan
Since
December 8, 2015

Definition at line 34 of file R3BNeulandTacquilaReader.h.

Constructor & Destructor Documentation

◆ R3BNeulandTacquilaReader()

R3BNeulandTacquilaReader::R3BNeulandTacquilaReader ( EXT_STR_h101_raw_nnp_tacquila * data,
UInt_t offset )

Creates instance of the reader. To be called in the steering macro.

Parameters
dataPointer to a full C structure generated by the Ucesb unpacker.

Definition at line 27 of file R3BNeulandTacquilaReader.cxx.

◆ ~R3BNeulandTacquilaReader()

R3BNeulandTacquilaReader::~R3BNeulandTacquilaReader ( )

Definition at line 37 of file R3BNeulandTacquilaReader.cxx.

Member Function Documentation

◆ ClassDefOverride()

R3BNeulandTacquilaReader::ClassDefOverride ( R3BNeulandTacquilaReader ,
0  )

◆ Init()

auto R3BNeulandTacquilaReader::Init ( ext_data_struct_info * info) -> bool
overridevirtual

Called by the R3BUcesbSource before the unpacking starts.

Parameters
infoInfo structure.

Implements R3BReader.

Definition at line 39 of file R3BNeulandTacquilaReader.cxx.

◆ R3BRead()

Bool_t R3BNeulandTacquilaReader::R3BRead ( ) -> bool
overridevirtual

Called by the R3BUcesbSource once per sub-event. Makes data conversion.

Implements R3BReader.

Definition at line 58 of file R3BNeulandTacquilaReader.cxx.

◆ Reset()

void R3BNeulandTacquilaReader::Reset ( )
overridevirtual

Implements R3BReader.

Definition at line 101 of file R3BNeulandTacquilaReader.cxx.

Member Data Documentation

◆ fArray

TClonesArray* R3BNeulandTacquilaReader::fArray
private

Definition at line 75 of file R3BNeulandTacquilaReader.h.

◆ fData

EXT_STR_h101_raw_nnp_tacquila* R3BNeulandTacquilaReader::fData
private

Definition at line 72 of file R3BNeulandTacquilaReader.h.

◆ fLogger

FairLogger* R3BNeulandTacquilaReader::fLogger
private

Definition at line 74 of file R3BNeulandTacquilaReader.h.

◆ fNEvent

UInt_t R3BNeulandTacquilaReader::fNEvent
private

Definition at line 71 of file R3BNeulandTacquilaReader.h.

◆ fOffset

UInt_t R3BNeulandTacquilaReader::fOffset
private

Definition at line 73 of file R3BNeulandTacquilaReader.h.


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