StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
StHbtIOBinary Class Reference

Public Member Functions

 StHbtIOBinary (const char *dirName, const char *fileName, const char *appendix, const char *readWrite)
 
template<class T >
int read (T &x)
 
template<class T >
int write (const T &x)
 
int read (StThreeVectorD &x)
 
int write (const StThreeVectorD &x)
 
int read (StPhysicalHelixD &x)
 
int write (const StPhysicalHelixD &x)
 
int read (StHbtEvent &event, unsigned short evVersion, unsigned short trVersion, unsigned short v0Version)
 
int write (const StHbtEvent &event, unsigned short evVersion, unsigned short trVersion, unsigned short v0Version)
 
int read (StHbtTrack &, unsigned short)
 
int write (const StHbtTrack &, unsigned short)
 
int read (StHbtV0 &, unsigned short)
 
int write (const StHbtV0 &, unsigned short)
 
int readString (StHbtString &)
 
int writeString (const StHbtString &)
 
int readHeader (StHbtString &)
 
int writeHeader (const StHbtString &)
 
int bytesRead ()
 
int bytesWritten ()
 
int read_V0 (StHbtEvent &event, unsigned short trVersion, unsigned short v0Version)
 
int read_V1 (StHbtEvent &event, unsigned short trVersion, unsigned short v0Version)
 
int read_V2 (StHbtEvent &event, unsigned short trVersion, unsigned short v0Version)
 
int write_V0 (const StHbtEvent &event, unsigned short trVersion, unsigned short v0Version)
 
int write_V1 (const StHbtEvent &event, unsigned short trVersion, unsigned short v0Version)
 
int write_V2 (const StHbtEvent &event, unsigned short trVersion, unsigned short v0Version)
 
int read_V1 (StHbtTrack &)
 
int read_V2 (StHbtTrack &)
 
int write_V1 (const StHbtTrack &)
 
int write_V2 (const StHbtTrack &)
 
int read_V1 (StHbtV0 &)
 
int read_V2 (StHbtV0 &)
 
int read_V3 (StHbtV0 &)
 
int write_V1 (const StHbtV0 &)
 
int write_V2 (const StHbtV0 &)
 
int write_V3 (const StHbtV0 &)
 
int outputStreamStatus ()
 
int inputStreamStatus ()
 
int readTrackList (StHbtEvent &, unsigned short trVersion)
 
int readV0List (StHbtEvent &, unsigned short v0Version)
 
int writeTrackList (const StHbtEvent &, unsigned short trVersion)
 
int writeV0List (const StHbtEvent &, unsigned short v0Version)
 
const char * parseDirFile (const char *, const char *, const char *)
 
void wait (int n, const char *c)
 

Public Attributes

int byteCounterEvent
 
int byteCounterTotal
 
ofstream * mOStream
 
ifstream * mIStream
 

Protected Attributes

int mDebug
 

Detailed Description

Definition at line 31 of file StHbtIOBinary.hh.


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