#ifndef THaCodaFile_h
#define THaCodaFile_h
#include "Rtypes.h"
#include "THaCodaData.h"
#include "TArrayI.h"
class THaCodaFile : public THaCodaData {
public:
THaCodaFile();
THaCodaFile(const char* filename, const char* rw="r");
~THaCodaFile();
int codaOpen(const char* filename, int mode=1);
int codaOpen(const char* filename, const char* rw, int mode=1);
int codaClose();
int codaRead();
int codaWrite(const int* evbuffer);
int *getEvBuffer();
int filterToFile(const char* output_file);
void addEvTypeFilt(int evtype_to_filt);
void addEvListFilt(int event_to_filt);
void setMaxEvFilt(int max_event);
virtual bool isOpen() const;
private:
THaCodaFile(const THaCodaFile &fn);
THaCodaFile& operator=(const THaCodaFile &fn);
void init(const char* fname="");
void initFilter();
void staterr(const char* tried_to, int status);
int ffirst;
int max_to_filt;
void *handle;
int maxflist,maxftype;
TArrayI evlist, evtypes;
ClassDef(THaCodaFile,0)
};
#endif
Last change: Sat Nov 7 21:26:43 2009
Last generated: 2009-11-07 21:26
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.