166 struct GLOBAL fGlobal;
188 Int_t fCurrent, fMaxFiles, fStatus;
190 std::vector<Double_t> fEventsRead;
191 std::vector<std::string> fFileName;
219 void AddFile(
const char *fname) { std::string s = fname; fFileName.push_back(s); Double_t zero = 0.0; fEventsRead.push_back(zero); fMaxFiles++; }
222 void SetPath(
const char *path =
"./") { fPath = path; }
251 void Scan(UInt_t start = 0, UInt_t end = 10);
276 TLeaf *
GetLeaf(
const char *leafname =
"no");
EEndian
The adjectives big-endian and little-endian refer to which bytes are most significant in multi-byte d...
void AddFile(const char *fname)
to add an input (pax) file
friend EvapLMOF & full(EvapLMOF &reader)
void ShowCurrentEvent(std::ostream &out=std::cout)
The show the content of the current event on the standard ouput.
Interface to read/decode EvapOR List Mode Output Files (so-called .pax files)
void Rewind()
To restart the data stream from the beginning.
EvapLMOF & full(EvapLMOF &reader)
void ShowCurrentConditions(std::ostream &out=std::cout)
The current status is shown on the standard ouptut.
TLeaf * GetLeaf(const char *leafname="no")
To get a ROOT leaf corresponding to one of the variable.
friend EvapLMOF & idonly(EvapLMOF &reader)
void SetPath(const char *path="./")
set the directory where to find the input files
void Scan(UInt_t start=0, UInt_t end=10)
To scan events and show them on the standard output.
A buffer is used to read/write raw data buffers from/on files.
const DATA & GetData()
To get the current data structure.
TString & GetError()
To get the last error.
const GLOBAL & GetGlobal()
To get the current global structure.
const std::vector< Double_t > & GetEventsRead()
it returns an array with the number of events read from all the input files
void NextFile()
switch to next file.
const ID & GetId()
To get the current id structure.
static const Short_t MAXPARTICLES
static Short_t VERBOSE
Set verbosity level.
EvapLMOF & operator<<(EvapLMOF &(*pf)(EvapLMOF &))
to modified the reading
const KINMAT & GetKin()
To get the current kinematic structure.
EvapLMOF & idonly(EvapLMOF &reader)
Bool_t NextEvent(UInt_t next=0)
To load the next event.
header file for Buffer.cpp
TString & GetWarning()
To get the last warning.
static const Short_t MAXCASCADE