GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
File store parameter. More...
#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 () |
Int_t | GetAutosaveSize () const |
Int_t | GetBufsize () const |
Int_t | GetCompression () const |
Int_t | GetSplitlevel () const |
Int_t | IsOverwriteMode () const |
void | Print (Option_t *opt="") const override |
void | SetAutosaveSize (Int_t interval) |
void | SetBufsize (Int_t bufsize) |
void | SetCompression (Int_t comp) |
void | SetOverwriteMode (Bool_t over=kTRUE) |
void | SetSplitlevel (Int_t split) |
Bool_t | UpdateFrom (TGo4Parameter *rhs) override |
update contents of parameter class with external object. | |
![]() | |
TGo4EventStoreParameter () | |
TGo4EventStoreParameter (const char *name, Int_t id=0) | |
virtual | ~TGo4EventStoreParameter () |
Int_t | GetID () const |
void | Print (Option_t *opt="") const override |
![]() | |
TGo4Parameter () | |
TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object") | |
virtual | ~TGo4Parameter () |
void | Clear (Option_t *opt="") override |
TGo4ParameterStatus * | CreateStatus () |
Creates parameter status object. | |
virtual Bool_t | CustomUpdateFrom () const |
Specifies, if user implement UpdateFrom() method and it should be used when parameter updated from other. | |
void | GetMemberValues (TObjArray *fItems) |
void | Print (Option_t *opt="") const override |
virtual Int_t | PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0) |
DEPRECATED! | |
void | SavePrimitive (std::ostream &fs, Option_t *opt="") override |
Standard way to store parameter in form of macro,. | |
Bool_t | SetMemberValues (TObjArray *fItems) |
Bool_t | SetStatus (TGo4ParameterStatus *status) |
Set status object - apply member values to the parameter. | |
Bool_t | UpdateFromUrl (const char *rest_url_opt) |
Method used by HTTP server to update some fields, specified in URL syntax. | |
Private Attributes | |
Int_t | fbOverwrite {1} |
True if old filestore of same name shall be overwritten. | |
Int_t | fiAutosavesize {10000} |
Autosave interval for the Tree. | |
Int_t | fiBufsize {64000} |
Size of the root io buffer. | |
Int_t | fiCompression {5} |
Compression level of the root file. | |
Int_t | fiSplit {99} |
Splitlevel for Tree. | |
Additional Inherited Members | |
![]() | |
Int_t | FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member) |
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) |
File store parameter.
Definition at line 22 of file TGo4FileStoreParameter.h.
TGo4FileStoreParameter::TGo4FileStoreParameter | ( | ) |
Definition at line 31 of file TGo4FileStoreParameter.cxx.
References TGo4EventStoreParameter::TGo4EventStoreParameter(), and GO4EV_FILE.
Referenced by UpdateFrom().
TGo4FileStoreParameter::TGo4FileStoreParameter | ( | const char * | name, |
Int_t | splitlevel = 99, | ||
Int_t | bufsize = 32000, | ||
Int_t | compression = 5, | ||
Int_t | autosave = 10000 ) |
Definition at line 19 of file TGo4FileStoreParameter.cxx.
References TGo4EventStoreParameter::TGo4EventStoreParameter(), fbOverwrite, fiAutosavesize, fiBufsize, fiCompression, fiSplit, and GO4EV_FILE.
|
virtual |
Definition at line 37 of file TGo4FileStoreParameter.cxx.
|
inline |
Definition at line 49 of file TGo4FileStoreParameter.h.
References fiAutosavesize.
Referenced by TGo4FileStore::TGo4FileStore(), TGo4ConfigStep::SetStepStatus(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 43 of file TGo4FileStoreParameter.h.
References fiBufsize.
Referenced by TGo4FileStore::TGo4FileStore(), TGo4ConfigStep::SetStepStatus(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 46 of file TGo4FileStoreParameter.h.
References fiCompression.
Referenced by TGo4FileStore::TGo4FileStore(), TGo4ConfigStep::SetStepStatus(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 40 of file TGo4FileStoreParameter.h.
References fiSplit.
Referenced by TGo4FileStore::TGo4FileStore(), TGo4ConfigStep::SetStepStatus(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 52 of file TGo4FileStoreParameter.h.
References fbOverwrite.
Referenced by TGo4FileStore::TGo4FileStore(), TGo4ConfigStep::SetStepStatus(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
override |
Definition at line 41 of file TGo4FileStoreParameter.cxx.
References fiAutosavesize, fiBufsize, fiCompression, fiSplit, TGo4EventStoreParameter::Print(), and TGo4Status::PrintLine().
|
inline |
Definition at line 50 of file TGo4FileStoreParameter.h.
References fiAutosavesize.
Referenced by TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreTreeAutoSave(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 44 of file TGo4FileStoreParameter.h.
References fiBufsize.
Referenced by TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreBufferSize(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 47 of file TGo4FileStoreParameter.h.
References fiCompression.
Referenced by TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreCompLevel(), and UpdateFrom().
|
inline |
Definition at line 53 of file TGo4FileStoreParameter.h.
References fbOverwrite.
Referenced by TXXXAnalysis::TXXXAnalysis(), TYYYAnalysis::TYYYAnalysis(), main(), TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreOverWrite(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Definition at line 41 of file TGo4FileStoreParameter.h.
References fiSplit.
Referenced by TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreSplitLevel(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
overridevirtual |
update contents of parameter class with external object.
Reimplemented from TGo4EventStoreParameter.
Definition at line 50 of file TGo4FileStoreParameter.cxx.
References TGo4FileStoreParameter(), TGo4Parameter::TGo4Parameter(), 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 72 of file TGo4FileStoreParameter.h.
Referenced by TGo4FileStoreParameter(), IsOverwriteMode(), and SetOverwriteMode().
|
private |
Autosave interval for the Tree.
Definition at line 67 of file TGo4FileStoreParameter.h.
Referenced by TGo4FileStoreParameter(), GetAutosaveSize(), Print(), and SetAutosaveSize().
|
private |
Size of the root io buffer.
Definition at line 61 of file TGo4FileStoreParameter.h.
Referenced by TGo4FileStoreParameter(), GetBufsize(), Print(), and SetBufsize().
|
private |
Compression level of the root file.
Default is 5.
Definition at line 64 of file TGo4FileStoreParameter.h.
Referenced by TGo4FileStoreParameter(), GetCompression(), Print(), and SetCompression().
|
private |
Splitlevel for Tree.
Default is 1.
Definition at line 58 of file TGo4FileStoreParameter.h.
Referenced by TGo4FileStoreParameter(), GetSplitlevel(), Print(), and SetSplitlevel().