1 |
|
////////////////////////////////////////////////////////// |
2 |
|
// This class has been automatically generated on |
3 |
|
// Tue Apr 14 23:27:01 2009 |
4 |
< |
// from TTree top/top |
5 |
< |
// found on file: nominal/ABCD_TTJets_all.root |
4 |
> |
// from TTree top |
5 |
> |
// found on file: |
6 |
|
////////////////////////////////////////////////////////// |
7 |
|
|
8 |
|
#ifndef skim_data_h |
34 |
|
|
35 |
|
Int_t top_njets; |
36 |
|
Int_t top_trk_muon; |
37 |
+ |
Int_t top_muon_trackerhits; |
38 |
+ |
Int_t top_muon_muonhits; |
39 |
+ |
float top_muon_chi2; |
40 |
+ |
float top_muon_jet_dr; |
41 |
|
float top_met; |
42 |
|
float top_muon_pt; |
43 |
+ |
float top_muon_eta; |
44 |
|
float top_muon_d0; |
45 |
|
float top_muon_d0Error; |
46 |
|
float top_muon_old_reliso; |
51 |
|
TBranch *b_top_njets; |
52 |
|
TBranch *b_top_met; |
53 |
|
TBranch *b_top_muon_pt; |
54 |
+ |
TBranch *b_top_muon_eta; |
55 |
|
TBranch *b_top_muon_d0; |
56 |
|
TBranch *b_top_muon_d0Error; |
57 |
|
TBranch *b_top_muon_old_reliso; |
58 |
|
TBranch *b_top_trk_muon; |
59 |
+ |
TBranch *b_top_muon_trackerhits; |
60 |
+ |
TBranch *b_top_muon_muonhits; |
61 |
+ |
TBranch *b_top_muon_chi2; |
62 |
+ |
TBranch *b_top_muon_jet_dr; |
63 |
|
|
64 |
|
skim_data(TTree *tree=0); |
65 |
|
virtual ~skim_data(); |
79 |
|
skim_data::skim_data(TTree *tree) |
80 |
|
{ |
81 |
|
TChain * chain = new TChain("top"); |
82 |
< |
|
83 |
< |
chain->Add("20100621/ABCD_data_May27thReReco.root"); |
84 |
< |
//chain->Add("20100616/ABCD_QCD.root"); |
85 |
< |
//chain->Add("20100616/ABCD_ppMuX_loose.root"); |
86 |
< |
//chain->Add("20100616/ABCD_W_loose.root"); |
87 |
< |
|
82 |
> |
|
83 |
> |
chain->Add("20100720/ABCD_data_July20.root"); |
84 |
> |
//chain->Add("20100623/ABCD_ppMuX_new.root"); |
85 |
> |
//chain->Add("20100623/ABCD_W_new.root"); |
86 |
> |
//chain->Add("20100711/ABCD_ZJets.root"); |
87 |
> |
//chain->Add("20100715/ABCD_InclusiveMu15_tmp.root");//InclusiveMu15 new |
88 |
> |
//chain->Add("20100615/ABCD_QCD.root");//InclusiveMu15 old format |
89 |
> |
//chain->Add("20100707/ABCD_data_36nb.root"); |
90 |
> |
//chain->Add("20100707/ABCD_data_July7.root"); |
91 |
> |
//chain->Add("20100711/ABCD_data_July11.root"); |
92 |
> |
|
93 |
|
tree = chain; |
94 |
|
Init(tree); |
95 |
|
} |
141 |
|
fChain->SetBranchAddress("TrackerMu", &top_trk_muon, &b_top_trk_muon); |
142 |
|
fChain->SetBranchAddress("met", &top_met, &b_top_met); |
143 |
|
fChain->SetBranchAddress("muon_pt", &top_muon_pt, &b_top_muon_pt); |
144 |
+ |
fChain->SetBranchAddress("muon_eta", &top_muon_eta, &b_top_muon_eta); |
145 |
|
fChain->SetBranchAddress("muon_d0", &top_muon_d0, &b_top_muon_d0); |
146 |
|
fChain->SetBranchAddress("muon_d0Error", &top_muon_d0Error, &b_top_muon_d0Error); |
147 |
|
fChain->SetBranchAddress("muon_old_reliso", &top_muon_old_reliso, &b_top_muon_old_reliso); |
148 |
+ |
fChain->SetBranchAddress("muon_trackerhits", &top_muon_trackerhits, &b_top_muon_trackerhits); |
149 |
+ |
fChain->SetBranchAddress("muon_muonhits", &top_muon_muonhits, &b_top_muon_muonhits); |
150 |
+ |
fChain->SetBranchAddress("muon_chi2", &top_muon_chi2, &b_top_muon_chi2); |
151 |
+ |
fChain->SetBranchAddress("muon_jet_dr", &top_muon_jet_dr, &b_top_muon_jet_dr); |
152 |
|
Notify(); |
153 |
|
} |
154 |
|
|