GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4FileStoreParameter.h>
Public Member Functions | |
TGo4FileStoreParameter () | |
TGo4FileStoreParameter (const char *name, Int_t splitlevel=99, Int_t bufsize=32000, Int_t compression=5, Int_t autosave=10000) | |
virtual | ~TGo4FileStoreParameter () |
virtual Int_t | PrintParameter (Text_t *buffer=0, Int_t buflen=0) |
virtual Bool_t | UpdateFrom (TGo4Parameter *rhs) |
Int_t | GetSplitlevel () const |
void | SetSplitlevel (Int_t split) |
Int_t | GetBufsize () const |
void | SetBufsize (Int_t bufsize) |
Int_t | GetCompression () const |
void | SetCompression (Int_t comp) |
Int_t | GetAutosaveSize () const |
void | SetAutosaveSize (Int_t interval) |
Int_t | IsOverwriteMode () const |
void | SetOverwriteMode (Bool_t over=kTRUE) |
Public Member Functions inherited from TGo4EventStoreParameter | |
TGo4EventStoreParameter () | |
TGo4EventStoreParameter (const char *name, Int_t id=0) | |
virtual | ~TGo4EventStoreParameter () |
Int_t | GetID () const |
Public Member Functions inherited from TGo4Parameter | |
TGo4Parameter () | |
TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object") | |
virtual | ~TGo4Parameter () |
virtual void | Print (Option_t *dummy="") const |
Bool_t | UpdateFromUrl (const char *rest_url_opt) |
virtual Bool_t | CustomUpdateFrom () const |
virtual void | Clear (Option_t *opt="") |
void | GetMemberValues (TObjArray *fItems) |
Bool_t | SetMemberValues (TObjArray *fItems) |
virtual void | SavePrimitive (std::ostream &fs, Option_t *opt="") |
TGo4ParameterStatus * | CreateStatus () |
Bool_t | SetStatus (TGo4ParameterStatus *status) |
Private Attributes | |
Int_t | fiSplit |
Int_t | fiBufsize |
Int_t | fiCompression |
Int_t | fiAutosavesize |
Int_t | fbOverwrite |
Additional Inherited Members | |
Protected Member Functions inherited from TGo4Parameter | |
void | GetMemberValues (TObjArray *fItems, TClass *cl, char *ptr, unsigned long int cloffset) |
Bool_t | SetMemberValues (TObjArray *items, Int_t &itemsindx, TClass *cl, char *ptr, unsigned long int cloffset) |
Int_t | FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member) |
Definition at line 19 of file TGo4FileStoreParameter.h.
TGo4FileStoreParameter::TGo4FileStoreParameter | ( | ) |
Definition at line 33 of file TGo4FileStoreParameter.cxx.
References GO4TRACE.
TGo4FileStoreParameter::TGo4FileStoreParameter | ( | const char * | name, |
Int_t | splitlevel = 99 , |
||
Int_t | bufsize = 32000 , |
||
Int_t | compression = 5 , |
||
Int_t | autosave = 10000 |
||
) |
Definition at line 20 of file TGo4FileStoreParameter.cxx.
References GO4TRACE.
|
virtual |
Definition at line 42 of file TGo4FileStoreParameter.cxx.
References GO4TRACE.
|
inline |
Definition at line 48 of file TGo4FileStoreParameter.h.
References fiAutosavesize.
Referenced by TGo4ConfigStep::SetStepStatus(), TGo4FileStore::TGo4FileStore(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 42 of file TGo4FileStoreParameter.h.
References fiBufsize.
Referenced by TGo4ConfigStep::SetStepStatus(), TGo4FileStore::TGo4FileStore(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 45 of file TGo4FileStoreParameter.h.
References fiCompression.
Referenced by TGo4ConfigStep::SetStepStatus(), TGo4FileStore::TGo4FileStore(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 39 of file TGo4FileStoreParameter.h.
References fiSplit.
Referenced by TGo4ConfigStep::SetStepStatus(), TGo4FileStore::TGo4FileStore(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 51 of file TGo4FileStoreParameter.h.
References fbOverwrite.
Referenced by TGo4ConfigStep::SetStepStatus(), TGo4FileStore::TGo4FileStore(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
virtual |
basic method to printout status information on stdout; to be overridden by specific subclass
Reimplemented from TGo4EventStoreParameter.
Definition at line 46 of file TGo4FileStoreParameter.cxx.
References fiAutosavesize, fiBufsize, fiCompression, fiSplit, GO4TRACE, TGo4Status::PrintBuffer(), TGo4Status::PrintIndent(), and TGo4EventStoreParameter::PrintParameter().
|
inline |
Definition at line 49 of file TGo4FileStoreParameter.h.
References fiAutosavesize.
Referenced by TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreTreeAutoSave(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 43 of file TGo4FileStoreParameter.h.
References fiBufsize.
Referenced by TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreBufferSize(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 46 of file TGo4FileStoreParameter.h.
References fiCompression.
Referenced by TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreCompLevel(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 52 of file TGo4FileStoreParameter.h.
References fbOverwrite.
Referenced by main(), TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreOverWrite(), TXXXAnalysis::TXXXAnalysis(), TYYYAnalysis::TYYYAnalysis(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 40 of file TGo4FileStoreParameter.h.
References fiSplit.
Referenced by TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreSplitLevel(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
virtual |
update contents of paramter class with external object.
Reimplemented from TGo4EventStoreParameter.
Definition at line 82 of file TGo4FileStoreParameter.cxx.
References GetAutosaveSize(), GetBufsize(), GetCompression(), GetSplitlevel(), GO4TRACE, IsOverwriteMode(), SetAutosaveSize(), SetBufsize(), SetCompression(), SetOverwriteMode(), SetSplitlevel(), and TGo4EventStoreParameter::UpdateFrom().
|
private |
True if old filestore of same name shall be overwritten. False if old filestore should be opened in append (update) mode. internally, we use Int_t for root streamer problems.
Definition at line 71 of file TGo4FileStoreParameter.h.
Referenced by IsOverwriteMode(), and SetOverwriteMode().
|
private |
Autosave interval for the Tree.
Definition at line 66 of file TGo4FileStoreParameter.h.
Referenced by GetAutosaveSize(), PrintParameter(), and SetAutosaveSize().
|
private |
Size of the root io buffer.
Definition at line 60 of file TGo4FileStoreParameter.h.
Referenced by GetBufsize(), PrintParameter(), and SetBufsize().
|
private |
Compression level of the root file. Default is 5.
Definition at line 63 of file TGo4FileStoreParameter.h.
Referenced by GetCompression(), PrintParameter(), and SetCompression().
|
private |
Splitlevel for Tree. Default is 1.
Definition at line 57 of file TGo4FileStoreParameter.h.
Referenced by GetSplitlevel(), PrintParameter(), and SetSplitlevel().