GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4EventStore.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 TGO4EVENTSTORE_H
15#define TGO4EVENTSTORE_H
16
17#include "TNamed.h"
18
20class TGo4Parameter;
21class TGo4Condition;
22class TGo4Fitter;
23class TFolder;
24class TTree;
25
26
35
36class TGo4EventStore : public TNamed {
37
38 public:
40
41 TGo4EventStore(const char *name);
42
43 virtual ~TGo4EventStore();
44
47 virtual Int_t Store(TGo4EventElement *event) = 0;
48
51 virtual Int_t Store(TGo4Parameter *cali);
52
55 virtual Int_t Store(TGo4Condition *conny);
56
59 virtual Int_t Store(TGo4Fitter *fitter);
60
63 virtual Int_t Store(TFolder *fold);
64
67 virtual TTree *GetTree() { return nullptr; }
68
74 void Clear(Option_t *opt = "") override;
75
76 protected:
78
79 enum { fguTXTLEN = 256 };
80
81 ClassDefOverride(TGo4EventStore,1)
82};
83
84#endif //TGO4EVENTSTORE_H
85
Go4 condition class.
The abstract base class for the data elements of which the unpacked events (or detector structure dat...
The abstract interface class for the raw event store.
virtual ~TGo4EventStore()
virtual Int_t Store(TGo4EventElement *event)=0
Stores eventelement event into the storage implementation.
void Clear(Option_t *opt="") override
We overwrite the default TNamed::Clear that would erase our name and title!
virtual TTree * GetTree()
Access to a tree that might belong to this storage implementation.
Central class of Go4Fit package.
Definition TGo4Fitter.h:38
Base class for all parameter aggregations, e.g.