1 |
#include <iostream>
|
2 |
#include <vector>
|
3 |
#include <sys/stat.h>
|
4 |
#include <unistd.h>
|
5 |
|
6 |
#include <TMath.h>
|
7 |
#include <TColor.h>
|
8 |
#include <TPaveText.h>
|
9 |
#include <TRandom.h>
|
10 |
#include <TF1.h>
|
11 |
|
12 |
#ifndef SampleClassLoaded
|
13 |
#include "ActiveSamples.C"
|
14 |
#endif
|
15 |
|
16 |
#ifndef Verbosity
|
17 |
#define Verbosity 0
|
18 |
#endif
|
19 |
#ifndef HUSH
|
20 |
#define HUSH 1
|
21 |
#endif
|
22 |
|
23 |
|
24 |
|
25 |
void define_samples(bool showList, samplecollection &allsamples, samplecollection &signalsamples, samplecollection &scansample)
|
26 |
{
|
27 |
|
28 |
float ZJetsCrossSection = 3048.0; //NNLO----------------------------------
|
29 |
float TTbarCrossSection = 165.0;//(NLO) ---- 165.0; // approx. NNLO-----
|
30 |
float WJetsCrossSection = 31314.0;//NNLO-------3.131e4; //NNLO------------
|
31 |
float ZnunuCrossSection = 5760.0;//NNLO -------4.5e+3; //(LO);------------
|
32 |
float SingleTopSCrossSection = 1.49; // NLO;----------------------------------
|
33 |
float SingleTopTCrossSection = 20.540; // NLO;--------------------------------
|
34 |
float SingleTopUCrossSection = 10.6; // NLO;----------------------------------
|
35 |
float VVJetsCrossSection = 4.8; // LO;-------------------------------------
|
36 |
float LM4CrossSection = 2.537; // k*LO
|
37 |
//the following numbers are from the MadGraphStandardModel210Summary as linked on the GeneratorProduction2011 page
|
38 |
// float QCD50to100CrossSection=30000000; // not used
|
39 |
float QCD100to250CrossSection=7000000;
|
40 |
float QCD250to500CrossSection=171000;
|
41 |
float QCD500to1000CrossSection=5200;
|
42 |
float QCD1000toInfCrossSection=83.0;
|
43 |
|
44 |
// float totEventsQCD50to100=207418.0; // not used
|
45 |
float totEventsQCD100to250=638792.0;
|
46 |
float totEventsQCD250to500=344454.0;
|
47 |
float totEventsQCD500to1000=10e10;//unknown but now suppressed. (no event passes anyway)
|
48 |
float totEventsQCD1000toInf=163185.0;
|
49 |
|
50 |
float totEventsZjets = 32005720.0;//summer11
|
51 |
//spring:2313911.0;//2743142.0; // DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola
|
52 |
float totEventsTTbar = 3701872.0;//summer11
|
53 |
//1161621.0;//Spring//1144028.0; // PabloV13/TTJets_TuneZ2_7TeV-madgraph-tauola
|
54 |
float totEventsWJets = 53739703.0;//summer11
|
55 |
//15010237.0;//spring//14350756.0; /// WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root
|
56 |
float totEventsZnunu = 2106977.0;//2167964.0; //ZinvisibleJets_7TeV-madgraph.root
|
57 |
float totEventsVVJets = 959076.0;//509072.0;
|
58 |
float totEventsSingleTopS = 493868.0;//489472.0;
|
59 |
float totEventsSingleTopT = 475460.0;//477610.0;
|
60 |
float totEventsSingleTopU = 489417.0;//477599.0;
|
61 |
|
62 |
|
63 |
Int_t nice_blue = TColor::GetColor("#2E9AFE");
|
64 |
Int_t nice_green = TColor::GetColor("#81f781");
|
65 |
Int_t nice_red = TColor::GetColor("#F78181");
|
66 |
Int_t nice_pink = TColor::GetColor("#F781BE");
|
67 |
Int_t nice_orange= TColor::GetColor("#F7BE81");//#FA9624
|
68 |
Int_t nice_black = TColor::GetColor("#2A0A1B");//black with a bit of purple :-)
|
69 |
|
70 |
|
71 |
Int_t dy_color = nice_blue;
|
72 |
Int_t wjets_color = kGray;
|
73 |
Int_t ttbar_color = nice_green;
|
74 |
Int_t singletop_color = nice_orange;
|
75 |
Int_t qcd_color = nice_black;
|
76 |
Int_t diboson_color = nice_pink;
|
77 |
Int_t lm_color = kRed;
|
78 |
|
79 |
dy_color = kYellow;
|
80 |
wjets_color = kGray;
|
81 |
ttbar_color = kMagenta+2;
|
82 |
singletop_color = kBlue;
|
83 |
qcd_color = kPink;
|
84 |
diboson_color = kGreen;
|
85 |
lm_color = kViolet+7;
|
86 |
|
87 |
char hostname[1023];
|
88 |
gethostname(hostname,1023);
|
89 |
|
90 |
if((int)((string)hostname).find("falda")>-1) {
|
91 |
//not running locally on my computer
|
92 |
allsamples.AddSample("/scratch/buchmann/ntuples2011/data/AllData_Jul6_1078pb.root","Data",1,1,true,false,0,kBlack);
|
93 |
allsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/TTJets_TuneZ2_7TeV-madgraph-tauola_Summer11_2.root","TTbar",totEventsTTbar,TTbarCrossSection,false,false,1,ttbar_color);//summer11
|
94 |
allsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root","WJets",totEventsWJets,WJetsCrossSection,false,false,3,wjets_color);//summer
|
95 |
allsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/VVJetsTo4L_TuneD6T_7TeV-madgraph-tauola.root","DiBosons",totEventsVVJets,VVJetsCrossSection,false,false,4,diboson_color);
|
96 |
allsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/TToBLNu_TuneZ2_s-channel_7TeV-madgraph_2.root","SingleTop",totEventsSingleTopS,SingleTopSCrossSection,false,false,2,singletop_color);
|
97 |
allsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/TToBLNu_TuneZ2_t-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopT,SingleTopTCrossSection,false,false,2,singletop_color);
|
98 |
allsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/TToBLNu_TuneZ2_tW-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopU,SingleTopUCrossSection,false,false,2,singletop_color);
|
99 |
allsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/ZinvisibleJets_7TeV-madgraph.root","Z nunu",totEventsZnunu,ZnunuCrossSection,false,false,4,diboson_color);
|
100 |
allsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola_Summer11.root","ZJets",totEventsZjets,ZJetsCrossSection,false,false,6,dy_color);//summer11
|
101 |
allsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM4_SUSY_sftsht_7TeV-pythia6.root","LM4",218536,1.879,false,true,7,lm_color);
|
102 |
} else {
|
103 |
allsamples.AddSample("/shome/buchmann/ntuples/data/AllData_Jul6_1078pb.root","Data",1,1,true,false,0,kBlack);
|
104 |
allsamples.AddSample("/shome/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/TTJets_TuneZ2_7TeV-madgraph-tauola_Summer11_2.root","TTbar",totEventsTTbar,TTbarCrossSection,false,false,1,ttbar_color);//summer11
|
105 |
allsamples.AddSample("/shome/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root","WJets",totEventsWJets,WJetsCrossSection,false,false,3,wjets_color);//summer
|
106 |
allsamples.AddSample("/shome/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/VVJetsTo4L_TuneD6T_7TeV-madgraph-tauola.root","DiBosons",totEventsVVJets,VVJetsCrossSection,false,false,4,diboson_color);
|
107 |
allsamples.AddSample("/shome/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/TToBLNu_TuneZ2_s-channel_7TeV-madgraph_2.root","SingleTop",totEventsSingleTopS,SingleTopSCrossSection,false,false,2,singletop_color);
|
108 |
allsamples.AddSample("/shome/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/TToBLNu_TuneZ2_t-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopT,SingleTopTCrossSection,false,false,2,singletop_color);
|
109 |
allsamples.AddSample("/shome/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/TToBLNu_TuneZ2_tW-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopU,SingleTopUCrossSection,false,false,2,singletop_color);
|
110 |
allsamples.AddSample("/shome/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/ZinvisibleJets_7TeV-madgraph.root","Z nunu",totEventsZnunu,ZnunuCrossSection,false,false,4,diboson_color);
|
111 |
allsamples.AddSample("/shome/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola_Summer11.root","ZJets",totEventsZjets,ZJetsCrossSection,false,false,6,dy_color);//summer11
|
112 |
allsamples.AddSample("/shome/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM4_SUSY_sftsht_7TeV-pythia6.root","LM4",218536,1.879,false,true,7,lm_color);
|
113 |
}
|
114 |
|
115 |
|
116 |
/*
|
117 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM0_SUSY_sftsht_7TeV-pythia6.root","LM0",219796,38.93 ,false,true,3,lm_color);
|
118 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM1_SUSY_sftsht_7TeV-pythia6.root","LM1",218176,4.888,false,true,4,lm_color);
|
119 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM2_SUSY_sftsht_7TeV-pythia6.root","LM2",206336,0.6027,false,true,5,lm_color);
|
120 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM3_SUSY_sftsht_7TeV-pythia6.root","LM3",215120,3.438,false,true,6,lm_color);
|
121 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM4_SUSY_sftsht_7TeV-pythia6.root","LM4",218536,1.879,false,true,1,lm_color);
|
122 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM5_SUSY_sftsht_7TeV-pythia6.root","LM5",223992,0.473,false,true,7,lm_color);
|
123 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM8_SUSY_sftsht_7TeV-pythia6.root","LM8",180960,0.73,false,true,2,lm_color);
|
124 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM9_SUSY_sftsht_7TeV-pythia6.root","LM9",227808,7.134,false,true,8,lm_color);
|
125 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM11_SUSY_sftsht_7TeV-pythia6.root","LM11",218703,0.8236,false,true,9,lm_color);
|
126 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM12_SUSY_sftsht_7TeV-pythia6.root","LM12",223491,4.414,false,true,10,lm_color);
|
127 |
signalsamples.AddSample("/scratch/buchmann/ntuples/MC/MixedSpringSummerMCepsPU_v2/LM13_SUSY_sftsht_7TeV-pythia6.root","LM13",173240,6.899,false,true,11,lm_color);
|
128 |
|
129 |
/**/
|
130 |
// signalsamples.AddSample("/scratch/fronga/MC_v1.29/LM4_SUSY_sftsht_7TeV-pythia6.root","REALLY OLD LM4!",218536,1.879,false,true,1,lm_color);
|
131 |
// signalsamples.AddSample("/scratch/fronga/MC_v1.29/LM8_SUSY_sftsht_7TeV-pythia6.root","REALLY OLD LM8!",218536,0.73,false,true,1,lm_color);
|
132 |
|
133 |
// scansample.AddSample("/scratch/fronga/SMS/T6z_GlGlToQQZQQZ_38xFall10.root","T6Z",1,1,false,true,1,lm_color); // there is only one sample in the scan; we give each event weight "1"
|
134 |
//scansample.AddSample("/scratch/buchmann/allfinalevent_NTupleProducer_42X_mc.root","T6Z",1,1,false,true,1,lm_color); // there is only one sample in the scan; we give each event weight "1"
|
135 |
// scansample.AddSample("/scratch/buchmann/SUSYScanTestJZB.root","T6Z",1,1,false,true,1,lm_color); // there is only one sample in the scan; we give each event weight "1"
|
136 |
scansample.AddSample("/scratch/buchmann/mSUGRA3.root","T6Z",1,1,false,true,1,lm_color); // there is only one sample in the scan; we give each event weight "1"
|
137 |
|
138 |
|
139 |
if(showList) allsamples.ListSamples();
|
140 |
|
141 |
}
|
142 |
|
143 |
|
144 |
void define_spring_samples(bool showList, samplecollection &allsamples)
|
145 |
{
|
146 |
|
147 |
float ZJetsCrossSection = 3048.0; //NNLO----------------------------------
|
148 |
float TTbarCrossSection = 165.0;//(NLO) ---- 165.0; // approx. NNLO-----
|
149 |
float WJetsCrossSection = 31314.0;//NNLO-------3.131e4; //NNLO------------
|
150 |
float ZnunuCrossSection = 5760.0;//NNLO -------4.5e+3; //(LO);------------
|
151 |
float SingleTopSCrossSection = 1.49; // NLO;----------------------------------
|
152 |
float SingleTopTCrossSection = 20.540; // NLO;--------------------------------
|
153 |
float SingleTopUCrossSection = 10.6; // NLO;----------------------------------
|
154 |
float VVJetsCrossSection = 4.8; // LO;-------------------------------------
|
155 |
float LM4CrossSection = 2.537; // k*LO
|
156 |
//the following numbers are from the MadGraphStandardModel210Summary as linked on the GeneratorProduction2011 page
|
157 |
// float QCD50to100CrossSection=30000000; // not used
|
158 |
float QCD100to250CrossSection=7000000;
|
159 |
float QCD250to500CrossSection=171000;
|
160 |
float QCD500to1000CrossSection=5200;
|
161 |
float QCD1000toInfCrossSection=83.0;
|
162 |
|
163 |
// float totEventsQCD50to100=207418.0; // not used
|
164 |
float totEventsQCD100to250=638792.0;
|
165 |
float totEventsQCD250to500=344454.0;
|
166 |
float totEventsQCD500to1000=10e10;//unknown but now suppressed. (no event passes anyway)
|
167 |
float totEventsQCD1000toInf=163185.0;
|
168 |
|
169 |
float totEventsZjets = 32005720.0;//summer11
|
170 |
//spring:2313911.0;//2743142.0; // DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola
|
171 |
float totEventsTTbar = 3701947.0;//summer11
|
172 |
//1161621.0;//Spring//1144028.0; // PabloV13/TTJets_TuneZ2_7TeV-madgraph-tauola
|
173 |
float totEventsWJets = 53739703.0;//summer11
|
174 |
//15010237.0;//spring//14350756.0; /// WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root
|
175 |
float totEventsZnunu = 2106977.0;//2167964.0; //ZinvisibleJets_7TeV-madgraph.root
|
176 |
float totEventsVVJets = 959076.0;//509072.0;
|
177 |
float totEventsSingleTopS = 493868.0;//489472.0;
|
178 |
float totEventsSingleTopT = 475460.0;//477610.0;
|
179 |
float totEventsSingleTopU = 489417.0;//477599.0;
|
180 |
|
181 |
|
182 |
Int_t nice_blue = TColor::GetColor("#2E9AFE");
|
183 |
Int_t nice_green = TColor::GetColor("#81f781");
|
184 |
Int_t nice_red = TColor::GetColor("#F78181");
|
185 |
Int_t nice_pink = TColor::GetColor("#F781BE");
|
186 |
Int_t nice_orange= TColor::GetColor("#F7BE81");//#FA9624
|
187 |
Int_t nice_black = TColor::GetColor("#2A0A1B");//black with a bit of purple :-)
|
188 |
|
189 |
|
190 |
Int_t dy_color = nice_blue;
|
191 |
Int_t wjets_color = kGray;
|
192 |
Int_t ttbar_color = nice_green;
|
193 |
Int_t singletop_color = nice_orange;
|
194 |
Int_t qcd_color = nice_black;
|
195 |
Int_t diboson_color = nice_pink;
|
196 |
Int_t lm_color = kRed;
|
197 |
|
198 |
dy_color = kYellow;
|
199 |
wjets_color = kGray;
|
200 |
ttbar_color = kMagenta+2;
|
201 |
singletop_color = kBlue;
|
202 |
qcd_color = kPink;
|
203 |
diboson_color = kGreen;
|
204 |
lm_color = kViolet+7;
|
205 |
|
206 |
// allsamples.AddSample("/scratch/buchmann/AllData_Jun10___DCS_648pb_MoreTriggers4_DCS.root","Data",1,1,true,false,0,kBlack);
|
207 |
// allsamples.AddSample("/scratch/buchmann/AllData_Jun10___486pb_MoreTriggers3.root","Data",1,1,true,false,0,kBlack);
|
208 |
//allsamples.AddSample("/scratch/buchmann/AllData_Jun17_160404-166861_real_complete_2.root","Data",1,1,true,false,0,kBlack);
|
209 |
allsamples.AddSample("/scratch/buchmann/ntuples2011/data/AllData_Jul6_1078pb.root","Data",1,1,true,false,0,kBlack);
|
210 |
|
211 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/TTJets_TuneZ2_7TeV-madgraph-tauola.root","t#bar{t}",totEventsTTbar,TTbarCrossSection,false,false,1,ttbar_color);//spring11
|
212 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/TTJets_TuneZ2_7TeV-madgraph-tauola_Summer11_3.root","t#bar{t}",totEventsTTbar,TTbarCrossSection,false,false,1,ttbar_color);//summer11
|
213 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root","WJets",totEventsWJets,WJetsCrossSection,false,false,3,wjets_color); //spring11
|
214 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root","WJets",totEventsWJets,WJetsCrossSection,false,false,3,wjets_color);//summer
|
215 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/VVJetsTo4L_TuneD6T_7TeV-madgraph-tauola.root","Dibosons",totEventsVVJets,VVJetsCrossSection,false,false,4,diboson_color);
|
216 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/TToBLNu_TuneZ2_s-channel_7TeV-madgraph_2.root","SingleTop",totEventsSingleTopS,SingleTopSCrossSection,false,false,2,singletop_color);
|
217 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/TToBLNu_TuneZ2_t-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopT,SingleTopTCrossSection,false,false,2,singletop_color);
|
218 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/TToBLNu_TuneZ2_tW-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopU,SingleTopUCrossSection,false,false,2,singletop_color);
|
219 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/ZinvisibleJets_7TeV-madgraph.root","Z nunu",totEventsZnunu,ZnunuCrossSection,false,false,4,diboson_color);
|
220 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/QCD_TuneD6T_HT-100To250_7TeV-madgraph.root","QCD",totEventsQCD100to250,QCD100to250CrossSection,false,false,5,qcd_color);
|
221 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/QCD_TuneD6T_HT-250To500_7TeV-madgraph.root","QCD",totEventsQCD250to500,QCD250to500CrossSection,false,false,5,qcd_color);
|
222 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/QCD_TuneD6T_HT-500To1000_7TeV-madgraph.root","QCD",totEventsQCD500to1000,QCD500to1000CrossSection,false,false,5,qcd_color);
|
223 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/QCD_TuneD6T_HT-1000_7TeV-madgraph.root","QCD",totEventsQCD1000toInf,QCD1000toInfCrossSection,false,false,5,qcd_color);
|
224 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola.root","ZJets",totEventsZjets,ZJetsCrossSection,false,false,6,dy_color);//spring11
|
225 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola_Summer11.root","ZJets",totEventsZjets,ZJetsCrossSection,false,false,6,dy_color);//summer11
|
226 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/LM4_SUSY_sftsht_7TeV-pythia6.root","LM4",218536,1.879,false,true,7,lm_color);
|
227 |
|
228 |
if(showList) allsamples.ListSamples();
|
229 |
|
230 |
}
|
231 |
|
232 |
|
233 |
|
234 |
|
235 |
//-------------------------------------------------------------
|
236 |
|
237 |
/*
|
238 |
|
239 |
|
240 |
not in use anymore:
|
241 |
|
242 |
-------------------------------------<Spring11 - used up to Jul 14>----------------------------------------------
|
243 |
|
244 |
// allsamples.AddSample("/scratch/buchmann/AllData_Jun10___DCS_648pb_MoreTriggers4_DCS.root","Data",1,1,true,false,0,kBlack);
|
245 |
// allsamples.AddSample("/scratch/buchmann/AllData_Jun10___486pb_MoreTriggers3.root","Data",1,1,true,false,0,kBlack);
|
246 |
//allsamples.AddSample("/scratch/buchmann/AllData_Jun17_160404-166861_real_complete_2.root","Data",1,1,true,false,0,kBlack);
|
247 |
allsamples.AddSample("/scratch/buchmann/ntuples2011/data/AllData_Jul6_1078pb.root","Data",1,1,true,false,0,kBlack);
|
248 |
|
249 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/TTJets_TuneZ2_7TeV-madgraph-tauola.root","t#bar{t}",totEventsTTbar,TTbarCrossSection,false,false,1,ttbar_color);//spring11
|
250 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/TTJets_TuneZ2_7TeV-madgraph-tauola_Summer11_3.root","TTbar",totEventsTTbar,TTbarCrossSection,false,false,1,ttbar_color);//summer11
|
251 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root","WJets",totEventsWJets,WJetsCrossSection,false,false,3,wjets_color); //spring11
|
252 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root","WJets",totEventsWJets,WJetsCrossSection,false,false,3,wjets_color);//summer
|
253 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/VVJetsTo4L_TuneD6T_7TeV-madgraph-tauola.root","DiBosons",totEventsVVJets,VVJetsCrossSection,false,false,4,diboson_color);
|
254 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/TToBLNu_TuneZ2_s-channel_7TeV-madgraph_2.root","SingleTop",totEventsSingleTopS,SingleTopSCrossSection,false,false,2,singletop_color);
|
255 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/TToBLNu_TuneZ2_t-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopT,SingleTopTCrossSection,false,false,2,singletop_color);
|
256 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/TToBLNu_TuneZ2_tW-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopU,SingleTopUCrossSection,false,false,2,singletop_color);
|
257 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/ZinvisibleJets_7TeV-madgraph.root","Z nunu",totEventsZnunu,ZnunuCrossSection,false,false,4,diboson_color);
|
258 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/QCD_TuneD6T_HT-100To250_7TeV-madgraph.root","QCD",totEventsQCD100to250,QCD100to250CrossSection,false,false,5,qcd_color);
|
259 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/QCD_TuneD6T_HT-250To500_7TeV-madgraph.root","QCD",totEventsQCD250to500,QCD250to500CrossSection,false,false,5,qcd_color);
|
260 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/QCD_TuneD6T_HT-500To1000_7TeV-madgraph.root","QCD",totEventsQCD500to1000,QCD500to1000CrossSection,false,false,5,qcd_color);
|
261 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/QCD_TuneD6T_HT-1000_7TeV-madgraph.root","QCD",totEventsQCD1000toInf,QCD1000toInfCrossSection,false,false,5,qcd_color);
|
262 |
// allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola.root","ZJets",totEventsZjets,ZJetsCrossSection,false,false,6,dy_color);//spring11
|
263 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola_Summer11.root","Z+Jets",totEventsZjets,ZJetsCrossSection,false,false,6,dy_color);//summer11
|
264 |
allsamples.AddSample("/scratch/buchmann/MCSpring2011PU__inclPFvarss__PURW_160404_166861/LM4_SUSY_sftsht_7TeV-pythia6.root","LM4",218536,1.879,false,true,7,lm_color);
|
265 |
|
266 |
-------------------------------------</Spring11 - used up to Jul 14>----------------------------------------------
|
267 |
|
268 |
|
269 |
|
270 |
|
271 |
|
272 |
//how this works: AddSample("FilePath,"Sample name",Nevents,XS,is_data,is_signal,groupindex
|
273 |
allsamples.AddSample("/scratch/buchmann/AllDataNov4.root","Data",1,1,true,false,0,kBlack);
|
274 |
allsamples.AddSample("/scratch/buchmann/CutAnalysis/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root","WJets to LNu",14350756,31314,false,false,2,kGreen);
|
275 |
// allsamples.AddSample("/scratch/buchmann/CutAnalysis/DYJetsToLL_TuneD6T_M-10To50_7TeV-madgraph-tauola.root","DY,M10To50",186891,400,false,false,3);
|
276 |
allsamples.AddSample("/scratch/buchmann/CutAnalysis/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola.root","DY,M50",2552567,3048,false,false,3,kYellow);
|
277 |
allsamples.AddSample("/scratch/buchmann/CutAnalysis/TTJets_TuneZ2_7TeV-madgraph-tauola.root","TTJets",1144028,157.5,false,false,4,kMagenta-1);
|
278 |
allsamples.AddSample("/scratch/buchmann/CutAnalysis/TToBLNu_TuneZ2_s-channel_7TeV-madgraph.root","T to blnu,s",489472,1.49,false,false,5,kBlue);
|
279 |
allsamples.AddSample("/scratch/buchmann/CutAnalysis/TToBLNu_TuneZ2_t-channel_7TeV-madgraph.root","T to blnu,t",477610,20.54,false,false,5,kBlue);
|
280 |
allsamples.AddSample("/scratch/buchmann/CutAnalysis/TToBLNu_TuneZ2_tW-channel_7TeV-madgraph.root","T to blnu,u",477599,10.6,false,false,5,kBlue);
|
281 |
allsamples.AddSample("/scratch/buchmann/CutAnalysis/VVJetsTo4L_TuneD6T_7TeV-madgraph-tauola.root","VVJets to 4L",509072,4.8,false,false,1,kGreen);
|
282 |
allsamples.AddSample("/scratch/buchmann/CutAnalysis/LM4_SUSY_sftsht_7TeV-pythia6.root","20xLM4",218536,1.879*100,false,true,6,kMagenta);
|
283 |
|
284 |
|
285 |
|
286 |
/*
|
287 |
Int_t fermiwjets = TColor::GetColor("#75f075");
|
288 |
Int_t ferminonW = TColor::GetColor("#7d99d1");
|
289 |
Int_t fermiwwwz = TColor::GetColor("#2b26ac");
|
290 |
Int_t fermizjets = TColor::GetColor("#0044ff");
|
291 |
Int_t fermitop = TColor::GetColor("#353535");
|
292 |
Int_t fermihiggs = TColor::GetColor("#b30000");
|
293 |
|
294 |
|
295 |
dy_color = fermiwjets;
|
296 |
wjets_color = ferminonW;
|
297 |
ttbar_color = fermizjets;
|
298 |
singletop_color = fermitop;
|
299 |
qcd_color = nice_orange;
|
300 |
diboson_color = fermiwwwz;
|
301 |
lm_color = fermihiggs;
|
302 |
*/
|
303 |
|
304 |
|
305 |
/*
|
306 |
Int_t dy_color = TColor::GetColor("#ff1300");
|
307 |
Int_t wjets_color = TColor::GetColor("#ff7a00");
|
308 |
Int_t ttbar_color = TColor::GetColor("#03899c");
|
309 |
Int_t singletop_color = TColor::GetColor("#00c322");
|
310 |
Int_t qcd_color = TColor::GetColor("#4a11ae");
|
311 |
Int_t diboson_color = TColor::GetColor("#8f04a8");
|
312 |
Int_t lm_color = TColor::GetColor("#dcf900");
|
313 |
|
314 |
//fugly set of colors:
|
315 |
dy_color = TColor::GetColor("#ff1300");
|
316 |
wjets_color = TColor::GetColor("#ff7a00");
|
317 |
ttbar_color = TColor::GetColor("#03899c");
|
318 |
singletop_color = TColor::GetColor("#00c322");
|
319 |
qcd_color = TColor::GetColor("#4a11ae");
|
320 |
diboson_color = TColor::GetColor("#8f04a8");
|
321 |
lm_color = TColor::GetColor("#dcf900");
|
322 |
|
323 |
//twilight
|
324 |
dy_color = TColor::GetColor("#141414");
|
325 |
wjets_color = TColor::GetColor("#f8f8f8");
|
326 |
ttbar_color = TColor::GetColor("#cf6a4c");
|
327 |
singletop_color = TColor::GetColor("#cda869");
|
328 |
qcd_color = TColor::GetColor("#e9c062");
|
329 |
diboson_color = TColor::GetColor("#5f5a60");
|
330 |
lm_color = TColor::GetColor("#7587a6");
|
331 |
//http://www.colorschemer.com/schemes/viewscheme.php?id=9126
|
332 |
|
333 |
*/
|
334 |
|
335 |
/* //how this works: AddSample("FilePath,"Sample name",Nevents,XS,is_data,is_signal,groupindex
|
336 |
allsamples.AddSample("/scratch/fronga/JSON_160404-163869_v1.29/AllCertified191_v1.29.root","Data",1,1,true,false,0,kBlack);
|
337 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola.root","ZJets",totEventsZjets,ZJetsCrossSection,false,false,3,kYellow);
|
338 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root","WJets",totEventsWJets,WJetsCrossSection,false,false,2,kGray);
|
339 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/TTJets_TuneZ2_7TeV-madgraph-tauola.root","t#bar{t}",totEventsTTbar,TTbarCrossSection,false,false,4,kMagenta-1);
|
340 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/TToBLNu_TuneZ2_s-channel_7TeV-madgraph_2.root","SingleTop",totEventsSingleTopS,SingleTopSCrossSection,false,false,5,kBlue);
|
341 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/TToBLNu_TuneZ2_t-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopT,SingleTopTCrossSection,false,false,5,kBlue);
|
342 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/TToBLNu_TuneZ2_tW-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopU,SingleTopUCrossSection,false,false,5,kBlue);
|
343 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/VVJetsTo4L_TuneD6T_7TeV-madgraph-tauola.root","Dibosons",totEventsVVJets,VVJetsCrossSection,false,false,1,kGreen);
|
344 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/ZinvisibleJets_7TeV-madgraph.root","Z nunu",totEventsZnunu,ZnunuCrossSection,false,false,1,kGreen);
|
345 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-100To250_7TeV-madgraph.root","QCD",totEventsQCD100to250,QCD100to250CrossSection,false,false,6,kRed);
|
346 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-250To500_7TeV-madgraph.root","QCD",totEventsQCD250to500,QCD250to500CrossSection,false,false,6,kRed);
|
347 |
// allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-500To1000_7TeV-madgraph.root","QCD",totEventsQCD500to1000,QCD500to1000CrossSection,false,false,6,kRed);
|
348 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-1000_7TeV-madgraph.root","QCD",totEventsQCD1000toInf,QCD1000toInfCrossSection,false,false,6,kRed);
|
349 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/LM4_SUSY_sftsht_7TeV-pythia6.root","20xLM4",218536,1.879*20,false,true,7,kMagenta);
|
350 |
*/
|
351 |
|
352 |
//how this works: AddSample("FilePath,"Sample name",Nevents,XS,is_data,is_signal,groupindex
|
353 |
// allsamples.AddSample("/scratch/fronga/JSON_160404-163869_v1.29/AllCertified191_v1.29.root","Data",1,1,true,false,0,kBlack);
|
354 |
// allsamples.AddSample("/scratch/buchmann/May2011ReRecoAllMayJSON.root","Data",1,1,true,false,0,kBlack);
|
355 |
|
356 |
/*
|
357 |
allsamples.AddSample("/scratch/buchmann/DataMay2011ReReco_CertifiedReRecoJSON.root","Data",1,1,true,false,0,kBlack);
|
358 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/TTJets_TuneZ2_7TeV-madgraph-tauola.root","t#bar{t}",totEventsTTbar,TTbarCrossSection,false,false,1,ttbar_color);
|
359 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root","WJets",totEventsWJets,WJetsCrossSection,false,false,3,wjets_color);
|
360 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/VVJetsTo4L_TuneD6T_7TeV-madgraph-tauola.root","Dibosons",totEventsVVJets,VVJetsCrossSection,false,false,4,diboson_color);
|
361 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/TToBLNu_TuneZ2_s-channel_7TeV-madgraph_2.root","SingleTop",totEventsSingleTopS,SingleTopSCrossSection,false,false,2,singletop_color);
|
362 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/TToBLNu_TuneZ2_t-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopT,SingleTopTCrossSection,false,false,2,singletop_color);
|
363 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/TToBLNu_TuneZ2_tW-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopU,SingleTopUCrossSection,false,false,2,singletop_color);
|
364 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/ZinvisibleJets_7TeV-madgraph.root","Z nunu",totEventsZnunu,ZnunuCrossSection,false,false,4,diboson_color);
|
365 |
// allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-100To250_7TeV-madgraph.root","QCD",totEventsQCD100to250,QCD100to250CrossSection,false,false,5,qcd_color);
|
366 |
// allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-250To500_7TeV-madgraph.root","QCD",totEventsQCD250to500,QCD250to500CrossSection,false,false,5,qcd_color);
|
367 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-500To1000_7TeV-madgraph.root","QCD",totEventsQCD500to1000,QCD500to1000CrossSection,false,false,5,qcd_color);
|
368 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-1000_7TeV-madgraph.root","QCD",totEventsQCD1000toInf,QCD1000toInfCrossSection,false,false,5,qcd_color);
|
369 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola.root","ZJets",totEventsZjets,ZJetsCrossSection,false,false,6,dy_color);
|
370 |
|
371 |
|
372 |
allsamples.AddSample("/scratch/fronga/MC_v1.29/LM4_SUSY_sftsht_7TeV-pythia6.root","20xLM4",218536,1.879*20,false,true,7,lm_color);
|
373 |
|
374 |
|
375 |
|
376 |
|
377 |
|
378 |
|
379 |
|
380 |
// allsamples.AddSample("/scratch/buchmann/DataMay2011ReReco_CertifiedReRecoJSON.root","Data",1,1,true,false,0,kBlack);
|
381 |
// allsamples.AddSample("/scratch/buchmann/AllDataJun3_again.root","Data",1,1,true,false,0,kBlack);
|
382 |
allsamples.AddSample("/scratch/buchmann/AllData_Jun10___486pb_merged.root","Data",1,1,true,false,0,kBlack);
|
383 |
allsamples.AddSample("/scratch/buchmann/MC_Spring11_PU_PF/TTJets_TuneZ2_7TeV-madgraph-tauola.root","t#bar{t}",totEventsTTbar,TTbarCrossSection,false,false,1,ttbar_color);
|
384 |
allsamples.AddSample("/scratch/buchmann/MC_Spring11_PU_PF/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola.root","WJets",totEventsWJets,WJetsCrossSection,false,false,3,wjets_color);
|
385 |
allsamples.AddSample("/scratch/buchmann/MC_Spring11_PU_PF/VVJetsTo4L_TuneD6T_7TeV-madgraph-tauola.root","Dibosons",totEventsVVJets,VVJetsCrossSection,false,false,4,diboson_color);
|
386 |
allsamples.AddSample("/scratch/buchmann/MC_Spring11_PU_PF/TToBLNu_TuneZ2_s-channel_7TeV-madgraph_2.root","SingleTop",totEventsSingleTopS,SingleTopSCrossSection,false,false,2,singletop_color);
|
387 |
allsamples.AddSample("/scratch/buchmann/MC_Spring11_PU_PF/TToBLNu_TuneZ2_t-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopT,SingleTopTCrossSection,false,false,2,singletop_color);
|
388 |
allsamples.AddSample("/scratch/buchmann/MC_Spring11_PU_PF/TToBLNu_TuneZ2_tW-channel_7TeV-madgraph.root","SingleTop",totEventsSingleTopU,SingleTopUCrossSection,false,false,2,singletop_color);
|
389 |
// allsamples.AddSample("/scratch/fronga/MC_v1.29/ZinvisibleJets_7TeV-madgraph.root","Z nunu",totEventsZnunu,ZnunuCrossSection,false,false,4,diboson_color);
|
390 |
// allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-100To250_7TeV-madgraph.root","QCD",totEventsQCD100to250,QCD100to250CrossSection,false,false,5,qcd_color);
|
391 |
// allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-250To500_7TeV-madgraph.root","QCD",totEventsQCD250to500,QCD250to500CrossSection,false,false,5,qcd_color);
|
392 |
// allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-500To1000_7TeV-madgraph.root","QCD",totEventsQCD500to1000,QCD500to1000CrossSection,false,false,5,qcd_color);
|
393 |
// allsamples.AddSample("/scratch/fronga/MC_v1.29/QCD_TuneD6T_HT-1000_7TeV-madgraph.root","QCD",totEventsQCD1000toInf,QCD1000toInfCrossSection,false,false,5,qcd_color);
|
394 |
allsamples.AddSample("/scratch/buchmann/MC_Spring11_PU_PF/DYJetsToLL_TuneZ2_M-50_7TeV-madgraph-tauola.root","ZJets",totEventsZjets,ZJetsCrossSection,false,false,6,dy_color);
|
395 |
|
396 |
|
397 |
// allsamples.AddSample("/scratch/fronga/MC_v1.29/LM4_SUSY_sftsht_7TeV-pythia6.root","20xLM4",218536,1.879*20,false,true,7,lm_color);
|
398 |
allsamples.AddSample("/scratch/buchmann/LM4_SUSY_sftsht_7TeV-pythia.root","20xLM4",218536,1.879*20,false,true,7,lm_color);
|
399 |
|
400 |
|
401 |
|
402 |
|
403 |
|
404 |
|
405 |
|
406 |
|
407 |
|
408 |
|
409 |
|
410 |
|
411 |
|
412 |
|
413 |
|
414 |
*/
|