GooFit
v2.1.3
include
goofit
utilities
Style.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <goofit/Version.h>
4
5
#if GOOFIT_ROOT_FOUND
6
7
#include <RVersion.h>
8
#include <TCanvas.h>
9
#include <TStyle.h>
10
11
#endif
12
13
namespace
GooFit
{
14
15
#if GOOFIT_ROOT_FOUND
16
18
void
setROOTStyle() {
19
gStyle->SetNumberContours(512);
20
gStyle->SetOptStat(0);
21
gStyle->SetPadRightMargin(.13);
22
23
if
(ROOT_VERSION_CODE < ROOT_VERSION(6, 6, 0))
24
gStyle->SetPalette(kRainBow, 0);
25
else
26
gStyle->SetPalette(kViridis, 0);
27
}
28
29
#endif
30
31
}
// namespace GooFit
GooFit
Definition:
Application.h:18
Generated on Sat Apr 21 2018 20:13:17 for GooFit by
1.8.13