GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4EventStore.cxx
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#include "TGo4EventStore.h"
15
16#include "TGo4Log.h"
17
18
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", ClassName());
40 return 0;
41}
42
44{
45 MayNotUse("TGo4EventStore::Store(TGo4Condition *conny)");
46 TGo4Log::Debug(" EventStore::Store Condition not implemented for %s", ClassName());
47 return 0;
48}
49
51{
52 MayNotUse("TGo4EventStore::Store(TGo4Fitter *fitter)");
53 TGo4Log::Debug(" EventStore::Store Fitter not implemented for %s", ClassName());
54 return 0;
56
57Int_t TGo4EventStore::Store(TFolder *)
58{
59 MayNotUse("TGo4EventStore::Store(TFolder *folder)");
60 TGo4Log::Debug(" EventStore::Store Folder not implemented for %s", ClassName());
61 return 0;
62}
64
65void TGo4EventStore::Clear(Option_t *)
66{
67 // dummy clear, may be implemented by user
68 TGo4Log::Info("Default clear of eventstore %s", GetName());
69}
#define GO4TRACE(X)
Definition TGo4Log.h:25
Go4 condition class.
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!
Central class of Go4Fit package.
Definition TGo4Fitter.h:38
static void Info(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 1.
Definition TGo4Log.cxx:294
static void Debug(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 0.
Definition TGo4Log.cxx:281
Base class for all parameter aggregations, e.g.