ROOT
6.16/01
Reference Guide
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
\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
23
Int_t
doBanner
()
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
Riostream.h
dummy
static Int_t dummy
Definition:
RooBanner.cxx:21
doBanner
Int_t doBanner()
Definition:
RooBanner.cxx:23
VTAG
const char * VTAG
Definition:
RooBanner.cxx:17
RooFit.h
Int_t
int Int_t
Definition:
RtypesCore.h:41
Rtypes.h
TEnv.h
gEnv
R__EXTERN TEnv * gEnv
Definition:
TEnv.h:171
void
typedef void((*Func_t)())
TEnv::GetValue
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
Definition:
TEnv.cxx:491
std
STL namespace.