Logo ROOT   6.08/07
Reference Guide
RooBanner.cxx
Go to the documentation of this file.
1 #include "RooFit.h"
2 
3 #include "Rtypes.h"
4 #include "Riostream.h"
5 #include "TEnv.h"
6 
7 /**
8 \file RooBanner.cxx
9 \class RooBanner
10 \ingroup Roofitcore
11 
12 Print banner message when RooFit library is loaded
13 **/
14 
15 using namespace std;
16 
17 const char* VTAG="3.60" ;
18 
19 Int_t doBanner();
20 
21 static Int_t dummy = doBanner() ;
22 
24 
25 {
26 #ifndef __ROOFIT_NOBANNER
27  if (gEnv->GetValue("RooFit.Banner", 1)) {
28  cout << endl
29  << "\033[1mRooFit v" << VTAG << " -- Developed by Wouter Verkerke and David Kirkby\033[0m " << endl
30  << " Copyright (C) 2000-2013 NIKHEF, University of California & Stanford University" << endl
31  << " All rights reserved, please read http://roofit.sourceforge.net/license.txt" << endl
32  << endl ;
33  }
34 #endif
35  (void) dummy;
36  return 0 ;
37 }
38 
const char * VTAG
Definition: RooBanner.cxx:17
static Int_t dummy
Definition: RooBanner.cxx:21
int Int_t
Definition: RtypesCore.h:41
STL namespace.
virtual Int_t GetValue(const char *name, Int_t dflt)
Returns the integer value for a resource.
Definition: TEnv.cxx:496
Int_t doBanner()
Definition: RooBanner.cxx:23
R__EXTERN TEnv * gEnv
Definition: TEnv.h:174
typedef void((*Func_t)())