ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/Plotting/Modules/Setup.C
Revision: 1.7
Committed: Tue Jul 12 12:38:06 2011 UTC (13 years, 9 months ago) by buchmann
Content type: text/plain
Branch: MAIN
Changes since 1.6: +4 -1 lines
Log Message:
Updated definitions

File Contents

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