GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4Version.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 "TGo4Version.h"
15
16#include <iostream>
17
19
21
28
33
37
41
42Bool_t TGo4Version::CheckVersion(Int_t version)
43{
44//
45 if(fgiGO4VERSION==version) return kTRUE;
46
47 std::cerr <<" !!!! VERSION MISMATCH: \n\tUser Analysis Build \tVersion " << fgiGO4VERSION << std::endl;
48 std::cerr <<"\tdoes not match current \tVersion " << version << std:: endl;
49 return kFALSE;
50}
#define __GO4BUILDVERSION__
Definition TGo4Version.h:24
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