CbmRoot
|
#include <Lx.h>
Public Member Functions | |
LxHitFile () | |
~LxHitFile () | |
bool | Open (TString fileName, bool forWrite) |
bool | StartEvent (Int_t nEnt) |
bool | EndEvent () |
bool | WriteHit (Int_t stationNumber, Int_t layerNumber, Double_t x, Double_t y, Double_t z, Double_t xErr, Double_t yErr, Double_t zErr) |
bool | ReadEvent (Int_t eventNumber) |
bool | ReadHit (Int_t &stationNumber, Int_t &layerNumber, Double_t &x, Double_t &y, Double_t &z, Double_t &xErr, Double_t &yErr, Double_t &zErr) |
bool | Close () |
Private Attributes | |
bool | useForWrite |
int | fd |
std::list< off_t > | eventOffs |
char * | evBuf |
int | bufSize |
char * | evPtr |
char * | evEnd |
Definition at line 29 of file Simple/Lx.h.
LxHitFile::LxHitFile | ( | ) |
Definition at line 74 of file Simple/Lx.cxx.
LxHitFile::~LxHitFile | ( | ) |
Definition at line 77 of file Simple/Lx.cxx.
References evBuf.
bool LxHitFile::Close | ( | ) |
Definition at line 228 of file Simple/Lx.cxx.
References eventOffs, fd, i, and useForWrite.
Referenced by LxFinder::FinishTask().
bool LxHitFile::EndEvent | ( | ) |
Definition at line 105 of file Simple/Lx.cxx.
References bufSize, evBuf, evEnd, evPtr, and fd.
Referenced by LxFinder::Exec().
bool LxHitFile::Open | ( | TString | fileName, |
bool | forWrite | ||
) |
Definition at line 79 of file Simple/Lx.cxx.
References fd, and useForWrite.
Referenced by LxFinder::Init().
bool LxHitFile::ReadEvent | ( | Int_t | eventNumber | ) |
Definition at line 144 of file Simple/Lx.cxx.
References bufSize, evBuf, evEnd, eventNumber, evPtr, and fd.
Referenced by LxFinder::ReadEvent().
bool LxHitFile::ReadHit | ( | Int_t & | stationNumber, |
Int_t & | layerNumber, | ||
Double_t & | x, | ||
Double_t & | y, | ||
Double_t & | z, | ||
Double_t & | xErr, | ||
Double_t & | yErr, | ||
Double_t & | zErr | ||
) |
Definition at line 199 of file Simple/Lx.cxx.
References evEnd, evPtr, x, and y.
Referenced by LxFinder::Exec().
bool LxHitFile::StartEvent | ( | Int_t | nEnt | ) |
Definition at line 92 of file Simple/Lx.cxx.
References bufSize, evBuf, evEnd, eventOffs, evPtr, and fd.
Referenced by LxFinder::Exec().
bool LxHitFile::WriteHit | ( | Int_t | stationNumber, |
Int_t | layerNumber, | ||
Double_t | x, | ||
Double_t | y, | ||
Double_t | z, | ||
Double_t | xErr, | ||
Double_t | yErr, | ||
Double_t | zErr | ||
) |
Definition at line 115 of file Simple/Lx.cxx.
References evEnd, evPtr, x, and y.
Referenced by LxFinder::Exec().
|
private |
Definition at line 60 of file Simple/Lx.h.
Referenced by EndEvent(), ReadEvent(), and StartEvent().
|
private |
Definition at line 59 of file Simple/Lx.h.
Referenced by EndEvent(), ReadEvent(), StartEvent(), and ~LxHitFile().
|
private |
Definition at line 62 of file Simple/Lx.h.
Referenced by EndEvent(), ReadEvent(), ReadHit(), StartEvent(), and WriteHit().
|
private |
Definition at line 58 of file Simple/Lx.h.
Referenced by Close(), and StartEvent().
|
private |
Definition at line 61 of file Simple/Lx.h.
Referenced by EndEvent(), ReadEvent(), ReadHit(), StartEvent(), and WriteHit().
|
private |
Definition at line 57 of file Simple/Lx.h.
Referenced by Close(), EndEvent(), Open(), ReadEvent(), and StartEvent().
|
private |
Definition at line 56 of file Simple/Lx.h.