GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TXXXStore.h
Go to the documentation of this file.
1// $Id$
2//-----------------------------------------------------------------------
3// The GSI Online Offline Object Oriented (Go4) Project
4// Experiment Data Processing at EE department, GSI
5//-----------------------------------------------------------------------
6// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7// Planckstr. 1, 64291 Darmstadt, Germany
8// Contact: http://go4.gsi.de
9//-----------------------------------------------------------------------
10// This software can be used under the license agreements as stated
11// in Go4License.txt file which is part of the distribution.
12//-----------------------------------------------------------------------
13
14#ifndef TEXAMPLEUSERSTORE_H
15#define TEXAMPLEUSERSTORE_H
16
17#include "TGo4EventStore.h"
18
19class TTree;
20class TFile;
22class TXXXEvent;
23
28class TXXXStore : public TGo4EventStore {
29
30 public:
31
32 TXXXStore();
33
35
36 virtual ~TXXXStore();
37
39 Int_t Store(TGo4EventElement *event) override;
40
42 Int_t Store(TGo4Parameter *) override { return 0; }
43 Int_t Store(TGo4Condition *) override { return 0; }
44 Int_t Store(TGo4Fitter *) override { return 0; }
45 Int_t Store(TFolder *) override { return 0; }
46
48 TTree *GetTree() override { return fxTree; }
49
50 private:
51
52 TFile *fxFile{nullptr};
53 TTree *fxTree{nullptr};
54 TXXXEvent *fxEvent{nullptr};
55 Bool_t fbBranchExists{kFALSE};
56
57 ClassDefOverride(TXXXStore,1)
58};
59
60#endif //TEXAMPLEUSERSTORE_H
Go4 condition class.
The abstract base class for the data elements of which the unpacked events (or detector structure dat...
Central class of Go4Fit package.
Definition TGo4Fitter.h:38
Base class for all parameter aggregations, e.g.
Custom Event store.
Definition TXXXStore.h:28
TTree * fxTree
file
Definition TXXXStore.h:53
TTree * GetTree() override
Access to the Tree structure, for framework.
Definition TXXXStore.h:48
Int_t Store(TFolder *) override
Saves a folder correlated with the current event into the storage.
Definition TXXXStore.h:45
TFile * fxFile
Definition TXXXStore.h:52
virtual ~TXXXStore()
Definition TXXXStore.cxx:57
TXXXEvent * fxEvent
tree
Definition TXXXStore.h:54
Int_t Store(TGo4Condition *) override
Saves a condition correlated with the current event into the storage.
Definition TXXXStore.h:43
Bool_t fbBranchExists
current event
Definition TXXXStore.h:55
Int_t Store(TGo4Fitter *) override
Saves a fitter correlated with the current event into the storage.
Definition TXXXStore.h:44
Int_t Store(TGo4Parameter *) override
Ignore store of parameter or one can provide some action.
Definition TXXXStore.h:42
Int_t Store(TGo4EventElement *event) override
Stores eventelement event into the storage implementation.
Definition TXXXStore.cxx:69