#include <GPSIConverter.h>
Public Types | |
enum | EMode { kVersion, kOverwrite } |
current working mode More... | |
enum | EStatus { kGood, kFail, kZombie } |
current status of the converter More... | |
Public Member Functions | |
virtual void | CheckDirectory (const char *name) |
check if the given directory can be read/written More... | |
void | CheckMineTypes () |
check mine types More... | |
ClassDef (HistoConverter, 0) | |
rootcint dictionary More... | |
virtual TH1 * | Get (int) |
to get histo number i in the list More... | |
virtual TH1 * | Get (const char *) |
to get an histo by its name More... | |
const char * | GetError () const |
TString | GetFileExt () const |
std::map< const char *, HistoConverter * > * | GetMapPrototype () |
Get prototype map. More... | |
int | GetMode () const |
Option_t * | GetOption () const |
int | GetStatus () const |
virtual const char * | GetType () const |
to know what type of HistoConverter system it is More... | |
GPSIConverter () | |
GPSIConverter (const char *name) | |
virtual void | ls (Option_t *) const |
to show the spectra in this DB system on the standard output More... | |
virtual HistoConverter * | NewDB (const char *) const |
to creat a new DB system More... | |
virtual bool | Read (TH1 &) |
to read an histogram More... | |
virtual bool | Read (TH2 &) |
to read an histogram More... | |
virtual bool | Read (THStack &) |
to read several histograms More... | |
void | SetCycle (char c) |
to set/reset the status of this converter More... | |
void | SetError (HistoConverter::EStatus status=kGood, const char *msgerror="") |
to set/reset the status of this converter More... | |
void | SetFileExt (TString ext) |
to set/get file extension of the spectra/histo More... | |
void | SetMode (HistoConverter::EMode mode) |
void | SetOption (Option_t *opt, const char *mode="reset") |
set options More... | |
void | SetType (TString type) |
to set the type of the spectra/histo More... | |
virtual bool | Write (const TH1 &) |
to write an histogram More... | |
virtual bool | Write (const TH2 &) |
to write an histogram More... | |
virtual bool | Write (const THStack &) |
to write several histograms in one operation More... | |
virtual | ~GPSIConverter () |
Static Public Member Functions | |
static void | AddPrototype (const char *, HistoConverter *) |
to add a new type of database service More... | |
static void | DrawSpectrum (const char *spectrum) |
draw spectrum for mine types More... | |
static int | GetVerboseLevel () |
static void | SetVerboseLevel (const int) |
Static Public Attributes | |
static int | fVerboseLevel = 1 |
Protected Member Functions | |
void | AddMineTypes () |
TString | CheckFileVersion (TString filename) |
float | Float (char *buf) |
int | Int (char *buf) |
long | Long (char *buf) |
short | Short (char *buf) |
unsigned int | UInt (char *buf) |
unsigned long | ULong (char *buf) |
unsigned short | UShort (char *buf) |
Protected Attributes | |
char | fCycle |
TString | fError |
TString | fFileExt |
bool | fIsSwapping |
LogMessage | fLog |
int | fMode |
TString | fName |
TString | fOptions |
int | fStatus |
TString | fType |
Definition at line 35 of file GPSIConverter.h.