All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sbnana/sbnana/CAFAna/Analysis/Style.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Rtypes.h"
4 #include "TAttLine.h"
5 
6 namespace ana
7 {
8  // Standardizing colors here means that if we change our minds in future it
9  // should hopefully be easy to propagate the changes to all plots.
10 
11  // Colors for histograms
12 
13  const Color_t kTotalMCColor = kRed;
14  const Color_t kTotalMCErrorBandColor = kRed-10;
15  const Color_t kNueSignalColor = kViolet-5;
16  const Color_t kTotalBackgroundColor = kAzure+2;
17  const Color_t kNCBackgroundColor = kAzure;
18  const Color_t kBeamNueBackgroundColor = kPink+9;
19  const Color_t kCosmicBackgroundColor = kAzure+1;
20  /// This is the color for the numu CC background to the nue analysis. I doubt
21  /// numu plots will ever use this, preferring to just show the total MC.
22  const Color_t kNumuBackgroundColor = kGreen+2;
23 
24 
25  // Colors and styles for contours
26 
27  const Color_t kNormalHierarchyColor = kAzure+3;
28  const Color_t kInvertedHierarchyColor = kOrange+9;
29 
30  const Style_t k90PercentConfidenceStyle = 9;
31  const Style_t k68PercentConfidenceStyle = 7; ///< Dashed
32 
33  // Colors for slices and 123 sigma contours
34  const Color_t kPrimColorNH = kAzure+2;
35  const Color_t kSecoColorNH = kAzure+1;
36 
37  const Color_t kPrimColorIH = kOrange+9;
38  const Color_t kSecoColorIH = kOrange+10;
39 
40  const Style_t kFillStyleNH = 3013;
41  const Style_t kFillStyleIH = 3003;
42 
43  const Style_t k1SigmaConfidenceStyle = 7;
44  const Style_t k2SigmaConfidenceStyle = 9;
45  const Style_t k3SigmaConfidenceStyle = 10;
46 
47  const Color_t kCentralValueColorNH = kAzure+3;
48  const Color_t k1SigmaConfidenceColorNH = kAzure+3;
49  const Color_t k90PercConfidenceColorNH = kAzure+2;
50  const Color_t k2SigmaConfidenceColorNH = kAzure+2;
51  const Color_t k3SigmaConfidenceColorNH = kAzure+1;
52 
53  const Color_t kCentralValueColorIH = kOrange+9;
54  const Color_t k1SigmaConfidenceColorIH = kOrange+9;
55  const Color_t k2SigmaConfidenceColorIH = kOrange+10;
56  const Color_t k3SigmaConfidenceColorIH = kOrange+8;
57  const Color_t k90PercConfidenceColorIH = kOrange+10;
58 
59  const Color_t kCentralValueColor= kGray+2;
60  const Style_t kCentralValueStyle = kSolid;
61 
62  const Float_t kBlessedTitleFontSize = 0.08; //not in pixels
63  const Float_t kBlessedLabelFontSize = 0.06; //not in pixels
64 }
const Color_t kPrimColorIH
const Color_t kPrimColorNH
const Color_t kCentralValueColorIH
const Color_t kCosmicBackgroundColor
const Style_t k90PercentConfidenceStyle
const Style_t kFillStyleIH
const Style_t kCentralValueStyle
const Color_t k1SigmaConfidenceColorIH
const Color_t k2SigmaConfidenceColorNH
const Color_t kCentralValueColorNH
const Color_t k90PercConfidenceColorNH
process_name opflashCryoW ana
const Color_t kTotalMCErrorBandColor
const Style_t kFillStyleNH
const Color_t k1SigmaConfidenceColorNH
const Color_t kNumuBackgroundColor
const Style_t k3SigmaConfidenceStyle
const Color_t kTotalBackgroundColor
const Color_t kNueSignalColor
const Color_t kSecoColorIH
const Style_t k68PercentConfidenceStyle
Dashed.
const Color_t k90PercConfidenceColorIH
const Color_t kNormalHierarchyColor
const Color_t kCentralValueColor
const Color_t k3SigmaConfidenceColorNH
const Color_t kBeamNueBackgroundColor
const Color_t k3SigmaConfidenceColorIH
const Style_t k2SigmaConfidenceStyle
const Style_t k1SigmaConfidenceStyle
const Color_t kInvertedHierarchyColor
const Color_t kSecoColorNH
const Float_t kBlessedLabelFontSize
const Color_t kTotalMCColor
const Float_t kBlessedTitleFontSize
const Color_t kNCBackgroundColor
const Color_t k2SigmaConfidenceColorIH