Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
Decoder::THaCodaFile Class Reference

Definition at line 26 of file THaCodaFile.h.

Public Member Functions

void addEvListFilt (UInt_t event_to_filt)
 
void addEvTypeFilt (UInt_t evtype_to_filt)
 
virtual Int_t codaClose ()
 
virtual Int_t codaOpen (const char *filename, const char *rw, Int_t mode=1)
 
virtual Int_t codaOpen (const char *filename, Int_t mode=1)
 
virtual Int_t codaRead ()
 
Int_t codaWrite (const UInt_t *evbuffer)
 
Int_t filterToFile (const char *output_file)
 
virtual bool isOpen () const
 
THaCodaFileoperator= (const THaCodaFile &fn)=delete
 
void setMaxEvFilt (UInt_t max_event)
 
 THaCodaFile ()
 
 THaCodaFile (const char *filename, const char *rw="r")
 
 THaCodaFile (const THaCodaFile &fn)=delete
 
virtual ~THaCodaFile ()
 
- Public Member Functions inherited from Decoder::THaCodaData
UInt_t getBuffSize () const
 
virtual Int_t getCodaVersion ()
 
UInt_tgetEvBuffer ()
 
Bool_t isGood () const
 
THaCodaDataoperator= (const THaCodaData &fn)=delete
 
void setVerbosity (int level)
 
 THaCodaData ()
 
 THaCodaData (const THaCodaData &fn)=delete
 
virtual ~THaCodaData ()=default
 

Private Member Functions

void init (const char *fname="")
 

Private Attributes

std::vector< UInt_tevlist
 
std::vector< UInt_tevtypes
 
UInt_t max_to_filt
 
UInt_t maxflist
 
UInt_t maxftype
 

Additional Inherited Members

- Protected Member Functions inherited from Decoder::THaCodaData
void staterr (const char *tried_to, Int_t status) const
 
- Static Protected Member Functions inherited from Decoder::THaCodaData
static Int_t ReturnCode (Int_t evio_retcode)
 
- Protected Attributes inherited from Decoder::THaCodaData
EvtBuffer evbuffer
 
TString filename
 
Bool_t fIsGood
 
Int_t handle
 
Int_t verbose
 

#include <THaCodaFile.h>

Inheritance diagram for Decoder::THaCodaFile:

Constructor & Destructor Documentation

◆ THaCodaFile() [1/3]

Decoder::THaCodaFile::THaCodaFile ( )

Definition at line 30 of file THaCodaFile.cxx.

◆ THaCodaFile() [2/3]

Decoder::THaCodaFile::THaCodaFile ( const char *  filename,
const char *  rw = "r" 
)
explicit

Definition at line 37 of file THaCodaFile.cxx.

◆ THaCodaFile() [3/3]

Decoder::THaCodaFile::THaCodaFile ( const THaCodaFile fn)
delete

◆ ~THaCodaFile()

Decoder::THaCodaFile::~THaCodaFile ( )
virtual

Definition at line 45 of file THaCodaFile.cxx.

Member Function Documentation

◆ addEvListFilt()

void Decoder::THaCodaFile::addEvListFilt ( UInt_t  event_to_filt)

Definition at line 247 of file THaCodaFile.cxx.

◆ addEvTypeFilt()

void Decoder::THaCodaFile::addEvTypeFilt ( UInt_t  evtype_to_filt)

Definition at line 237 of file THaCodaFile.cxx.

◆ codaClose()

Int_t Decoder::THaCodaFile::codaClose ( )
virtual

Implements Decoder::THaCodaData.

Definition at line 71 of file THaCodaFile.cxx.

◆ codaOpen() [1/2]

Int_t Decoder::THaCodaFile::codaOpen ( const char *  filename,
const char *  rw,
Int_t  mode = 1 
)
virtual

Implements Decoder::THaCodaData.

Definition at line 59 of file THaCodaFile.cxx.

◆ codaOpen() [2/2]

Int_t Decoder::THaCodaFile::codaOpen ( const char *  filename,
Int_t  mode = 1 
)
virtual

Implements Decoder::THaCodaData.

Definition at line 52 of file THaCodaFile.cxx.

◆ codaRead()

Int_t Decoder::THaCodaFile::codaRead ( )
virtual

Implements Decoder::THaCodaData.

Definition at line 84 of file THaCodaFile.cxx.

◆ codaWrite()

Int_t Decoder::THaCodaFile::codaWrite ( const UInt_t evbuffer)

Definition at line 121 of file THaCodaFile.cxx.

◆ filterToFile()

Int_t Decoder::THaCodaFile::filterToFile ( const char *  output_file)

Definition at line 146 of file THaCodaFile.cxx.

◆ init()

void Decoder::THaCodaFile::init ( const char *  fname = "")
private

Definition at line 264 of file THaCodaFile.cxx.

◆ isOpen()

bool Decoder::THaCodaFile::isOpen ( ) const
virtual

Implements Decoder::THaCodaData.

Definition at line 133 of file THaCodaFile.cxx.

◆ operator=()

THaCodaFile & Decoder::THaCodaFile::operator= ( const THaCodaFile fn)
delete

◆ setMaxEvFilt()

void Decoder::THaCodaFile::setMaxEvFilt ( UInt_t  max_event)

Definition at line 257 of file THaCodaFile.cxx.

Member Data Documentation

◆ evlist

std::vector<UInt_t> Decoder::THaCodaFile::evlist
private

Definition at line 51 of file THaCodaFile.h.

◆ evtypes

std::vector<UInt_t> Decoder::THaCodaFile::evtypes
private

Definition at line 51 of file THaCodaFile.h.

◆ max_to_filt

UInt_t Decoder::THaCodaFile::max_to_filt
private

Definition at line 49 of file THaCodaFile.h.

◆ maxflist

UInt_t Decoder::THaCodaFile::maxflist
private

Definition at line 50 of file THaCodaFile.h.

◆ maxftype

UInt_t Decoder::THaCodaFile::maxftype
private

Definition at line 50 of file THaCodaFile.h.

Collaboration diagram for Decoder::THaCodaFile:

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