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
AtUnpacker Class Referenceabstract

#include <AtUnpacker.h>

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

Public Member Functions

 AtUnpacker (mapPtr map)
 
 ~AtUnpacker ()=default
 
virtual void SetInputFileName (std::string fileName)
 
void SetMap (mapPtr map)
 
void SetInitialEventID (Long64_t evtID)
 
virtual void SetSaveFPN (bool val=true)
 
Long64_t GetNextEventID ()
 
virtual void Init ()=0
 
virtual void FillRawEvent (AtRawEvent &event)=0
 
virtual bool IsLastEvent ()=0
 
virtual Long64_t GetNumEvents ()=0
 

Protected Attributes

mapPtr fMap
 
std::string fInputFileName
 
Long64_t fEventID = 0
 
Long64_t fDataEventID = 0
 
AtRawEventfRawEvent {}
 
Bool_t fSaveFPN {false}
 

Detailed Description

Definition at line 19 of file AtUnpacker.h.

Constructor & Destructor Documentation

◆ AtUnpacker()

AtUnpacker::AtUnpacker ( mapPtr  map)

Definition at line 9 of file AtUnpacker.cxx.

◆ ~AtUnpacker()

AtUnpacker::~AtUnpacker ( )
default

Member Function Documentation

◆ FillRawEvent()

virtual void AtUnpacker::FillRawEvent ( AtRawEvent event)
pure virtual

◆ GetNextEventID()

Long64_t AtUnpacker::GetNextEventID ( )
inline

Definition at line 37 of file AtUnpacker.h.

◆ GetNumEvents()

virtual Long64_t AtUnpacker::GetNumEvents ( )
pure virtual

◆ Init()

virtual void AtUnpacker::Init ( )
pure virtual

◆ IsLastEvent()

virtual bool AtUnpacker::IsLastEvent ( )
pure virtual

◆ SetInitialEventID()

void AtUnpacker::SetInitialEventID ( Long64_t  evtID)
inline

Definition at line 35 of file AtUnpacker.h.

◆ SetInputFileName()

virtual void AtUnpacker::SetInputFileName ( std::string  fileName)
inlinevirtual

Reimplemented in AtGRAWUnpacker.

Definition at line 33 of file AtUnpacker.h.

◆ SetMap()

void AtUnpacker::SetMap ( mapPtr  map)
inline

Definition at line 34 of file AtUnpacker.h.

◆ SetSaveFPN()

virtual void AtUnpacker::SetSaveFPN ( bool  val = true)
inlinevirtual

Reimplemented in AtROOTUnpacker.

Definition at line 36 of file AtUnpacker.h.

Member Data Documentation

◆ fDataEventID

Long64_t AtUnpacker::fDataEventID = 0
protected

Definition at line 24 of file AtUnpacker.h.

◆ fEventID

Long64_t AtUnpacker::fEventID = 0
protected

Definition at line 23 of file AtUnpacker.h.

◆ fInputFileName

std::string AtUnpacker::fInputFileName
protected

Definition at line 22 of file AtUnpacker.h.

◆ fMap

mapPtr AtUnpacker::fMap
protected

Definition at line 21 of file AtUnpacker.h.

◆ fRawEvent

AtRawEvent* AtUnpacker::fRawEvent {}
protected

Definition at line 25 of file AtUnpacker.h.

◆ fSaveFPN

Bool_t AtUnpacker::fSaveFPN {false}
protected

Definition at line 27 of file AtUnpacker.h.


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