3 |
|
#ifndef SampleClassLoaded |
4 |
|
#include "SampleClass.C" |
5 |
|
#endif |
6 |
< |
|
6 |
> |
#define SetupLoaded |
7 |
|
|
8 |
|
using namespace std; |
9 |
|
|
10 |
|
|
11 |
|
namespace PlottingSetup { |
12 |
< |
float luminosity=751.0;//486.0;//468.0//336.;//pb^{-1} |
12 |
> |
float luminosity=1078;//751.0;//486.0;//468.0//336.;//pb^{-1} |
13 |
> |
float lumiuncert=0.04;// to be indicated in [0,1] range, e.g. for 4% write 0.04 |
14 |
|
string jzbvariabledata="jzb[1]+0.06*pt"; |
15 |
|
string jzbvariablemc="jzb[1]+0.04*pt"; |
16 |
|
|
17 |
|
samplecollection allsamples("completesamplecollection"); |
18 |
+ |
samplecollection signalsamples("signalsamplecollection"); |
19 |
|
int data=1; |
20 |
|
int mc=0; |
21 |
|
int mcwithsignal=2; |
23 |
|
TCut cutmass("abs(mll-91.2)<20"); |
24 |
|
//TCut cutmass("mll>2"); |
25 |
|
TCut basiccut("mll>2");//basically nothing. |
26 |
< |
TCut basicqualitycut("(pfJetGoodNum>=2&&pfJetGoodID[0])&&(pfJetGoodNum>=2&&pfJetGoodID[1])");//don't use this for the "essential cut", because we want to plot nJets as well as mll in the inclusive case; we thus use it as an addition nJets cut. |
26 |
> |
TCut basicqualitycut("(pfJetGoodNum>=2&&pfJetGoodID[0]!=0)&&(pfJetGoodNum>=2&&pfJetGoodID[1]!=0)");//don't use this for the "essential cut", because we want to plot nJets as well as mll in the inclusive case; we thus use it as an addition nJets cut. |
27 |
|
//TCut jetqualitycut("(pfJetGoodNum>=2&&pfJetGoodID[0])&&(pfJetGoodNum>=2&&pfJetGoodID[1])");//now part of the basiccut |
28 |
|
//TCut jetqualitycut("mll>0"); |
29 |
+ |
|
30 |
|
TCut cutnJets("pfJetGoodNum>=3"&&basicqualitycut); |
31 |
+ |
TCut cutnJetsJESdown("pfJetGoodNum25>=3"&&basicqualitycut); |
32 |
+ |
TCut cutnJetsJESup("pfJetGoodNum35>=3"&&basicqualitycut); |
33 |
|
TCut cutOSOF("(id1!=id2)&&(ch1*ch2<0)"); |
34 |
|
TCut cutOSSF("(id1==id2)&&(ch1*ch2<0)"); |
35 |
+ |
TCut sidebandcut("(mll>55&&mll<70)||(mll>112&&mll<160)"); |
36 |
+ |
//TCut sidebandcut("(mll>61&&mll<70)||(mll>112&&mll<190)"); |
37 |
|
//TCut basiccut("(passed_triggers||!is_data)"); |
38 |
|
|
39 |
|
TCut essential(passtrig);//add here any cuts you ALWAYS want |
47 |
|
float fitresultconstmc=0;//this is the result when fitting in the 0-30 GeV range! |
48 |
|
|
49 |
|
int method=-1; |
50 |
< |
|
50 |
> |
|
51 |
> |
//now some style issues: |
52 |
> |
float DataMarkerSize=1.2; |
53 |
|
} |