| v2.10-0 (21000JUN2005) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Event store which fills entries to an own root TTree in a TFile. In contrast to TreeStore, we do not use the main
go4 tree, but an independent one which need not
correspond with the entry indices of all previous
events. Disadvantage: difficult to correlate to input
events; advantage: one entry of this tree may be composed
from several subsequent input event entries...
| Field Summary | |
private Bool_t | fbBranchExistsTrue if branch already exists. |
const static const Text_t[] | fgcEVBRANCHNAMEStandard go4 name of the branch used in all treestore and treesource implementations. |
const static const Text_t[] | fgcFILESUFStandard suffix for file name |
const static const Text_t[] | fgcTREESUFStandard go4 suffix for tree name |
const static const Int_t | fgiFILESPLITSIZEsize in bytes for root tree-filesplit mechanism. |
private Int_t | fiBufsizebuffer size for tree branch. |
private Int_t | fiFillCountcounter of filled events. |
private Int_t | fiSplitTBranch splitlevel. |
private TGo4EventElement* | fxEventPoints to event structure to be filled into branch. |
private TFile* | fxFile |
private TTree* | fxTree |
| Fields inherited from interface Go4Event.TGo4EventStore |
fguTXTLEN |
| Fields inherited from class TNamed |
fName, fTitle |
| Constructor Summary | |
TGo4FileStore() | |
TGo4FileStore(const char * name, Int_t splitlevel, Int_t compression, Bool_t overwrite, Int_t autosavesize, Int_t bufsize) | |
TGo4FileStore(TGo4FileStoreParameter* par) | |
| Destructor Summary | |
virtual synchronized | ~TGo4FileStore() |
| Method Summary | |
TTree* | GetTree()Access to the Tree structure, for framework |
void | SetAutoSave(Int_t bytesinterval)Set the tree autosave byte interval. |
void | SetCompression(Int_t comp)Set the file compression level. |
virtual Int_t | Store(TGo4EventElement* event)Stores eventelement event into the storage implementation. |
virtual Int_t | Store(TGo4Parameter* cali)Saves a calibration object correllated with the current event into the storage. |
virtual Int_t | Store(TGo4Condition* conny)Saves a condition correllated with the current event into the storage. |
virtual Int_t | Store(TGo4Fitter* fitter)Saves a fitter correllated with the current event into the storage. |
virtual Int_t | Store(TFolder* fold)Saves a complete objects folder correllated with the current event into the storage. |
private void | WriteToStore(TNamed* ob)used by all Store methods to write with referencing event number in name |
| Methods inherited from interface Go4Event.TGo4EventStore |
Clear |
| Methods inherited from class TNamed |
operator=, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
| Field Detail |
private Bool_t fbBranchExists
public const static const Text_t[] fgcEVBRANCHNAME
public const static const Text_t[] fgcFILESUF
public const static const Text_t[] fgcTREESUF
public const static const Int_t fgiFILESPLITSIZE
private Int_t fiBufsize
private Int_t fiFillCount
private Int_t fiSplit
private TGo4EventElement* fxEvent
private TFile* fxFile
private TTree* fxTree
| Constructor Detail |
public TGo4FileStore()
public TGo4FileStore(const char * name, Int_t splitlevel, Int_t compression, Bool_t overwrite, Int_t autosavesize, Int_t bufsize)
public TGo4FileStore(TGo4FileStoreParameter* par)
| Method Detail |
public virtual synchronized ~TGo4FileStore()
| Method Detail |
public TTree* GetTree()
public void SetAutoSave(Int_t bytesinterval)
public void SetCompression(Int_t comp)
public virtual Int_t Store(TGo4EventElement* event)
public virtual Int_t Store(TGo4Parameter* cali)
public virtual Int_t Store(TGo4Condition* conny)
public virtual Int_t Store(TGo4Fitter* fitter)
public virtual Int_t Store(TFolder* fold)
private void WriteToStore(TNamed* ob)
| Association Links |
| J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||