ROOT
master
Reference Guide
Loading...
Searching...
No Matches
Initialisation.cxx
Go to the documentation of this file.
1
#ifdef __ROOFIT_BANNER
2
3
#include "RConfigure.h"
4
#include "
TEnv.h
"
5
6
#include <iostream>
7
8
/**
9
\file Initialisation.cxx
10
Run static initialisers on first load of RooFitCore.
11
**/
12
13
namespace
{
14
15
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
16
/// Print RooFit banner.
17
void
doBanner
() {
18
if
(
gEnv
->
GetValue
(
"RooFit.Banner"
, 1) == 0)
19
return
;
20
21
/// RooFit version tag.
22
constexpr
char
VTAG
[] =
"3.60"
;
23
24
std::cout <<
'\n'
25
<<
"\033[1mRooFit v"
<<
VTAG
<<
" -- Developed by Wouter Verkerke and David Kirkby\033[0m "
<<
'\n'
26
<<
" Copyright (C) 2000-2013 NIKHEF, University of California & Stanford University"
<<
'\n'
27
<<
" All rights reserved, please read http://roofit.sourceforge.net/license.txt"
<<
'\n'
28
<< std::endl;
29
}
30
31
32
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
33
/// A RAII that performs RooFit's static initialisation.
34
static
struct
RooFitInitialiser
{
35
RooFitInitialiser
() {
36
doBanner
();
37
}
38
}
__rooFitInitialiser
;
39
40
}
41
42
#endif
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:360
TEnv.h
gEnv
R__EXTERN TEnv * gEnv
Definition
TEnv.h:170
ROOT::Detail::TRangeCast
Definition
TCollection.h:313
TEnv::GetValue
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
Definition
TEnv.cxx:503
roofit
roofitcore
src
Initialisation.cxx
ROOTmaster - Reference Guide Generated on Mon May 25 2026 16:01:53 (GVA Time) using Doxygen 1.10.0