Logo ROOT  
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
12Print banner message when RooFit library is loaded
13**/
14
15using namespace std;
16
17const char* VTAG="3.60" ;
18
20
21static 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
static Int_t dummy
Definition: RooBanner.cxx:21
Int_t doBanner()
Definition: RooBanner.cxx:23
const char * VTAG
Definition: RooBanner.cxx:17
int Int_t
Definition: RtypesCore.h:43
R__EXTERN TEnv * gEnv
Definition: TEnv.h:171
typedef void((*Func_t)())
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
Definition: TEnv.cxx:491