ra4_macros  bede988c286599a3a84b77a4d788ac0a971e89f9
small_tree_rpv.hpp
Go to the documentation of this file.
1 // small_tree_rpv: rpv version of small_tree to handle reduce tree ntuples
2 // File generated with generate_small_tree.exe
3 
4 #ifndef H_SMALL_TREE_RPV
5 #define H_SMALL_TREE_RPV
6 
7 #include <vector>
8 #include <string>
9 
10 #include "TTree.h"
11 #include "TChain.h"
12 
13 #include "small_tree.hpp"
14 
15 class small_tree_rpv : public small_tree{
16 public:
17  small_tree_rpv(); // Constructor to create tree
18  small_tree_rpv(const std::string &filename); // Constructor to read tree
19 
20  virtual void GetEntry(const long entry);
21 
22  virtual void Fill();
23 
24  virtual std::string Type() const;
25 
26  virtual ~small_tree_rpv();
27 
28  virtual bool const & pass() const;
29  virtual bool & pass();
30  virtual float const & eff_trig() const;
31  virtual float & eff_trig();
32  virtual float const & mht() const;
33  virtual float & mht();
34  virtual float const & mj() const;
35  virtual float & mj();
36  virtual float const & mj08() const;
37  virtual float & mj08();
38  virtual float const & w_pu_rpv() const;
39  virtual float & w_pu_rpv();
40  virtual int const & nfjets() const;
41  virtual int & nfjets();
42  virtual int const & nfjets08() const;
43  virtual int & nfjets08();
44  virtual int const & ntruels() const;
45  virtual int & ntruels();
46  virtual int const & ntruleps() const;
47  virtual int & ntruleps();
48  virtual int const & ntrumus() const;
49  virtual int & ntrumus();
50  virtual int const & ntrutaush() const;
51  virtual int & ntrutaush();
52  virtual int const & ntrutausl() const;
53  virtual int & ntrutausl();
54  virtual std::vector<bool> const & jets_islep() const;
55  virtual std::vector<bool> & jets_islep();
56  virtual std::vector<bool> const & trig() const;
57  virtual std::vector<bool> & trig();
58  virtual std::vector<float> const & dr_bb() const;
59  virtual std::vector<float> & dr_bb();
60  virtual std::vector<float> const & els_d0() const;
61  virtual std::vector<float> & els_d0();
62  virtual std::vector<float> const & els_dz() const;
63  virtual std::vector<float> & els_dz();
64  virtual std::vector<float> const & els_sceta() const;
65  virtual std::vector<float> & els_sceta();
66  virtual std::vector<float> const & fjets08_eta() const;
67  virtual std::vector<float> & fjets08_eta();
68  virtual std::vector<float> const & fjets08_m() const;
69  virtual std::vector<float> & fjets08_m();
70  virtual std::vector<float> const & fjets08_phi() const;
71  virtual std::vector<float> & fjets08_phi();
72  virtual std::vector<float> const & fjets08_poscsv() const;
73  virtual std::vector<float> & fjets08_poscsv();
74  virtual std::vector<float> const & fjets08_pt() const;
75  virtual std::vector<float> & fjets08_pt();
76  virtual std::vector<float> const & fjets08_sumcsv() const;
77  virtual std::vector<float> & fjets08_sumcsv();
78  virtual std::vector<float> const & fjets_eta() const;
79  virtual std::vector<float> & fjets_eta();
80  virtual std::vector<float> const & fjets_m() const;
81  virtual std::vector<float> & fjets_m();
82  virtual std::vector<float> const & fjets_phi() const;
83  virtual std::vector<float> & fjets_phi();
84  virtual std::vector<float> const & fjets_poscsv() const;
85  virtual std::vector<float> & fjets_poscsv();
86  virtual std::vector<float> const & fjets_pt() const;
87  virtual std::vector<float> & fjets_pt();
88  virtual std::vector<float> const & fjets_sumcsv() const;
89  virtual std::vector<float> & fjets_sumcsv();
90  virtual std::vector<float> const & jets_m() const;
91  virtual std::vector<float> & jets_m();
92  virtual std::vector<float> const & mus_d0() const;
93  virtual std::vector<float> & mus_d0();
94  virtual std::vector<float> const & mus_dz() const;
95  virtual std::vector<float> & mus_dz();
96  virtual std::vector<float> const & sys_bctag() const;
97  virtual std::vector<float> & sys_bctag();
98  virtual std::vector<int> const & fjets08_btags() const;
99  virtual std::vector<int> & fjets08_btags();
100  virtual std::vector<int> const & fjets08_nconst() const;
101  virtual std::vector<int> & fjets08_nconst();
102  virtual std::vector<int> const & fjets_btags() const;
103  virtual std::vector<int> & fjets_btags();
104  virtual std::vector<int> const & fjets_nconst() const;
105  virtual std::vector<int> & fjets_nconst();
106  virtual std::vector<int> const & jets_fjet08_index() const;
107  virtual std::vector<int> & jets_fjet08_index();
108  virtual std::vector<int> const & jets_fjet_index() const;
109  virtual std::vector<int> & jets_fjet_index();
110 
111 private:
112  bool pass_;
113  TBranch *b_pass_;
114  mutable bool c_pass_;
115  float eff_trig_;
116  TBranch *b_eff_trig_;
117  mutable bool c_eff_trig_;
118  float mht_;
119  TBranch *b_mht_;
120  mutable bool c_mht_;
121  float mj_;
122  TBranch *b_mj_;
123  mutable bool c_mj_;
124  float mj08_;
125  TBranch *b_mj08_;
126  mutable bool c_mj08_;
127  float w_pu_rpv_;
128  TBranch *b_w_pu_rpv_;
129  mutable bool c_w_pu_rpv_;
130  int nfjets_;
131  TBranch *b_nfjets_;
132  mutable bool c_nfjets_;
134  TBranch *b_nfjets08_;
135  mutable bool c_nfjets08_;
136  int ntruels_;
137  TBranch *b_ntruels_;
138  mutable bool c_ntruels_;
140  TBranch *b_ntruleps_;
141  mutable bool c_ntruleps_;
142  int ntrumus_;
143  TBranch *b_ntrumus_;
144  mutable bool c_ntrumus_;
146  TBranch *b_ntrutaush_;
147  mutable bool c_ntrutaush_;
149  TBranch *b_ntrutausl_;
150  mutable bool c_ntrutausl_;
151  std::vector<bool> jets_islep_;
152  std::vector<bool> *p_jets_islep_;
153  TBranch *b_jets_islep_;
154  mutable bool c_jets_islep_;
155  std::vector<bool> trig_;
156  std::vector<bool> *p_trig_;
157  TBranch *b_trig_;
158  mutable bool c_trig_;
159  std::vector<float> dr_bb_;
160  std::vector<float> *p_dr_bb_;
161  TBranch *b_dr_bb_;
162  mutable bool c_dr_bb_;
163  std::vector<float> els_d0_;
164  std::vector<float> *p_els_d0_;
165  TBranch *b_els_d0_;
166  mutable bool c_els_d0_;
167  std::vector<float> els_dz_;
168  std::vector<float> *p_els_dz_;
169  TBranch *b_els_dz_;
170  mutable bool c_els_dz_;
171  std::vector<float> els_sceta_;
172  std::vector<float> *p_els_sceta_;
173  TBranch *b_els_sceta_;
174  mutable bool c_els_sceta_;
175  std::vector<float> fjets08_eta_;
176  std::vector<float> *p_fjets08_eta_;
177  TBranch *b_fjets08_eta_;
178  mutable bool c_fjets08_eta_;
179  std::vector<float> fjets08_m_;
180  std::vector<float> *p_fjets08_m_;
181  TBranch *b_fjets08_m_;
182  mutable bool c_fjets08_m_;
183  std::vector<float> fjets08_phi_;
184  std::vector<float> *p_fjets08_phi_;
185  TBranch *b_fjets08_phi_;
186  mutable bool c_fjets08_phi_;
187  std::vector<float> fjets08_poscsv_;
188  std::vector<float> *p_fjets08_poscsv_;
190  mutable bool c_fjets08_poscsv_;
191  std::vector<float> fjets08_pt_;
192  std::vector<float> *p_fjets08_pt_;
193  TBranch *b_fjets08_pt_;
194  mutable bool c_fjets08_pt_;
195  std::vector<float> fjets08_sumcsv_;
196  std::vector<float> *p_fjets08_sumcsv_;
198  mutable bool c_fjets08_sumcsv_;
199  std::vector<float> fjets_eta_;
200  std::vector<float> *p_fjets_eta_;
201  TBranch *b_fjets_eta_;
202  mutable bool c_fjets_eta_;
203  std::vector<float> fjets_m_;
204  std::vector<float> *p_fjets_m_;
205  TBranch *b_fjets_m_;
206  mutable bool c_fjets_m_;
207  std::vector<float> fjets_phi_;
208  std::vector<float> *p_fjets_phi_;
209  TBranch *b_fjets_phi_;
210  mutable bool c_fjets_phi_;
211  std::vector<float> fjets_poscsv_;
212  std::vector<float> *p_fjets_poscsv_;
213  TBranch *b_fjets_poscsv_;
214  mutable bool c_fjets_poscsv_;
215  std::vector<float> fjets_pt_;
216  std::vector<float> *p_fjets_pt_;
217  TBranch *b_fjets_pt_;
218  mutable bool c_fjets_pt_;
219  std::vector<float> fjets_sumcsv_;
220  std::vector<float> *p_fjets_sumcsv_;
221  TBranch *b_fjets_sumcsv_;
222  mutable bool c_fjets_sumcsv_;
223  std::vector<float> jets_m_;
224  std::vector<float> *p_jets_m_;
225  TBranch *b_jets_m_;
226  mutable bool c_jets_m_;
227  std::vector<float> mus_d0_;
228  std::vector<float> *p_mus_d0_;
229  TBranch *b_mus_d0_;
230  mutable bool c_mus_d0_;
231  std::vector<float> mus_dz_;
232  std::vector<float> *p_mus_dz_;
233  TBranch *b_mus_dz_;
234  mutable bool c_mus_dz_;
235  std::vector<float> sys_bctag_;
236  std::vector<float> *p_sys_bctag_;
237  TBranch *b_sys_bctag_;
238  mutable bool c_sys_bctag_;
239  std::vector<int> fjets08_btags_;
240  std::vector<int> *p_fjets08_btags_;
242  mutable bool c_fjets08_btags_;
243  std::vector<int> fjets08_nconst_;
244  std::vector<int> *p_fjets08_nconst_;
246  mutable bool c_fjets08_nconst_;
247  std::vector<int> fjets_btags_;
248  std::vector<int> *p_fjets_btags_;
249  TBranch *b_fjets_btags_;
250  mutable bool c_fjets_btags_;
251  std::vector<int> fjets_nconst_;
252  std::vector<int> *p_fjets_nconst_;
253  TBranch *b_fjets_nconst_;
254  mutable bool c_fjets_nconst_;
255  std::vector<int> jets_fjet08_index_;
256  std::vector<int> *p_jets_fjet08_index_;
258  mutable bool c_jets_fjet08_index_;
259  std::vector<int> jets_fjet_index_;
260  std::vector<int> *p_jets_fjet_index_;
262  mutable bool c_jets_fjet_index_;
263 };
264 
265 #endif
virtual std::vector< float > const & jets_m() const
TBranch * b_fjets08_eta_
std::vector< float > fjets_eta_
virtual int const & ntrutaush() const
std::vector< int > * p_fjets08_btags_
TBranch * b_fjets08_m_
std::vector< float > els_d0_
virtual std::vector< int > const & fjets08_btags() const
virtual std::vector< float > const & mus_d0() const
virtual std::vector< float > const & dr_bb() const
virtual int const & ntrumus() const
std::vector< int > * p_fjets_nconst_
std::vector< float > fjets_m_
std::vector< int > * p_jets_fjet08_index_
virtual std::vector< float > const & els_dz() const
virtual std::vector< float > const & els_d0() const
virtual std::vector< bool > const & trig() const
std::vector< int > jets_fjet_index_
TBranch * b_sys_bctag_
TBranch * b_nfjets08_
std::vector< int > jets_fjet08_index_
std::vector< float > * p_fjets08_m_
std::vector< float > mus_dz_
std::vector< float > fjets08_m_
TBranch * b_ntruleps_
virtual int const & ntruels() const
TBranch * b_ntruels_
std::vector< float > fjets08_poscsv_
TBranch * b_fjets_phi_
TBranch * b_ntrutausl_
std::vector< float > * p_fjets_sumcsv_
std::vector< float > fjets08_phi_
TBranch * b_fjets08_poscsv_
virtual float const & mht() const
TBranch * b_ntrumus_
std::vector< int > * p_fjets_btags_
TBranch * b_fjets_poscsv_
virtual std::vector< float > const & fjets_m() const
std::vector< float > fjets_pt_
TBranch * b_fjets08_btags_
TBranch * b_fjets_pt_
std::vector< float > * p_els_d0_
virtual std::vector< float > const & els_sceta() const
virtual std::vector< int > const & fjets_btags() const
std::vector< float > * p_els_sceta_
std::vector< bool > * p_jets_islep_
virtual std::vector< int > const & fjets_nconst() const
std::vector< float > * p_fjets_poscsv_
TBranch * b_ntrutaush_
TBranch * b_fjets_nconst_
std::vector< float > * p_fjets_m_
std::vector< float > * p_fjets_pt_
virtual std::vector< float > const & fjets_sumcsv() const
TBranch * b_jets_fjet08_index_
std::vector< float > * p_fjets08_pt_
virtual std::vector< float > const & fjets08_sumcsv() const
virtual ~small_tree_rpv()
virtual int const & nfjets() const
TBranch * b_w_pu_rpv_
TBranch * b_fjets_m_
std::vector< float > * p_mus_d0_
TBranch * b_fjets08_nconst_
std::vector< float > fjets_sumcsv_
std::vector< float > jets_m_
virtual std::vector< float > const & fjets08_poscsv() const
std::vector< int > fjets_nconst_
std::vector< float > * p_mus_dz_
std::vector< float > els_sceta_
std::vector< float > * p_els_dz_
std::vector< int > fjets08_btags_
std::vector< int > fjets_btags_
std::vector< float > els_dz_
std::vector< float > sys_bctag_
std::vector< float > fjets08_eta_
std::vector< float > dr_bb_
std::vector< float > * p_sys_bctag_
virtual std::vector< float > const & fjets_eta() const
virtual int const & nfjets08() const
TBranch * b_els_sceta_
virtual float const & mj() const
std::vector< bool > * p_trig_
virtual std::vector< bool > const & jets_islep() const
virtual std::vector< float > const & fjets08_eta() const
std::vector< float > fjets_phi_
TBranch * b_fjets_sumcsv_
TBranch * b_fjets_eta_
virtual std::vector< float > const & sys_bctag() const
virtual std::vector< float > const & mus_dz() const
virtual std::vector< float > const & fjets_poscsv() const
TBranch * b_fjets08_phi_
std::vector< float > * p_fjets08_poscsv_
std::vector< float > fjets08_pt_
std::vector< float > * p_fjets08_sumcsv_
virtual std::vector< float > const & fjets_pt() const
std::vector< float > fjets_poscsv_
TBranch * b_fjets08_pt_
virtual bool const & pass() const
TBranch * b_eff_trig_
virtual std::vector< float > const & fjets08_pt() const
std::vector< float > * p_dr_bb_
TBranch * b_fjets08_sumcsv_
std::vector< float > * p_fjets08_phi_
virtual std::vector< int > const & jets_fjet_index() const
std::vector< int > * p_fjets08_nconst_
virtual void GetEntry(const long entry)
std::vector< float > fjets08_sumcsv_
std::vector< bool > trig_
std::vector< bool > jets_islep_
std::vector< float > * p_fjets_phi_
TBranch * b_jets_fjet_index_
virtual void Fill()
std::vector< int > fjets08_nconst_
virtual std::vector< int > const & fjets08_nconst() const
TBranch * b_fjets_btags_
virtual std::vector< float > const & fjets08_phi() const
std::vector< int > * p_jets_fjet_index_
std::vector< float > * p_fjets_eta_
TBranch * b_jets_islep_
std::vector< float > mus_d0_
virtual float const & w_pu_rpv() const
std::vector< float > * p_jets_m_
virtual std::vector< float > const & fjets_phi() const
virtual float const & mj08() const
virtual std::vector< int > const & jets_fjet08_index() const
virtual std::vector< float > const & fjets08_m() const
std::vector< float > * p_fjets08_eta_
virtual float const & eff_trig() const
virtual int const & ntrutausl() const
virtual int const & ntruleps() const
virtual std::string Type() const