ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/algomez/FourTop/TreeAnalyzer/test/CMSTopStyle.h
Revision: 1.1
Committed: Thu Mar 1 17:41:08 2012 UTC (13 years, 2 months ago) by algomez
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
Style for nice plots

File Contents

# User Rev Content
1 algomez 1.1 // -*- C++ -*-
2    
3     #include "TString.h"
4    
5     // To use in CINT:
6     // root [0] #include "CMSTopStyle_v2.cc"
7     // root [1] CMSTopStyle style
8     // root [2] style.TtbarColor
9     // (int)633
10    
11     // To use in PyRoot:
12     // >>> import ROOT
13     // >>> ROOT.gROOT.ProcessLine ('.L CMSTopStyle.cc+')
14     // >>> style = ROOT.CMSTopStyle()
15     // >>> style.TtbarColor
16     // 633
17    
18     class CMSTopStyle
19     {
20     public:
21    
22     CMSTopStyle();
23    
24     // setup everything a la ICHEP
25     //void setupICHEPv1();
26    
27     void setupDefault();
28    
29     ////////////
30     // Colors //
31     ////////////
32    
33     // see http://root.cern.ch/root/html/MACRO_TColor_3_wheel.gif
34     // for color wheel
35    
36     // FourTop SM
37     int FourTopSMColor;
38    
39     // ttbar
40     int TtbarColor;
41     int TtbarOtherColor;
42    
43     // single top
44     int SingleTopColor;
45     int ST_tWColor;
46     int ST_t_sColor;
47    
48     // W + jets
49     int WJetsColor;
50     int WLFJetsColor;
51     int WbbJetsColor;
52     int WccJetsColor;
53     int WcJetsColor;
54    
55     // Z + jets / DY
56     int DYZJetsColor;
57     int DYZTauTauJetsColor;
58     // we should add Z + flavor too
59    
60     // QCD
61     int QCDColor;
62    
63     // Other EW
64     int DibosonsColor;
65     int GammaJetsColor;
66     int WGammaColor;
67    
68    
69     ///////////
70     // Fills //
71     ///////////
72    
73     // FourTop SM
74     int FourTopSMFill;
75    
76     // ttbar
77     int TtbarFill;
78     int TtbarOtherFill;
79    
80     // single top
81     int SingleTopFill;
82     int ST_tWFill;
83     int ST_t_sFill;
84    
85     // W + jets
86     int WJetsFill;
87     int WLFJetsFill;
88     int WbbJetsFill;
89     int WccJetsFill;
90     int WcJetsFill;
91    
92     // Z + jets / DY
93     int DYZJetsFill;
94     int DYZTauTauJetsFill;
95     // we should add Z + flavor too
96    
97     // QCD
98     int QCDFill;
99    
100     // Other EW
101     int DibosonsFill;
102     int GammaJetsFill;
103     int WGammaFill;
104    
105     //////////
106     // Text //
107     //////////
108    
109     // FourTop SM
110     TString FourTopSMText;
111    
112     // ttbar
113     TString TtbarText;
114     TString TtbarOtherText;
115    
116     // single top
117     TString SingleTopText;
118     TString ST_tWText;
119     TString ST_t_sText;
120    
121     // W + jets
122     TString WJetsText;
123     TString WLFJetsText;
124     TString WbbJetsText;
125     TString WccJetsText;
126     TString WcJetsText;
127    
128     // Z + jets / DY
129     TString DYZJetsText;
130     TString DYZemuJetsText;
131     TString DYZTauTauJetsText;
132     // we should add Z + flavor too
133    
134     // QCD
135     TString QCDText;
136    
137     // Other EW
138     TString DibosonsText;
139     TString GammaJetsText;
140     TString WGammaText;
141    
142     };