ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
roofit
roofitcore
src
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
22
Int_t
doBanner
()
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
Rtypes.h
VTAG
const char * VTAG
Definition:
RooBanner.cxx:16
dummy
static Int_t dummy
Definition:
RooBanner.cxx:20
Int_t
int Int_t
Definition:
RtypesCore.h:41
std
STL namespace.
TEnv::GetValue
virtual Int_t GetValue(const char *name, Int_t dflt)
Returns the integer value for a resource.
Definition:
TEnv.cxx:494
Riostream.h
doBanner
Int_t doBanner()
Definition:
RooBanner.cxx:22
gEnv
R__EXTERN TEnv * gEnv
Definition:
TEnv.h:174
void
typedef void((*Func_t)())
RooFit.h
TEnv.h