GSI Object Oriented Online Offline (Go4)
GO4-6.2.0
|
#include <TGo4HDF5Store.h>
Public Member Functions | |
TGo4HDF5Store () | |
TGo4HDF5Store (const char *name, UInt_t flags) | |
TGo4HDF5Store (TGo4HDF5StoreParameter *par) | |
virtual | ~TGo4HDF5Store () |
virtual Int_t | Store (TGo4EventElement *event) |
virtual Int_t | Store (TGo4Parameter *cali) |
virtual Int_t | Store (TGo4Condition *conny) |
virtual Int_t | Store (TGo4Fitter *fitter) |
virtual Int_t | Store (TFolder *fold) |
![]() | |
TGo4EventStore () | |
TGo4EventStore (const char *name) | |
virtual | ~TGo4EventStore () |
virtual TTree * | GetTree () |
virtual void | Clear (Option_t *opt="") |
Protected Member Functions | |
virtual void | OpenFile (const char *name=0) |
void | WriteToStore (TNamed *ob) |
virtual void | BuildDataSet (TGo4EventElement *event) |
Additional Inherited Members | |
![]() | |
enum | { fguTXTLEN = 256 } |
![]() | |
TGo4HDF5Adapter () | |
virtual | ~TGo4HDF5Adapter () |
virtual void | CloseFile () |
virtual void | DeleteDataSet () |
void | BuildDataType (TGo4EventElement *event, TGo4HDF5DataHandle *parent=0, Int_t index=0) |
size_t | ScanEventSize (TGo4EventElement *event) |
UInt_t | ConvertFileMode (Go4_H5_File_Flags flags) |
![]() | |
static void | AddSubHandle (TGo4HDF5DataHandle *handle, const char *name, const char *type, size_t size, size_t memberoffset, const char *membername, const char *classname, TClass *valueclass) |
static void | FillTypeInfo (TGo4HDF5DataHandle *handle, TClass *rootclass, const char *basename=0) |
static void | FillTypeInfo (TGo4HDF5DataHandle *handle, const char *membername, const char *memtypename, size_t memberoffset=0, Int_t arraydim=0, TDataMember *member=0) |
![]() | |
H5::H5File * | fxFile |
TGo4HDF5DataHandle * | fxHandle |
Bool_t | fbDataSetExists |
TGo4EventElement * | fxEvent |
UInt_t | fiFlags |
hsize_t | fiFillCount |
![]() | |
static const char * | fgcFILESUF = ".h5" |
Event store which fills entries to a dataset in a hdf5 formatted file
Definition at line 32 of file TGo4HDF5Store.h.
TGo4HDF5Store::TGo4HDF5Store | ( | ) |
Definition at line 36 of file TGo4HDF5Store.cxx.
References GO4TRACE.
TGo4HDF5Store::TGo4HDF5Store | ( | const char * | name, |
UInt_t | flags | ||
) |
Definition at line 47 of file TGo4HDF5Store.cxx.
References GO4TRACE, and OpenFile().
TGo4HDF5Store::TGo4HDF5Store | ( | TGo4HDF5StoreParameter * | par | ) |
Definition at line 60 of file TGo4HDF5Store.cxx.
References TGo4HDF5Adapter::ConvertFileMode(), TGo4Log::Error(), TGo4HDF5Adapter::fiFlags, TGo4HDF5StoreParameter::GetHDF5Flags(), GO4TRACE, and OpenFile().
|
virtual |
Definition at line 75 of file TGo4HDF5Store.cxx.
References TGo4HDF5Adapter::CloseFile(), TGo4HDF5Adapter::DeleteDataSet(), and GO4TRACE.
|
protectedvirtual |
initialize dataset from event structure
Implements TGo4HDF5Adapter.
Definition at line 123 of file TGo4HDF5Store.cxx.
References TGo4HDF5Adapter::BuildDataType(), TGo4HDF5DataHandle::BuildWriteDataset(), TGo4Log::Error(), TGo4HDF5Adapter::fbDataSetExists, TGo4HDF5Adapter::fxFile, TGo4HDF5Adapter::fxHandle, and go4init::msg.
Referenced by Store().
|
protectedvirtual |
opens the hdf5 file depending on the setup
Implements TGo4HDF5Adapter.
Definition at line 83 of file TGo4HDF5Store.cxx.
References TGo4HDF5Adapter::CloseFile(), TGo4Log::Error(), TGo4HDF5Adapter::fgcFILESUF, TGo4HDF5Adapter::fiFlags, TGo4HDF5Adapter::fxFile, TGo4Log::Info(), and go4init::msg.
Referenced by TGo4HDF5Store().
|
virtual |
Stores eventelement event into the storage implementation. May be a file, a root tree, a socket to a viewer...
Implements TGo4EventStore.
Definition at line 146 of file TGo4HDF5Store.cxx.
References BuildDataSet(), TGo4Log::Error(), TGo4HDF5Adapter::fiFillCount, TGo4HDF5Adapter::fxEvent, TGo4HDF5Adapter::fxFile, TGo4HDF5Adapter::fxHandle, GO4TRACE, go4init::msg, TGo4HDF5DataHandle::SetObjectPointer(), and TGo4HDF5DataHandle::Write().
|
virtual |
Saves a calibration object correlated with the current event into the storage.
Reimplemented from TGo4EventStore.
Definition at line 168 of file TGo4HDF5Store.cxx.
References WriteToStore().
|
virtual |
Saves a condition correlated with the current event into the storage.
Reimplemented from TGo4EventStore.
Definition at line 174 of file TGo4HDF5Store.cxx.
References WriteToStore().
|
virtual |
Saves a fitter correlated with the current event into the storage.
Reimplemented from TGo4EventStore.
Definition at line 180 of file TGo4HDF5Store.cxx.
References WriteToStore().
|
virtual |
Saves a complete objects folder correlated with the current event into the storage.
Reimplemented from TGo4EventStore.
Definition at line 186 of file TGo4HDF5Store.cxx.
References WriteToStore().
|
protected |
opens the hdf5 file depending on the setup used by all Store methods to write with referencing event number in name
Definition at line 194 of file TGo4HDF5Store.cxx.
References TGo4Log::Info().
Referenced by Store().