GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4EventStore.cxx
Go to the documentation of this file.
1 // $Id: TGo4EventStore.cxx 2748 2020-04-16 09:50:56Z linev $
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 #include "TGo4EventStore.h"
15 
16 #include "TGo4Log.h"
17 
18 
19 TGo4EventStore::TGo4EventStore(const char* name) :
20  TNamed(name, "This is a Go4 Event Store")
21 {
22  GO4TRACE((15,"TGo4EventStore::TGo4EventStore(const char*)",__LINE__, __FILE__));
23 }
24 
26  TNamed("Default EventStore", "This is a Go4 Event Store")
27 {
28  GO4TRACE((15,"TGo4EventStore::TGo4EventStore()",__LINE__, __FILE__));
29 }
30 
32 {
33  GO4TRACE((15,"TGo4EventStore::~TGo4EventStore()",__LINE__, __FILE__));
34 }
35 
37 {
38  MayNotUse("TGo4EventStore::Store(TGo4Parameter* cali)");
39  TGo4Log::Debug(" EventStore::Store Parameter not implemented for %s ",
40  ClassName());
41  return 0;
42 }
43 
44 
46 {
47  MayNotUse("TGo4EventStore::Store(TGo4Condition* conny)");
48  TGo4Log::Debug(" EventStore::Store Condition not implemented for %s ",
49  ClassName());
50  return 0;
51 }
52 
54 {
55  MayNotUse("TGo4EventStore::Store(TGo4Fitter* fitter)");
56  TGo4Log::Debug(" EventStore::Store Fitter not implemented for %s ",
57  ClassName());
58  return 0;
59 }
60 
61 Int_t TGo4EventStore::Store(TFolder* fold)
62 {
63  MayNotUse("TGo4EventStore::Store(TFolder* folder)");
64  TGo4Log::Debug(" EventStore::Store Folder not implemented for %s ",
65  ClassName());
66  return 0;
67 }
68 
69 
70 void TGo4EventStore::Clear(Option_t* opt)
71 {
72  // dummy clear, may be implemented by user
73  TGo4Log::Info("Default clear of eventstore %s",GetName());
74 }
75 
virtual void Clear(Option_t *opt="")
virtual ~TGo4EventStore()
virtual Int_t Store(TGo4EventElement *event)=0
#define GO4TRACE(X)
Definition: TGo4Log.h:26
static void Info(const char *text,...)
Definition: TGo4Log.cxx:287
static void Debug(const char *text,...)
Definition: TGo4Log.cxx:274