1 |
#include <iostream>
|
2 |
#include <fstream>
|
3 |
#include <TCut.h>
|
4 |
|
5 |
#ifndef SampleClassLoaded
|
6 |
#include "SampleClass.C"
|
7 |
#endif
|
8 |
#define SetupLoaded
|
9 |
|
10 |
using namespace std;
|
11 |
|
12 |
|
13 |
namespace PlottingSetup {
|
14 |
float luminosity=1078;//751.0;//486.0;//468.0//336.;//pb^{-1}
|
15 |
float lumiuncert=0.04;// to be indicated in [0,1] range, e.g. for 4% write 0.04
|
16 |
string jzbvariabledata="jzb[1]+0.06*pt";
|
17 |
string jzbvariablemc="jzb[1]+0.04*pt";
|
18 |
|
19 |
samplecollection allsamples("completesamplecollection");
|
20 |
samplecollection signalsamples("signalsamplecollection");
|
21 |
samplecollection scansample("scansamplecollection");
|
22 |
int data=1;
|
23 |
int mc=0;
|
24 |
int mcwithsignal=2;
|
25 |
TCut passtrig("(passed_triggers||!is_data)");
|
26 |
TCut cutmass("abs(mll-91.2)<20");
|
27 |
//TCut cutmass("mll>2");
|
28 |
TCut basiccut("mll>2");//basically nothing.
|
29 |
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.
|
30 |
//TCut jetqualitycut("(pfJetGoodNum>=2&&pfJetGoodID[0])&&(pfJetGoodNum>=2&&pfJetGoodID[1])");//now part of the basiccut
|
31 |
//TCut jetqualitycut("mll>0");
|
32 |
|
33 |
TCut cutnJets("pfJetGoodNum>=3"&&basicqualitycut);
|
34 |
TCut cutnJetsJESdown("pfJetGoodNum25>=3"&&basicqualitycut);
|
35 |
TCut cutnJetsJESup("pfJetGoodNum35>=3"&&basicqualitycut);
|
36 |
TCut cutOSOF("(id1!=id2)&&(ch1*ch2<0)");
|
37 |
TCut cutOSSF("(id1==id2)&&(ch1*ch2<0)");
|
38 |
TCut sidebandcut("(mll>55&&mll<70)||(mll>112&&mll<160)");
|
39 |
//TCut sidebandcut("(mll>61&&mll<70)||(mll>112&&mll<190)");
|
40 |
//TCut basiccut("(passed_triggers||!is_data)");
|
41 |
|
42 |
// SUSY scan parameters
|
43 |
// float mglustart=25;float mgluend=1200;float mglustep=25; //guessed values for official file
|
44 |
// float mLSPstart=25;float mLSPend=1200;float mLSPstep=25; //guessed values for official file
|
45 |
float mglustart=25;float mgluend=1200;float mglustep=25;
|
46 |
float mLSPstart=25;float mLSPend=1200;float mLSPstep=25;
|
47 |
|
48 |
|
49 |
TCut essential(passtrig);//add here any cuts you ALWAYS want
|
50 |
int dogaus=0;
|
51 |
int doKM=1;
|
52 |
int dogaus2sigma=2;
|
53 |
int dogaus3sigma=3;
|
54 |
int Kostasmethod=-99;
|
55 |
|
56 |
float fitresultconstdata=0;//this is the result when fitting in the 0-30 GeV range
|
57 |
float fitresultconstmc=0;//this is the result when fitting in the 0-30 GeV range
|
58 |
|
59 |
int method=-1;
|
60 |
|
61 |
//now some style issues:
|
62 |
float DataMarkerSize=1.2;
|
63 |
|
64 |
//here we save our number of predicted and observed events (with errors)
|
65 |
vector<float> Nobs;
|
66 |
vector<float> Npred;
|
67 |
vector<float> Nprederr;
|
68 |
|
69 |
int noJES=0;
|
70 |
int JESdown=1;
|
71 |
int JESup=2;
|
72 |
|
73 |
}
|