14#ifndef TGO4TREESTORE_H
15#define TGO4TREESTORE_H
17#include "TGo4EventStore.h"
47 Int_t bufsize = 64000,
48 const char *filename =
nullptr,
49 Int_t compression = 5);
Data object for calibration of the input event.
The abstract base class for the data elements of which the unpacked events (or detector structure dat...
virtual Int_t Store(TGo4EventElement *event)=0
Stores eventelement event into the storage implementation.
Singleton containing and managing the main tree of the go4 analysis.
Base class for all parameter aggregations, e.g.
TFile * fxFile
Optional file where our branches are located.
TGo4EventCalibration * fxCalibration
Points to calibration structure to be filled into branch.
void SetCompression(Int_t comp)
Set the file compression level.
TString fcEventClass
Class name of the event associated with this store.
Int_t Store(TGo4EventElement *event) override
Stores eventelement event into the storage implementation.
TGo4MainTree * fxSingletonTree
Reference to external tree singleton wrapper instance.
TTree * fxTree
Reference to the external main tree.
TBranch * fxBranch
The branch representing our store.
Int_t fiSplit
TBranch splitlevel.
TGo4EventElement * fxEvent
Points to event structure to be filled into branch.
TGo4TreeStore(const char *name, TGo4EventElement *event, Int_t splitlevel=1, Int_t bufsize=64000, const char *filename=nullptr, Int_t compression=5)
static const char * fgcFILESUF
Standard suffix for file name.
Int_t fiBufsize
buffer size for tree branch.