ROOT  6.06/09
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 //
9 // BEGIN_HTML
10 // Print banner message when RooFit library is loaded
11 // END_HTML
12 //
13 
14 using namespace std;
15 
16 const char* VTAG="3.60" ;
17 
18 Int_t doBanner();
19 
20 static Int_t dummy = doBanner() ;
21 
23 
24 {
25 #ifndef __ROOFIT_NOBANNER
26  if (gEnv->GetValue("RooFit.Banner", 1)) {
27  cout << endl
28  << "\033[1mRooFit v" << VTAG << " -- Developed by Wouter Verkerke and David Kirkby\033[0m " << endl
29  << " Copyright (C) 2000-2013 NIKHEF, University of California & Stanford University" << endl
30  << " All rights reserved, please read http://roofit.sourceforge.net/license.txt" << endl
31  << endl ;
32  }
33 #endif
34  (void) dummy;
35  return 0 ;
36 }
37 
const char * VTAG
Definition: RooBanner.cxx:16
static Int_t dummy
Definition: RooBanner.cxx:20
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:494
Int_t doBanner()
Definition: RooBanner.cxx:22
R__EXTERN TEnv * gEnv
Definition: TEnv.h:174
typedef void((*Func_t)())