CbmRoot
Loading...
Searching...
No Matches
PairAnalysisStyleDefs.h
Go to the documentation of this file.
1/* Copyright (C) 2019-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer], Etienne Bechtel */
4
5#ifndef PAIRANALYSISSTYLEDEFS_H
6#define PAIRANALYSISSTYLEDEFS_H
8// //
9// PairAnalysis stylers //
10// //
11// //
12// Authors: //
13// Julian Book <Julian.Book@cern.ch> //
14// //
16
17#include <Rtypes.h>
18#include <TAttMarker.h>
19#include <TColor.h>
20#include <TLegend.h>
21#include <TLegendEntry.h>
22#include <TStyle.h>
23
24#include "PairAnalysisStyler.h"
25
27{
28
29 /* enum class Eidx { kRaw=100, kBgrd, kSig, kFit, kCocktail, kNidx }; */
30 /* enum class EfillMark { kOpenMarker=1, kFullMarker, kDontCare }; */
31 /* enum class Estyle { kNMaxMarker=13, kNMaxLine=4, kNMaxColor=17 }; */
32 /* enum class Epalette { kDefault=0, kGoodBad }; */
33
34 static Int_t fCol[static_cast<Int_t>(PairAnalysisStyler::Eidx::kNidx)
35 - static_cast<Int_t>(PairAnalysisStyler::Eidx::kRaw)] = {kBlack, kTeal - 8, kBlack, kTeal - 7,
36 kTeal - 7};
37 static Int_t fMrk[static_cast<Int_t>(PairAnalysisStyler::Eidx::kNidx)
38 - static_cast<Int_t>(PairAnalysisStyler::Eidx::kRaw)] = {kFullCircle, kOpenCircle, kOpenCircle,
39 kDot, kDot};
40 static Double_t fSze[static_cast<Int_t>(PairAnalysisStyler::Eidx::kNidx)
41 - static_cast<Int_t>(PairAnalysisStyler::Eidx::kRaw)] = {1., 1., 1., 1., 1.};
42 static Int_t fLne[static_cast<Int_t>(PairAnalysisStyler::Eidx::kNidx)
43 - static_cast<Int_t>(PairAnalysisStyler::Eidx::kRaw)] = {kSolid, kSolid, kSolid, kSolid, kSolid};
44 static Double_t fWdt[static_cast<Int_t>(PairAnalysisStyler::Eidx::kNidx)
45 - static_cast<Int_t>(PairAnalysisStyler::Eidx::kRaw)] = {2., 2., 2., 2., 2.};
46 static Int_t fFll[static_cast<Int_t>(PairAnalysisStyler::Eidx::kNidx)
47 - static_cast<Int_t>(PairAnalysisStyler::Eidx::kRaw)] = {0, 0, 0, 0, 0}; //kFEmpty
48
49 static Int_t Marker[] = {kFullCircle, kFullDiamond, kFullSquare, kFullCross, kFullStar, kMultiply, kPlus,
50 kStar, kOpenCircle, kOpenDiamond, kOpenSquare, kOpenCross, kOpenStar}; // kNMaxMarker
51
52 static Int_t Line[] = {kSolid, kDashed, kDotted,
53 // 9,
54 kDashDotted}; // kNMaxLine
55
56 static Int_t Color[] = {kRed - 4, kBlue - 4, kBlack, kGreen + 1, kAzure + 1, kOrange + 2,
57 kSpring + 4, kViolet + 1, kOrange, kGray + 1, kRed + 2, kCyan + 1,
58 kGreen + 3, kBlue + 1, kMagenta + 1, kOrange - 6, kCyan - 2}; // kNMaxColor
59
60 static Int_t Fill[] = {-1};
61
62 static UInt_t fLegAlign = 22; // legend alignement (11,12,21,22)
63
64 static TStyle* fUserDielStyle = nullptr; // user defined style
65} // namespace PairAnalysisStyler
66
67#endif
static Int_t fFll[static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)]
static Int_t fLne[static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)]
static TStyle * fUserDielStyle
static Double_t fWdt[static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)]
static Int_t fCol[static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)]
static Double_t fSze[static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)]
static Int_t fMrk[static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)]