ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/Plotting/Modules/Setup.C
Revision: 1.5
Committed: Fri Jul 8 13:01:12 2011 UTC (13 years, 10 months ago) by buchmann
Content type: text/plain
Branch: MAIN
Changes since 1.4: +3 -2 lines
Log Message:
Introduced sideband definition

File Contents

# Content
1 #include <iostream>
2 #include <sstream>
3 #include <TCut.h>
4 #ifndef SampleClassLoaded
5 #include "SampleClass.C"
6 #endif
7 #define SetupLoaded
8
9 using namespace std;
10
11
12 namespace PlottingSetup {
13 float luminosity=1078;//751.0;//486.0;//468.0//336.;//pb^{-1}
14 string jzbvariabledata="jzb[1]+0.06*pt";
15 string jzbvariablemc="jzb[1]+0.04*pt";
16
17 samplecollection allsamples("completesamplecollection");
18 int data=1;
19 int mc=0;
20 int mcwithsignal=2;
21 TCut passtrig("(passed_triggers||!is_data)");
22 TCut cutmass("abs(mll-91.2)<20");
23 //TCut cutmass("mll>2");
24 TCut basiccut("mll>2");//basically nothing.
25 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 jetqualitycut("(pfJetGoodNum>=2&&pfJetGoodID[0])&&(pfJetGoodNum>=2&&pfJetGoodID[1])");//now part of the basiccut
27 //TCut jetqualitycut("mll>0");
28 TCut cutnJets("pfJetGoodNum>=3"&&basicqualitycut);
29 TCut cutOSOF("(id1!=id2)&&(ch1*ch2<0)");
30 TCut cutOSSF("(id1==id2)&&(ch1*ch2<0)");
31 TCut sidebandcut("(mll>55&&mll<70)||(mll>112&&mll<160)");
32 //TCut basiccut("(passed_triggers||!is_data)");
33
34 TCut essential(passtrig);//add here any cuts you ALWAYS want
35 int dogaus=0;
36 int doKM=1;
37 int dogaus2sigma=2;
38 int dogaus3sigma=3;
39 int Kostasmethod=-99;
40
41 float fitresultconstdata=0;//this is the result when fitting in the 0-30 GeV range!
42 float fitresultconstmc=0;//this is the result when fitting in the 0-30 GeV range!
43
44 int method=-1;
45 }