ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/LJMet/MultivariateAnalysis/root/observabls2.C
Revision: 1.1
Committed: Wed Jan 21 18:36:10 2009 UTC (16 years, 3 months ago) by kukartse
Content type: text/plain
Branch: MAIN
CVS Tags: V00-03-01, ZMorph_BASE_20100408, gak040610_morphing, V00-02-02, gak011410, gak010310, ejterm2010_25nov2009, V00-02-01, V00-02-00, gak112409, CMSSW_22X_branch_base, segala101609, V00-01-15, V00-01-14, V00-01-13, V00-01-12, V00-01-11, V00-01-10, gak031009, gak030509, gak022309, gak021209, gak040209, gak012809, V00-01-09, V00-01-08, V00-01-07, V00-01-06, V00-01-05, V00-01-04, HEAD
Branch point for: ZMorph-V00-03-01, CMSSW_22X_branch
Error occurred while calculating annotation data.
Log Message:
after JTerm status update

File Contents

# Content
1 {
2 gStyle->SetOptStat(1);
3
4 TChain chain("ttljets");
5 chain . Add("./summer08/InclusiveMuPt50_Summer08_IDEAL_V9_v1_GEN-SIM-RECO-Layer1-22dec2008.root");
6
7 //gROOT->Macro("./cuts.C");
8
9 TH1F h1("h1","", 100, 0, 500);
10
11 TCanvas c("canvas", "canvas", 500, 400);
12 //c.Divide(2,1);
13
14 //TCut the_cut = "lepton_calo_iso < 6.0";// && lepton_track_iso < 3.0";
15 TCut the_cut = "lepton_track_iso < 3.0";
16
17 //c.cd(1);
18 //c.GetPad(1).SetLogy(1);
19 h1 . SetNdivisions(6);
20 //h_jet1pt_ttbar . Sumw2();
21 chain . Draw("jet1_pt>>h1", the_cut);
22
23 h1 . SetFillColor(2);
24 h1.Draw();
25 //h2.Draw("same");
26
27 //c.SaveAs("jet1pt.eps");
28 }