GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4Version.h
Go to the documentation of this file.
1 // $Id: TGo4Version.h 3354 2021-10-25 08:30:41Z adamczew $
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 TGO4VERSION_H
15 #define TGO4VERSION_H
16 
17 #include "Rtypes.h"
18 
19 // This central definition will set the current Go4 Build Version
20 // will be used by TGo4Analysis (dynamic) and TGo4Version (static) singletons
21 // to check the user analysis against framework version on runtime
22 // 10205 means Version 1.02.05 or release number 1.2-5,
23 
24 #define __GO4BUILDVERSION__ 60104
25 #define __GO4RELEASE__ "v6.1.4"
26 
27 class TGo4Version {
28  protected:
29  TGo4Version();
30 
31  public:
32 
33  virtual ~TGo4Version();
34 
35  static TGo4Version * Instance();
36 
39  static Bool_t CheckVersion(Int_t version);
40 
42  static Int_t GetBuildVersion();
43 
44  private:
48  static const Int_t fgiGO4VERSION;
49 
51 
52 };
53 
54 #endif //TGO4VERSION_H
static Int_t GetBuildVersion()
Definition: TGo4Version.cxx:29
static TGo4Version * fxInstance
Definition: TGo4Version.h:50
static Bool_t CheckVersion(Int_t version)
Definition: TGo4Version.cxx:42
virtual ~TGo4Version()
Definition: TGo4Version.cxx:38
function GO4 version
Definition: go4.js:17
static const Int_t fgiGO4VERSION
Definition: TGo4Version.h:48
static TGo4Version * Instance()
Definition: TGo4Version.cxx:22