| v2.10-0 (21000JUN2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Storage instance using the central main go4 tree which
is accessible as singleton. Each treestore instance
adds at least one new branch to that tree and fills
it with the data at the event pointer. Branch associated
with this tree store may be written to the main tree file,
or be located in another file which is specified by the
filename parameter of ctor.
Field Summary | |
private Text_t[256] | fcEventClass Class name of the event associated with this store. |
const static const Text_t[] | fgcFILESUF Standard suffix for file name |
private Int_t | fiBufsize buffer size for tree branch. |
private Int_t | fiSplit TBranch splitlevel. |
private TBranch* | fxBranch The branch representing our store. |
private TGo4EventCalibration* | fxCalibration Points to calibration structure to be filled into branch. |
private TGo4EventElement* | fxEvent Points to event structure to be filled into branch. |
private TFile* | fxFile Optional file where our branches are located. |
private TGo4MainTree* | fxSingletonTree Reference to external tree singleton wrapper instance. |
private TTree* | fxTree Reference to the external main tree. |
Fields inherited from interface Go4Event.TGo4EventStore |
fguTXTLEN |
Fields inherited from class TNamed |
fName, fTitle |
Constructor Summary | |
TGo4TreeStore(const char * name, TGo4EventElement* event, Int_t splitlevel, Int_t bufsize, Text_t* filename, Int_t compression) | |
TGo4TreeStore() | |
TGo4TreeStore(TGo4TreeStoreParameter* par, TGo4EventElement* event) |
Destructor Summary | |
virtual synchronized | ~TGo4TreeStore() |
Method Summary | |
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. |
Methods inherited from interface Go4Event.TGo4EventStore |
Clear, GetTree, Store, Store, Store |
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 Text_t[256] fcEventClass
public const static const Text_t[] fgcFILESUF
private Int_t fiBufsize
private Int_t fiSplit
private TBranch* fxBranch
private TGo4EventCalibration* fxCalibration
private TGo4EventElement* fxEvent
private TFile* fxFile
private TGo4MainTree* fxSingletonTree
private TTree* fxTree
Constructor Detail |
public TGo4TreeStore(const char * name, TGo4EventElement* event, Int_t splitlevel, Int_t bufsize, Text_t* filename, Int_t compression)
public TGo4TreeStore()
public TGo4TreeStore(TGo4TreeStoreParameter* par, TGo4EventElement* event)
Method Detail |
public virtual synchronized ~TGo4TreeStore()
Method Detail |
public void SetCompression(Int_t comp)
public virtual Int_t Store(TGo4EventElement* event)
public virtual Int_t Store(TGo4Parameter* cali)
Association Links |
to Class TBranch
to Class TGo4EventElement
to Class TGo4EventCalibration
| 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 |