GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4Version.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 TGO4VERSION_H
15#define TGO4VERSION_H
16
17#include "RtypesCore.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__ 60400
25#define __GO4RELEASE__ "v6.4.0"
26
28 protected:
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 TGo4Version * fxInstance
Definition TGo4Version.h:50
static Bool_t CheckVersion(Int_t version)
Returns true if Version number matches the argument of the Method.
static Int_t GetBuildVersion()
Version number at build time of user analysis.
virtual ~TGo4Version()
static TGo4Version * Instance()
static const Int_t fgiGO4VERSION
Version Number of the Go4 build.
Definition TGo4Version.h:48