forked from miquork/jetphys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mk_drawJetPt.C
32 lines (25 loc) · 941 Bytes
/
mk_drawJetPt.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
// For JEC (for uncertainty)
gROOT->ProcessLine(".L CondFormats/JetMETObjects/src/Utilities.cc+");
gROOT->ProcessLine(".L CondFormats/JetMETObjects/src/JetCorrectorParameters.cc+");
gROOT->ProcessLine(".L CondFormats/JetMETObjects/src/SimpleJetCorrector.cc+");
gROOT->ProcessLine(".L CondFormats/JetMETObjects/src/FactorizedJetCorrector.cc+");
// For JEC uncertainty
gROOT->ProcessLine(".L CondFormats/JetMETObjects/src/SimpleJetCorrectionUncertainty.cc+");
gROOT->ProcessLine(".L CondFormats/JetMETObjects/src/JetCorrectionUncertainty.cc+");
gROOT->ProcessLine(".L drawJetPt.C+g");
unfold("0.0-0.5",1);
unfold("0.5-1.0",2);
unfold("1.0-1.5",3);
unfold("1.5-2.0",4);
unfold("2.0-2.5",5);
unfold("2.5-3.0",6);
unfold("3.2-4.7",7);
drawJetPt("0.0-0.5");
drawJetPt("0.5-1.0");
drawJetPt("1.0-1.5");
drawJetPt("1.5-2.0");
drawJetPt("2.0-2.5");
drawJetPt("2.5-3.0");
drawJetPt("3.2-4.7");
}