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 |
Log Message: | after JTerm status update |
# | User | Rev | Content |
---|---|---|---|
1 | kukartse | 1.1 | { |
2 | gROOT->Macro("./cuts.C"); | ||
3 | |||
4 | TChain chain("ttljets"); | ||
5 | chain . Add("./ttlj_chowder_muon.root"); | ||
6 | chain . Add("./ttlj_chowder_electron.root"); | ||
7 | chain . Add("./ttlj_gumbo_electron.root"); | ||
8 | chain . Add("./ttlj_gumbo_muon.root"); | ||
9 | |||
10 | TH1F h_track_iso("h_track_iso","Lepton Track Isolation",100,0, 10); | ||
11 | TH1F h_track_iso_2("h_track_iso_2","Lepton Track Isolation",100,0, 10); | ||
12 | h_track_iso . SetFillColor(2); | ||
13 | h_track_iso_2 . SetFillColor(3); | ||
14 | |||
15 | TCut kin_cut = "lepton_calo_iso < 5 && n_jets==4"; | ||
16 | TCut sig_cut = ttbar; | ||
17 | TCut bg_cut = wzjets; | ||
18 | |||
19 | TCanvas c("canvas", "canvas", 400, 400); | ||
20 | c.SetLogy(); | ||
21 | |||
22 | chain . Draw("lepton_track_iso>>h_track_iso", weight*kin_cut*sig_cut); | ||
23 | chain . Draw("lepton_track_iso>>h_track_iso_2", weight*kin_cut*wzjets, "same"); | ||
24 | } |