00001 #ifndef XeVersion_h
00002 #define XeVersion_h
00003
00004 #include <iostream>
00005 #include <string.h>
00006 #include <RVersion.h>
00007
00008 #if ROOT_VERSION_CODE < ROOT_VERSION(5,99,99)
00009 #define ROOT5
00010 #define STATIC_CONST static const
00011 #else
00012 #define ROOT6
00013 #define STATIC_CONST static constexpr
00014 #endif
00015
00016 using namespace std;
00017
00018
00019 class XeVersion {
00020 public :
00021 ~XeVersion(){}
00022 XeVersion(){
00023 string tab=" ";
00024 string XephyrVersion = "5.10";
00025 string XephyrDate = "08-Apr-2015";
00026 cout<<endl<<endl
00027 <<tab<<"=================== Welcome to Xephyr ====================="
00028 <<endl
00029 <<tab<<" Version "<<XephyrVersion<<" compiled with ROOT "<<ROOT_RELEASE
00030 <<", dated "<<XephyrDate<<endl
00031 <<tab<<"==========================================================="
00032 <<endl<<endl;
00033 }
00034
00035 };
00036
00037 #endif