15 #include "TTreeFormula.h" 25 gROOT->ProcessLine(
"#include <vector>");
33 chain_(
"junk",
"junk"),
34 tree_(
"tree",
"tree"),
38 b_hfjet_(tree_.Branch(
"hfjet", &hfjet_)),
41 b_json_golden_(tree_.Branch(
"json_golden", &json_golden_)),
42 c_json_golden_(false),
44 b_pass_(tree_.Branch(
"pass", &pass_)),
47 b_pass_cschalo_(tree_.Branch(
"pass_cschalo", &pass_cschalo_)),
48 c_pass_cschalo_(false),
50 b_pass_eebadsc_(tree_.Branch(
"pass_eebadsc", &pass_eebadsc_)),
51 c_pass_eebadsc_(false),
53 b_pass_goodv_(tree_.Branch(
"pass_goodv", &pass_goodv_)),
56 b_pass_hbhe_(tree_.Branch(
"pass_hbhe", &pass_hbhe_)),
59 b_pass_jets_(tree_.Branch(
"pass_jets", &pass_jets_)),
62 b_gen_met_(tree_.Branch(
"gen_met", &gen_met_)),
65 b_gen_met_fromw_(tree_.Branch(
"gen_met_fromw", &gen_met_fromw_)),
66 c_gen_met_fromw_(false),
68 b_gen_met_phi_(tree_.Branch(
"gen_met_phi", &gen_met_phi_)),
69 c_gen_met_phi_(false),
70 gen_met_phi_fromw_(0),
71 b_gen_met_phi_fromw_(tree_.Branch(
"gen_met_phi_fromw", &gen_met_phi_fromw_)),
72 c_gen_met_phi_fromw_(false),
74 b_dphi_wlep_(tree_.Branch(
"dphi_wlep", &dphi_wlep_)),
77 b_dphi_wlep_reliso_(tree_.Branch(
"dphi_wlep_reliso", &dphi_wlep_reliso_)),
78 c_dphi_wlep_reliso_(false),
80 b_elel_m_(tree_.Branch(
"elel_m", &elel_m_)),
83 b_elel_pt1_(tree_.Branch(
"elel_pt1", &elel_pt1_)),
86 b_elel_pt2_(tree_.Branch(
"elel_pt2", &elel_pt2_)),
89 b_elel_zpt_(tree_.Branch(
"elel_zpt", &elel_zpt_)),
92 b_elelv_m_(tree_.Branch(
"elelv_m", &elelv_m_)),
95 b_elelv_pt1_(tree_.Branch(
"elelv_pt1", &elelv_pt1_)),
98 b_elelv_pt2_(tree_.Branch(
"elelv_pt2", &elelv_pt2_)),
101 b_elelv_zpt_(tree_.Branch(
"elelv_zpt", &elelv_zpt_)),
104 b_genht_(tree_.Branch(
"genht", &genht_)),
107 b_ht_(tree_.Branch(
"ht", &ht_)),
110 b_ht40_(tree_.Branch(
"ht40", &ht40_)),
113 b_ht_hf_(tree_.Branch(
"ht_hf", &ht_hf_)),
116 b_ht_hlt_(tree_.Branch(
"ht_hlt", &ht_hlt_)),
119 b_ht_nohf_(tree_.Branch(
"ht_nohf", &ht_nohf_)),
122 b_ht_ra2b_(tree_.Branch(
"ht_ra2b", &ht_ra2b_)),
125 b_ht_reliso_(tree_.Branch(
"ht_reliso", &ht_reliso_)),
128 b_lep_eta_(tree_.Branch(
"lep_eta", &lep_eta_)),
131 b_lep_eta_reliso_(tree_.Branch(
"lep_eta_reliso", &lep_eta_reliso_)),
132 c_lep_eta_reliso_(false),
134 b_lep_phi_(tree_.Branch(
"lep_phi", &lep_phi_)),
137 b_lep_phi_reliso_(tree_.Branch(
"lep_phi_reliso", &lep_phi_reliso_)),
138 c_lep_phi_reliso_(false),
140 b_lep_pt_(tree_.Branch(
"lep_pt", &lep_pt_)),
143 b_lep_pt_reliso_(tree_.Branch(
"lep_pt_reliso", &lep_pt_reliso_)),
144 c_lep_pt_reliso_(false),
146 b_met_(tree_.Branch(
"met", &met_)),
149 b_met_hf_(tree_.Branch(
"met_hf", &met_hf_)),
152 b_met_hf_phi_(tree_.Branch(
"met_hf_phi", &met_hf_phi_)),
153 c_met_hf_phi_(false),
155 b_met_mini_(tree_.Branch(
"met_mini", &met_mini_)),
158 b_met_mini_phi_(tree_.Branch(
"met_mini_phi", &met_mini_phi_)),
159 c_met_mini_phi_(false),
161 b_met_nohf_(tree_.Branch(
"met_nohf", &met_nohf_)),
164 b_met_nohf_phi_(tree_.Branch(
"met_nohf_phi", &met_nohf_phi_)),
165 c_met_nohf_phi_(false),
167 b_met_nohf_sumEt_(tree_.Branch(
"met_nohf_sumEt", &met_nohf_sumEt_)),
168 c_met_nohf_sumEt_(false),
170 b_met_phi_(tree_.Branch(
"met_phi", &met_phi_)),
173 b_mht_(tree_.Branch(
"mht", &mht_)),
176 b_mht_ra2b_(tree_.Branch(
"mht_ra2b", &mht_ra2b_)),
179 b_mindphin_metjet_(tree_.Branch(
"mindphin_metjet", &mindphin_metjet_)),
180 c_mindphin_metjet_(false),
182 b_mj_(tree_.Branch(
"mj", &mj_)),
185 b_mj08_(tree_.Branch(
"mj08", &mj08_)),
188 b_mt_(tree_.Branch(
"mt", &mt_)),
191 b_mt_reliso_(tree_.Branch(
"mt_reliso", &mt_reliso_)),
194 b_mumu_m_(tree_.Branch(
"mumu_m", &mumu_m_)),
197 b_mumu_pt1_(tree_.Branch(
"mumu_pt1", &mumu_pt1_)),
200 b_mumu_pt2_(tree_.Branch(
"mumu_pt2", &mumu_pt2_)),
203 b_mumu_zpt_(tree_.Branch(
"mumu_zpt", &mumu_zpt_)),
206 b_mumuv_m_(tree_.Branch(
"mumuv_m", &mumuv_m_)),
209 b_mumuv_pt1_(tree_.Branch(
"mumuv_pt1", &mumuv_pt1_)),
212 b_mumuv_pt2_(tree_.Branch(
"mumuv_pt2", &mumuv_pt2_)),
215 b_mumuv_zpt_(tree_.Branch(
"mumuv_zpt", &mumuv_zpt_)),
218 b_ntrupv_mean_(tree_.Branch(
"ntrupv_mean", &ntrupv_mean_)),
219 c_ntrupv_mean_(false),
221 b_onht_(tree_.Branch(
"onht", &onht_)),
224 b_onmaxel_(tree_.Branch(
"onmaxel", &onmaxel_)),
227 b_onmaxmu_(tree_.Branch(
"onmaxmu", &onmaxmu_)),
230 b_onmet_(tree_.Branch(
"onmet", &onmet_)),
233 b_st_(tree_.Branch(
"st", &st_)),
236 b_st_reliso_(tree_.Branch(
"st_reliso", &st_reliso_)),
239 b_trutop1_phi_(tree_.Branch(
"trutop1_phi", &trutop1_phi_)),
240 c_trutop1_phi_(false),
242 b_trutop1_pt_(tree_.Branch(
"trutop1_pt", &trutop1_pt_)),
243 c_trutop1_pt_(false),
245 b_trutop2_phi_(tree_.Branch(
"trutop2_phi", &trutop2_phi_)),
246 c_trutop2_phi_(false),
248 b_trutop2_pt_(tree_.Branch(
"trutop2_pt", &trutop2_pt_)),
249 c_trutop2_pt_(false),
251 b_weight_(tree_.Branch(
"weight", &weight_)),
254 b_wpu_(tree_.Branch(
"wpu", &wpu_)),
257 b_event_(tree_.Branch(
"event", &event_)),
260 b_lep_charge_(tree_.Branch(
"lep_charge", &lep_charge_)),
261 c_lep_charge_(false),
262 lep_charge_reliso_(0),
263 b_lep_charge_reliso_(tree_.Branch(
"lep_charge_reliso", &lep_charge_reliso_)),
264 c_lep_charge_reliso_(false),
266 b_lumiblock_(tree_.Branch(
"lumiblock", &lumiblock_)),
269 b_nbl_(tree_.Branch(
"nbl", &nbl_)),
272 b_nbl40_(tree_.Branch(
"nbl40", &nbl40_)),
275 b_nbm_(tree_.Branch(
"nbm", &nbm_)),
278 b_nbm40_(tree_.Branch(
"nbm40", &nbm40_)),
281 b_nbm_ra2b_(tree_.Branch(
"nbm_ra2b", &nbm_ra2b_)),
284 b_nbt_(tree_.Branch(
"nbt", &nbt_)),
287 b_nbt40_(tree_.Branch(
"nbt40", &nbt40_)),
290 b_nels_(tree_.Branch(
"nels", &nels_)),
293 b_nels_reliso_(tree_.Branch(
"nels_reliso", &nels_reliso_)),
294 c_nels_reliso_(false),
296 b_nels_tru_prompt_(tree_.Branch(
"nels_tru_prompt", &nels_tru_prompt_)),
297 c_nels_tru_prompt_(false),
299 b_nfjets_(tree_.Branch(
"nfjets", &nfjets_)),
302 b_nfjets08_(tree_.Branch(
"nfjets08", &nfjets08_)),
305 b_njets_(tree_.Branch(
"njets", &njets_)),
308 b_njets40_(tree_.Branch(
"njets40", &njets40_)),
311 b_njets_hf_(tree_.Branch(
"njets_hf", &njets_hf_)),
314 b_njets_nohf_(tree_.Branch(
"njets_nohf", &njets_nohf_)),
315 c_njets_nohf_(false),
317 b_njets_ra2b_(tree_.Branch(
"njets_ra2b", &njets_ra2b_)),
318 c_njets_ra2b_(false),
320 b_nleps_(tree_.Branch(
"nleps", &nleps_)),
323 b_nleps_reliso_(tree_.Branch(
"nleps_reliso", &nleps_reliso_)),
324 c_nleps_reliso_(false),
326 b_nmus_(tree_.Branch(
"nmus", &nmus_)),
329 b_nmus_reliso_(tree_.Branch(
"nmus_reliso", &nmus_reliso_)),
330 c_nmus_reliso_(false),
332 b_nmus_tru_prompt_(tree_.Branch(
"nmus_tru_prompt", &nmus_tru_prompt_)),
333 c_nmus_tru_prompt_(false),
335 b_npv_(tree_.Branch(
"npv", &npv_)),
338 b_ntruels_(tree_.Branch(
"ntruels", &ntruels_)),
341 b_ntruleps_(tree_.Branch(
"ntruleps", &ntruleps_)),
344 b_ntrumeisr_(tree_.Branch(
"ntrumeisr", &ntrumeisr_)),
347 b_ntrumus_(tree_.Branch(
"ntrumus", &ntrumus_)),
350 b_ntrunus_(tree_.Branch(
"ntrunus", &ntrunus_)),
353 b_ntrunus_fromw_(tree_.Branch(
"ntrunus_fromw", &ntrunus_fromw_)),
354 c_ntrunus_fromw_(false),
356 b_ntrupv_(tree_.Branch(
"ntrupv", &ntrupv_)),
359 b_ntrutaush_(tree_.Branch(
"ntrutaush", &ntrutaush_)),
362 b_ntrutausl_(tree_.Branch(
"ntrutausl", &ntrutausl_)),
365 b_nvels_(tree_.Branch(
"nvels", &nvels_)),
368 b_nvels_reliso_(tree_.Branch(
"nvels_reliso", &nvels_reliso_)),
369 c_nvels_reliso_(false),
371 b_nvleps_(tree_.Branch(
"nvleps", &nvleps_)),
374 b_nvmus_(tree_.Branch(
"nvmus", &nvmus_)),
377 b_nvmus_reliso_(tree_.Branch(
"nvmus_reliso", &nvmus_reliso_)),
378 c_nvmus_reliso_(false),
380 b_run_(tree_.Branch(
"run", &run_)),
383 p_els_ispf_(&els_ispf_),
384 b_els_ispf_(tree_.Branch(
"els_ispf", &p_els_ispf_)),
387 p_els_sigid_(&els_sigid_),
388 b_els_sigid_(tree_.Branch(
"els_sigid", &p_els_sigid_)),
391 p_els_tight_(&els_tight_),
392 b_els_tight_(tree_.Branch(
"els_tight", &p_els_tight_)),
395 p_els_tru_tm_(&els_tru_tm_),
396 b_els_tru_tm_(tree_.Branch(
"els_tru_tm", &p_els_tru_tm_)),
397 c_els_tru_tm_(false),
399 p_jets_islep_(&jets_islep_),
400 b_jets_islep_(tree_.Branch(
"jets_islep", &p_jets_islep_)),
401 c_jets_islep_(false),
403 p_mus_sigid_(&mus_sigid_),
404 b_mus_sigid_(tree_.Branch(
"mus_sigid", &p_mus_sigid_)),
407 p_mus_tight_(&mus_tight_),
408 b_mus_tight_(tree_.Branch(
"mus_tight", &p_mus_tight_)),
411 p_mus_tru_tm_(&mus_tru_tm_),
412 b_mus_tru_tm_(tree_.Branch(
"mus_tru_tm", &p_mus_tru_tm_)),
413 c_mus_tru_tm_(false),
416 b_trig_(tree_.Branch(
"trig", &p_trig_)),
419 p_els_genmt_(&els_genmt_),
420 b_els_genmt_(tree_.Branch(
"els_genmt", &p_els_genmt_)),
423 p_els_genmt_fromw_(&els_genmt_fromw_),
424 b_els_genmt_fromw_(tree_.Branch(
"els_genmt_fromw", &p_els_genmt_fromw_)),
425 c_els_genmt_fromw_(false),
427 p_els_tru_phi_(&els_tru_phi_),
428 b_els_tru_phi_(tree_.Branch(
"els_tru_phi", &p_els_tru_phi_)),
429 c_els_tru_phi_(false),
431 p_els_tru_pt_(&els_tru_pt_),
432 b_els_tru_pt_(tree_.Branch(
"els_tru_pt", &p_els_tru_pt_)),
433 c_els_tru_pt_(false),
435 p_mus_genmt_(&mus_genmt_),
436 b_mus_genmt_(tree_.Branch(
"mus_genmt", &p_mus_genmt_)),
439 p_mus_genmt_fromw_(&mus_genmt_fromw_),
440 b_mus_genmt_fromw_(tree_.Branch(
"mus_genmt_fromw", &p_mus_genmt_fromw_)),
441 c_mus_genmt_fromw_(false),
443 p_mus_tru_phi_(&mus_tru_phi_),
444 b_mus_tru_phi_(tree_.Branch(
"mus_tru_phi", &p_mus_tru_phi_)),
445 c_mus_tru_phi_(false),
447 p_mus_tru_pt_(&mus_tru_pt_),
448 b_mus_tru_pt_(tree_.Branch(
"mus_tru_pt", &p_mus_tru_pt_)),
449 c_mus_tru_pt_(false),
452 b_els_d0_(tree_.Branch(
"els_d0", &p_els_d0_)),
456 b_els_dz_(tree_.Branch(
"els_dz", &p_els_dz_)),
459 p_els_eta_(&els_eta_),
460 b_els_eta_(tree_.Branch(
"els_eta", &p_els_eta_)),
463 p_els_miniso_(&els_miniso_),
464 b_els_miniso_(tree_.Branch(
"els_miniso", &p_els_miniso_)),
465 c_els_miniso_(false),
468 b_els_mt_(tree_.Branch(
"els_mt", &p_els_mt_)),
471 p_els_phi_(&els_phi_),
472 b_els_phi_(tree_.Branch(
"els_phi", &p_els_phi_)),
476 b_els_pt_(tree_.Branch(
"els_pt", &p_els_pt_)),
479 p_els_reliso_(&els_reliso_),
480 b_els_reliso_(tree_.Branch(
"els_reliso", &p_els_reliso_)),
481 c_els_reliso_(false),
483 p_els_sceta_(&els_sceta_),
484 b_els_sceta_(tree_.Branch(
"els_sceta", &p_els_sceta_)),
487 p_els_tru_dr_(&els_tru_dr_),
488 b_els_tru_dr_(tree_.Branch(
"els_tru_dr", &p_els_tru_dr_)),
489 c_els_tru_dr_(false),
491 p_fjets08_eta_(&fjets08_eta_),
492 b_fjets08_eta_(tree_.Branch(
"fjets08_eta", &p_fjets08_eta_)),
493 c_fjets08_eta_(false),
495 p_fjets08_m_(&fjets08_m_),
496 b_fjets08_m_(tree_.Branch(
"fjets08_m", &p_fjets08_m_)),
499 p_fjets08_phi_(&fjets08_phi_),
500 b_fjets08_phi_(tree_.Branch(
"fjets08_phi", &p_fjets08_phi_)),
501 c_fjets08_phi_(false),
503 p_fjets08_poscsv_(&fjets08_poscsv_),
504 b_fjets08_poscsv_(tree_.Branch(
"fjets08_poscsv", &p_fjets08_poscsv_)),
505 c_fjets08_poscsv_(false),
507 p_fjets08_pt_(&fjets08_pt_),
508 b_fjets08_pt_(tree_.Branch(
"fjets08_pt", &p_fjets08_pt_)),
509 c_fjets08_pt_(false),
511 p_fjets08_sumcsv_(&fjets08_sumcsv_),
512 b_fjets08_sumcsv_(tree_.Branch(
"fjets08_sumcsv", &p_fjets08_sumcsv_)),
513 c_fjets08_sumcsv_(false),
515 p_fjets_eta_(&fjets_eta_),
516 b_fjets_eta_(tree_.Branch(
"fjets_eta", &p_fjets_eta_)),
519 p_fjets_m_(&fjets_m_),
520 b_fjets_m_(tree_.Branch(
"fjets_m", &p_fjets_m_)),
523 p_fjets_phi_(&fjets_phi_),
524 b_fjets_phi_(tree_.Branch(
"fjets_phi", &p_fjets_phi_)),
527 p_fjets_poscsv_(&fjets_poscsv_),
528 b_fjets_poscsv_(tree_.Branch(
"fjets_poscsv", &p_fjets_poscsv_)),
529 c_fjets_poscsv_(false),
531 p_fjets_pt_(&fjets_pt_),
532 b_fjets_pt_(tree_.Branch(
"fjets_pt", &p_fjets_pt_)),
535 p_fjets_sumcsv_(&fjets_sumcsv_),
536 b_fjets_sumcsv_(tree_.Branch(
"fjets_sumcsv", &p_fjets_sumcsv_)),
537 c_fjets_sumcsv_(false),
539 p_jets_csv_(&jets_csv_),
540 b_jets_csv_(tree_.Branch(
"jets_csv", &p_jets_csv_)),
543 p_jets_eta_(&jets_eta_),
544 b_jets_eta_(tree_.Branch(
"jets_eta", &p_jets_eta_)),
547 p_jets_id_(&jets_id_),
548 b_jets_id_(tree_.Branch(
"jets_id", &p_jets_id_)),
552 b_jets_m_(tree_.Branch(
"jets_m", &p_jets_m_)),
555 p_jets_phi_(&jets_phi_),
556 b_jets_phi_(tree_.Branch(
"jets_phi", &p_jets_phi_)),
559 p_jets_pt_(&jets_pt_),
560 b_jets_pt_(tree_.Branch(
"jets_pt", &p_jets_pt_)),
564 b_mus_d0_(tree_.Branch(
"mus_d0", &p_mus_d0_)),
568 b_mus_dz_(tree_.Branch(
"mus_dz", &p_mus_dz_)),
571 p_mus_eta_(&mus_eta_),
572 b_mus_eta_(tree_.Branch(
"mus_eta", &p_mus_eta_)),
575 p_mus_miniso_(&mus_miniso_),
576 b_mus_miniso_(tree_.Branch(
"mus_miniso", &p_mus_miniso_)),
577 c_mus_miniso_(false),
580 b_mus_mt_(tree_.Branch(
"mus_mt", &p_mus_mt_)),
583 p_mus_phi_(&mus_phi_),
584 b_mus_phi_(tree_.Branch(
"mus_phi", &p_mus_phi_)),
588 b_mus_pt_(tree_.Branch(
"mus_pt", &p_mus_pt_)),
591 p_mus_reliso_(&mus_reliso_),
592 b_mus_reliso_(tree_.Branch(
"mus_reliso", &p_mus_reliso_)),
593 c_mus_reliso_(false),
595 p_mus_tru_dr_(&mus_tru_dr_),
596 b_mus_tru_dr_(tree_.Branch(
"mus_tru_dr", &p_mus_tru_dr_)),
597 c_mus_tru_dr_(false),
599 p_trig_prescale_(&trig_prescale_),
600 b_trig_prescale_(tree_.Branch(
"trig_prescale", &p_trig_prescale_)),
601 c_trig_prescale_(false),
603 p_els_charge_(&els_charge_),
604 b_els_charge_(tree_.Branch(
"els_charge", &p_els_charge_)),
605 c_els_charge_(false),
607 p_els_tru_id_(&els_tru_id_),
608 b_els_tru_id_(tree_.Branch(
"els_tru_id", &p_els_tru_id_)),
609 c_els_tru_id_(false),
611 p_els_tru_momid_(&els_tru_momid_),
612 b_els_tru_momid_(tree_.Branch(
"els_tru_momid", &p_els_tru_momid_)),
613 c_els_tru_momid_(false),
615 p_fjets08_btags_(&fjets08_btags_),
616 b_fjets08_btags_(tree_.Branch(
"fjets08_btags", &p_fjets08_btags_)),
617 c_fjets08_btags_(false),
619 p_fjets08_nconst_(&fjets08_nconst_),
620 b_fjets08_nconst_(tree_.Branch(
"fjets08_nconst", &p_fjets08_nconst_)),
621 c_fjets08_nconst_(false),
623 p_fjets_btags_(&fjets_btags_),
624 b_fjets_btags_(tree_.Branch(
"fjets_btags", &p_fjets_btags_)),
625 c_fjets_btags_(false),
627 p_fjets_nconst_(&fjets_nconst_),
628 b_fjets_nconst_(tree_.Branch(
"fjets_nconst", &p_fjets_nconst_)),
629 c_fjets_nconst_(false),
630 jets_fjet08_index_(0),
631 p_jets_fjet08_index_(&jets_fjet08_index_),
632 b_jets_fjet08_index_(tree_.Branch(
"jets_fjet08_index", &p_jets_fjet08_index_)),
633 c_jets_fjet08_index_(false),
635 p_jets_fjet_index_(&jets_fjet_index_),
636 b_jets_fjet_index_(tree_.Branch(
"jets_fjet_index", &p_jets_fjet_index_)),
637 c_jets_fjet_index_(false),
639 p_mus_charge_(&mus_charge_),
640 b_mus_charge_(tree_.Branch(
"mus_charge", &p_mus_charge_)),
641 c_mus_charge_(false),
643 p_mus_tru_id_(&mus_tru_id_),
644 b_mus_tru_id_(tree_.Branch(
"mus_tru_id", &p_mus_tru_id_)),
645 c_mus_tru_id_(false),
647 b_mus_tru_momid_(tree_.Branch(
"mus_tru_momid", &mus_tru_momid_)),
648 c_mus_tru_momid_(false){
653 tree_(
"junk",
"junk"),
1269 chain_.Add(filename.c_str());
1456 throw std::logic_error(
"Trying to write to read-only tree");
1648 throw std::logic_error(
"Trying to write to read-only tree.");
1663 throw std::logic_error(
"Trying to add files to tree opened for writing.");
1665 return chain_.Add(filename.c_str());
1669 TTreeFormula f(
"formula",cut, &
chain_);
1670 bool result = f.EvalInstance(0);
1676 return chain_.GetEntries();
1678 return tree_.GetEntries();
1684 throw std::logic_error(
"Trying to read from write-only tree.");
1874 throw std::logic_error(
"Trying to write to const tree.");
1885 throw std::logic_error(
"Trying to write to const tree.");
1896 throw std::logic_error(
"Trying to write to const tree.");
1907 throw std::logic_error(
"Trying to write to const tree.");
1918 throw std::logic_error(
"Trying to write to const tree.");
1929 throw std::logic_error(
"Trying to write to const tree.");
1940 throw std::logic_error(
"Trying to write to const tree.");
1951 throw std::logic_error(
"Trying to write to const tree.");
1962 throw std::logic_error(
"Trying to write to const tree.");
1973 throw std::logic_error(
"Trying to write to const tree.");
1984 throw std::logic_error(
"Trying to write to const tree.");
1995 throw std::logic_error(
"Trying to write to const tree.");
2006 throw std::logic_error(
"Trying to write to const tree.");
2017 throw std::logic_error(
"Trying to write to const tree.");
2028 throw std::logic_error(
"Trying to write to const tree.");
2039 throw std::logic_error(
"Trying to write to const tree.");
2050 throw std::logic_error(
"Trying to write to const tree.");
2061 throw std::logic_error(
"Trying to write to const tree.");
2072 throw std::logic_error(
"Trying to write to const tree.");
2083 throw std::logic_error(
"Trying to write to const tree.");
2094 throw std::logic_error(
"Trying to write to const tree.");
2105 throw std::logic_error(
"Trying to write to const tree.");
2116 throw std::logic_error(
"Trying to write to const tree.");
2127 throw std::logic_error(
"Trying to write to const tree.");
2138 throw std::logic_error(
"Trying to write to const tree.");
2149 throw std::logic_error(
"Trying to write to const tree.");
2160 throw std::logic_error(
"Trying to write to const tree.");
2171 throw std::logic_error(
"Trying to write to const tree.");
2182 throw std::logic_error(
"Trying to write to const tree.");
2193 throw std::logic_error(
"Trying to write to const tree.");
2204 throw std::logic_error(
"Trying to write to const tree.");
2215 throw std::logic_error(
"Trying to write to const tree.");
2226 throw std::logic_error(
"Trying to write to const tree.");
2237 throw std::logic_error(
"Trying to write to const tree.");
2248 throw std::logic_error(
"Trying to write to const tree.");
2259 throw std::logic_error(
"Trying to write to const tree.");
2270 throw std::logic_error(
"Trying to write to const tree.");
2281 throw std::logic_error(
"Trying to write to const tree.");
2292 throw std::logic_error(
"Trying to write to const tree.");
2303 throw std::logic_error(
"Trying to write to const tree.");
2314 throw std::logic_error(
"Trying to write to const tree.");
2325 throw std::logic_error(
"Trying to write to const tree.");
2336 throw std::logic_error(
"Trying to write to const tree.");
2347 throw std::logic_error(
"Trying to write to const tree.");
2358 throw std::logic_error(
"Trying to write to const tree.");
2369 throw std::logic_error(
"Trying to write to const tree.");
2380 throw std::logic_error(
"Trying to write to const tree.");
2391 throw std::logic_error(
"Trying to write to const tree.");
2402 throw std::logic_error(
"Trying to write to const tree.");
2413 throw std::logic_error(
"Trying to write to const tree.");
2424 throw std::logic_error(
"Trying to write to const tree.");
2435 throw std::logic_error(
"Trying to write to const tree.");
2446 throw std::logic_error(
"Trying to write to const tree.");
2457 throw std::logic_error(
"Trying to write to const tree.");
2468 throw std::logic_error(
"Trying to write to const tree.");
2479 throw std::logic_error(
"Trying to write to const tree.");
2490 throw std::logic_error(
"Trying to write to const tree.");
2501 throw std::logic_error(
"Trying to write to const tree.");
2512 throw std::logic_error(
"Trying to write to const tree.");
2523 throw std::logic_error(
"Trying to write to const tree.");
2534 throw std::logic_error(
"Trying to write to const tree.");
2545 throw std::logic_error(
"Trying to write to const tree.");
2556 throw std::logic_error(
"Trying to write to const tree.");
2567 throw std::logic_error(
"Trying to write to const tree.");
2578 throw std::logic_error(
"Trying to write to const tree.");
2589 throw std::logic_error(
"Trying to write to const tree.");
2600 throw std::logic_error(
"Trying to write to const tree.");
2611 throw std::logic_error(
"Trying to write to const tree.");
2622 throw std::logic_error(
"Trying to write to const tree.");
2633 throw std::logic_error(
"Trying to write to const tree.");
2644 throw std::logic_error(
"Trying to write to const tree.");
2655 throw std::logic_error(
"Trying to write to const tree.");
2666 throw std::logic_error(
"Trying to write to const tree.");
2677 throw std::logic_error(
"Trying to write to const tree.");
2688 throw std::logic_error(
"Trying to write to const tree.");
2699 throw std::logic_error(
"Trying to write to const tree.");
2710 throw std::logic_error(
"Trying to write to const tree.");
2721 throw std::logic_error(
"Trying to write to const tree.");
2732 throw std::logic_error(
"Trying to write to const tree.");
2743 throw std::logic_error(
"Trying to write to const tree.");
2754 throw std::logic_error(
"Trying to write to const tree.");
2765 throw std::logic_error(
"Trying to write to const tree.");
2776 throw std::logic_error(
"Trying to write to const tree.");
2787 throw std::logic_error(
"Trying to write to const tree.");
2798 throw std::logic_error(
"Trying to write to const tree.");
2809 throw std::logic_error(
"Trying to write to const tree.");
2820 throw std::logic_error(
"Trying to write to const tree.");
2831 throw std::logic_error(
"Trying to write to const tree.");
2842 throw std::logic_error(
"Trying to write to const tree.");
2853 throw std::logic_error(
"Trying to write to const tree.");
2864 throw std::logic_error(
"Trying to write to const tree.");
2875 throw std::logic_error(
"Trying to write to const tree.");
2886 throw std::logic_error(
"Trying to write to const tree.");
2897 throw std::logic_error(
"Trying to write to const tree.");
2908 throw std::logic_error(
"Trying to write to const tree.");
2919 throw std::logic_error(
"Trying to write to const tree.");
2930 throw std::logic_error(
"Trying to write to const tree.");
2941 throw std::logic_error(
"Trying to write to const tree.");
2952 throw std::logic_error(
"Trying to write to const tree.");
2963 throw std::logic_error(
"Trying to write to const tree.");
2974 throw std::logic_error(
"Trying to write to const tree.");
2985 throw std::logic_error(
"Trying to write to const tree.");
2996 throw std::logic_error(
"Trying to write to const tree.");
3007 throw std::logic_error(
"Trying to write to const tree.");
3018 throw std::logic_error(
"Trying to write to const tree.");
3029 throw std::logic_error(
"Trying to write to const tree.");
3040 throw std::logic_error(
"Trying to write to const tree.");
3051 throw std::logic_error(
"Trying to write to const tree.");
3062 throw std::logic_error(
"Trying to write to const tree.");
3073 throw std::logic_error(
"Trying to write to const tree.");
3084 throw std::logic_error(
"Trying to write to const tree.");
3095 throw std::logic_error(
"Trying to write to const tree.");
3106 throw std::logic_error(
"Trying to write to const tree.");
3117 throw std::logic_error(
"Trying to write to const tree.");
3128 throw std::logic_error(
"Trying to write to const tree.");
3139 throw std::logic_error(
"Trying to write to const tree.");
3150 throw std::logic_error(
"Trying to write to const tree.");
3161 throw std::logic_error(
"Trying to write to const tree.");
3172 throw std::logic_error(
"Trying to write to const tree.");
3183 throw std::logic_error(
"Trying to write to const tree.");
3194 throw std::logic_error(
"Trying to write to const tree.");
3205 throw std::logic_error(
"Trying to write to const tree.");
3216 throw std::logic_error(
"Trying to write to const tree.");
3227 throw std::logic_error(
"Trying to write to const tree.");
3238 throw std::logic_error(
"Trying to write to const tree.");
3249 throw std::logic_error(
"Trying to write to const tree.");
3260 throw std::logic_error(
"Trying to write to const tree.");
3271 throw std::logic_error(
"Trying to write to const tree.");
3282 throw std::logic_error(
"Trying to write to const tree.");
3293 throw std::logic_error(
"Trying to write to const tree.");
3304 throw std::logic_error(
"Trying to write to const tree.");
3315 throw std::logic_error(
"Trying to write to const tree.");
3326 throw std::logic_error(
"Trying to write to const tree.");
3337 throw std::logic_error(
"Trying to write to const tree.");
3348 throw std::logic_error(
"Trying to write to const tree.");
3359 throw std::logic_error(
"Trying to write to const tree.");
3370 throw std::logic_error(
"Trying to write to const tree.");
3381 throw std::logic_error(
"Trying to write to const tree.");
3392 throw std::logic_error(
"Trying to write to const tree.");
3403 throw std::logic_error(
"Trying to write to const tree.");
3414 throw std::logic_error(
"Trying to write to const tree.");
3425 throw std::logic_error(
"Trying to write to const tree.");
3436 throw std::logic_error(
"Trying to write to const tree.");
3447 throw std::logic_error(
"Trying to write to const tree.");
3458 throw std::logic_error(
"Trying to write to const tree.");
3469 throw std::logic_error(
"Trying to write to const tree.");
3480 throw std::logic_error(
"Trying to write to const tree.");
3491 throw std::logic_error(
"Trying to write to const tree.");
3502 throw std::logic_error(
"Trying to write to const tree.");
3513 throw std::logic_error(
"Trying to write to const tree.");
3524 throw std::logic_error(
"Trying to write to const tree.");
3535 throw std::logic_error(
"Trying to write to const tree.");
3546 throw std::logic_error(
"Trying to write to const tree.");
3557 throw std::logic_error(
"Trying to write to const tree.");
3568 throw std::logic_error(
"Trying to write to const tree.");
3579 throw std::logic_error(
"Trying to write to const tree.");
3590 throw std::logic_error(
"Trying to write to const tree.");
3601 throw std::logic_error(
"Trying to write to const tree.");
3612 throw std::logic_error(
"Trying to write to const tree.");
3623 throw std::logic_error(
"Trying to write to const tree.");
3634 throw std::logic_error(
"Trying to write to const tree.");
3645 throw std::logic_error(
"Trying to write to const tree.");
3656 throw std::logic_error(
"Trying to write to const tree.");
3667 throw std::logic_error(
"Trying to write to const tree.");
3678 throw std::logic_error(
"Trying to write to const tree.");
3689 throw std::logic_error(
"Trying to write to const tree.");
3700 throw std::logic_error(
"Trying to write to const tree.");
3711 throw std::logic_error(
"Trying to write to const tree.");
3722 throw std::logic_error(
"Trying to write to const tree.");
3733 throw std::logic_error(
"Trying to write to const tree.");
3744 throw std::logic_error(
"Trying to write to const tree.");
3755 throw std::logic_error(
"Trying to write to const tree.");
3766 throw std::logic_error(
"Trying to write to const tree.");
3777 throw std::logic_error(
"Trying to write to const tree.");
3788 throw std::logic_error(
"Trying to write to const tree.");
3799 throw std::logic_error(
"Trying to write to const tree.");
3810 throw std::logic_error(
"Trying to write to const tree.");
3821 throw std::logic_error(
"Trying to write to const tree.");
3832 throw std::logic_error(
"Trying to write to const tree.");
3843 throw std::logic_error(
"Trying to write to const tree.");
3854 throw std::logic_error(
"Trying to write to const tree.");
3865 throw std::logic_error(
"Trying to write to const tree.");
int const & nfjets() const
std::vector< float > fjets_eta_
float const & ntrupv_mean() const
std::vector< float > fjets08_pt_
float const & st_reliso() const
std::vector< double > const & els_tru_pt() const
std::vector< float > const & jets_pt() const
float const & ht_nohf() const
int const & lep_charge() const
int const & nbm_ra2b() const
std::vector< float > const & mus_d0() const
std::vector< bool > const & els_ispf() const
std::vector< float > els_reliso_
std::vector< float > * p_jets_id_
float const & trutop2_pt() const
TBranch * b_mindphin_metjet_
int const & nbm40() const
std::vector< float > const & jets_id() const
bool c_gen_met_phi_fromw_
std::vector< double > const & mus_genmt_fromw() const
TBranch * b_lep_charge_reliso_
std::vector< float > const & fjets08_phi() const
std::vector< float > const & jets_m() const
float const & elelv_pt2() const
std::vector< float > mus_tru_dr_
std::vector< double > mus_genmt_fromw_
float const & genht() const
float const & met_mini_phi() const
std::vector< bool > * p_mus_sigid_
int const & nvleps() const
TBranch * b_fjets_nconst_
virtual std::string Type() const
int const & ntrutausl() const
std::vector< float > * p_els_tru_dr_
std::vector< bool > * p_trig_
TBranch * b_mus_genmt_fromw_
std::vector< float > * p_mus_phi_
int const & ntruleps() const
TBranch * b_met_nohf_phi_
std::vector< int > * p_mus_tru_momid_
std::vector< int > * p_els_charge_
std::vector< float > const & mus_dz() const
std::vector< float > * p_fjets08_sumcsv_
std::vector< float > els_dz_
std::vector< float > * p_mus_dz_
std::vector< float > const & els_tru_dr() const
std::vector< double > mus_tru_phi_
std::vector< bool > const & els_tight() const
std::vector< float > * p_els_dz_
std::vector< int > * p_els_tru_momid_
int const & nbl40() const
int const & ntrumus() const
std::vector< float > const & els_reliso() const
std::vector< bool > mus_sigid_
std::vector< float > * p_jets_csv_
bool const & pass_hbhe() const
TBranch * b_fjets08_btags_
std::vector< float > const & fjets08_poscsv() const
std::vector< float > els_mt_
double const & gen_met_phi_fromw() const
float const & lep_pt() const
float const & weight() const
std::vector< double > * p_els_genmt_fromw_
std::vector< float > * p_mus_reliso_
std::vector< float > * p_els_d0_
std::vector< int > fjets08_btags_
std::vector< double > * p_mus_genmt_fromw_
TBranch * b_fjets08_poscsv_
std::vector< bool > jets_islep_
std::vector< float > * p_mus_d0_
std::vector< int > const & fjets_nconst() const
float const & ht_hf() const
TBranch * b_dphi_wlep_reliso_
std::vector< float > * p_mus_pt_
std::vector< float > const & jets_csv() const
std::vector< float > * p_fjets08_eta_
TBranch * b_nvels_reliso_
std::vector< double > const & mus_tru_pt() const
float const & elel_m() const
std::vector< float > * p_mus_tru_dr_
int const & nfjets08() const
TBranch * b_jets_fjet08_index_
TBranch * b_met_nohf_sumEt_
std::vector< double > const & mus_genmt() const
std::vector< int > const & mus_tru_id() const
float const & trutop2_phi() const
std::vector< bool > * p_els_sigid_
std::vector< double > mus_genmt_
std::vector< float > mus_miniso_
TBranch * b_jets_fjet_index_
float const & mumu_zpt() const
std::vector< int > els_charge_
std::vector< int > const & fjets08_btags() const
std::vector< float > jets_pt_
float const & mumu_pt2() const
std::vector< double > els_tru_pt_
float const & lep_eta_reliso() const
TBranch * b_ntrunus_fromw_
bool const & json_golden() const
std::vector< int > mus_tru_id_
std::vector< bool > els_sigid_
int const & ntrutaush() const
std::vector< double > * p_mus_genmt_
std::vector< double > const & els_tru_phi() const
int const & nleps_reliso() const
std::vector< int > mus_charge_
std::vector< float > const & fjets08_eta() const
std::vector< int > mus_tru_momid_
int const & nmus_reliso() const
TBranch * b_lep_phi_reliso_
std::vector< float > const & els_eta() const
std::vector< bool > * p_mus_tight_
std::vector< int > const & jets_fjet_index() const
float const & elel_pt2() const
int const & lumiblock() const
std::vector< float > trig_prescale_
std::vector< float > const & mus_phi() const
TBranch * b_pass_eebadsc_
std::vector< float > jets_eta_
std::vector< double > * p_mus_tru_phi_
int const & nels_tru_prompt() const
float const & dphi_wlep() const
std::vector< float > const & jets_phi() const
std::vector< float > els_eta_
int const & ntrupv() const
std::vector< float > jets_m_
std::vector< float > els_d0_
std::vector< double > els_genmt_
std::vector< float > const & fjets08_sumcsv() const
std::vector< float > * p_fjets_m_
float const & mumu_pt1() const
std::vector< float > jets_id_
std::vector< float > * p_fjets08_pt_
std::vector< float > const & els_miniso() const
std::vector< float > const & fjets08_pt() const
std::vector< int > * p_fjets08_btags_
bool const & pass_eebadsc() const
int const & event() const
std::vector< bool > const & els_sigid() const
std::vector< int > const & fjets_btags() const
TBranch * b_nleps_reliso_
bool const & pass_jets() const
std::vector< float > jets_csv_
int const & nvels() const
std::vector< bool > const & trig() const
std::vector< int > fjets_btags_
int const & ntruels() const
std::vector< float > const & fjets_m() const
bool const & pass_goodv() const
std::vector< float > const & els_dz() const
std::vector< bool > mus_tight_
std::vector< float > mus_d0_
std::vector< float > const & mus_eta() const
float const & mumuv_zpt() const
std::vector< bool > * p_els_tight_
int const & nmus_tru_prompt() const
float const & elelv_pt1() const
TBranch * b_met_mini_phi_
float const & met_phi() const
TBranch * b_gen_met_fromw_
int const & nvels_reliso() const
std::vector< float > mus_mt_
std::vector< float > * p_fjets_phi_
bool c_jets_fjet08_index_
std::vector< float > const & mus_tru_dr() const
std::vector< bool > * p_mus_tru_tm_
float const & met() const
std::vector< int > * p_mus_tru_id_
std::vector< int > jets_fjet_index_
std::vector< float > * p_els_sceta_
int const & lep_charge_reliso() const
std::vector< float > * p_mus_mt_
float const & lep_pt_reliso() const
std::vector< float > * p_trig_prescale_
std::vector< int > * p_els_tru_id_
std::vector< bool > const & mus_tru_tm() const
std::vector< float > mus_dz_
float const & mht_ra2b() const
int const & njets_nohf() const
std::vector< float > fjets08_eta_
std::vector< float > els_tru_dr_
std::vector< int > els_tru_momid_
std::vector< float > * p_jets_eta_
TBranch * b_fjets_poscsv_
std::vector< float > * p_els_miniso_
float const & ht_reliso() const
int const & nleps() const
std::vector< float > fjets_sumcsv_
std::vector< float > const & mus_mt() const
std::vector< float > const & fjets_eta() const
float const & trutop1_pt() const
std::vector< int > fjets08_nconst_
std::vector< float > * p_fjets_sumcsv_
std::vector< float > const & mus_pt() const
std::vector< float > * p_els_pt_
std::vector< int > const & mus_charge() const
std::vector< float > const & els_sceta() const
float const & ht_ra2b() const
std::vector< double > const & els_genmt() const
TBranch * b_els_tru_momid_
std::vector< int > jets_fjet08_index_
std::vector< bool > els_tru_tm_
std::vector< bool > * p_els_ispf_
std::vector< float > * p_fjets08_poscsv_
float const & met_nohf_sumEt() const
int const & njets_ra2b() const
std::vector< float > * p_els_mt_
TBranch * b_pass_cschalo_
std::vector< int > * p_fjets08_nconst_
int const & njets40() const
float const & lep_phi() const
TBranch * b_gen_met_phi_fromw_
std::vector< float > * p_fjets08_phi_
TBranch * b_nvmus_reliso_
std::vector< float > * p_mus_eta_
float const & mht() const
std::vector< float > const & fjets_sumcsv() const
std::vector< float > fjets_poscsv_
std::vector< float > els_sceta_
std::vector< double > * p_els_genmt_
std::vector< float > mus_eta_
std::vector< float > const & fjets08_m() const
int const & nbt40() const
float const & lep_eta() const
float const & lep_phi_reliso() const
float const & mumuv_m() const
std::vector< int > const & mus_tru_momid() const
std::vector< float > fjets08_m_
float const & elel_zpt() const
std::vector< float > const & mus_reliso() const
int const & ntrunus_fromw() const
std::vector< int > * p_fjets_nconst_
std::vector< float > const & fjets_poscsv() const
std::vector< float > els_miniso_
static const double bad_val_
float const & met_hf() const
std::vector< double > const & els_genmt_fromw() const
std::vector< bool > * p_jets_islep_
std::vector< float > els_phi_
std::vector< double > els_tru_phi_
std::vector< float > jets_phi_
std::vector< float > els_pt_
float const & elel_pt1() const
int const & nvmus_reliso() const
float const & onmaxel() const
bool const & pass_cschalo() const
int const & njets() const
TBranch * b_els_genmt_fromw_
std::vector< float > * p_fjets_eta_
float const & elelv_m() const
float const & onmaxmu() const
int const & njets_hf() const
std::vector< bool > const & mus_sigid() const
std::vector< double > mus_tru_pt_
std::vector< int > fjets_nconst_
float const & onht() const
std::vector< float > const & els_phi() const
std::vector< float > * p_jets_phi_
std::vector< float > fjets_pt_
bool const & pass() const
std::vector< double > * p_els_tru_phi_
float const & met_mini() const
std::vector< float > const & els_mt() const
float const & wpu() const
std::vector< double > els_genmt_fromw_
std::vector< int > const & fjets08_nconst() const
std::vector< float > * p_fjets_pt_
double gen_met_phi_fromw_
TBranch * b_nels_tru_prompt_
std::vector< int > * p_fjets_btags_
std::vector< float > const & els_d0() const
std::vector< float > * p_fjets_poscsv_
float const & mindphin_metjet() const
std::vector< int > * p_jets_fjet08_index_
std::vector< float > fjets_phi_
double const & gen_met_phi() const
std::vector< bool > mus_tru_tm_
TBranch * b_fjets_sumcsv_
std::vector< int > * p_jets_fjet_index_
std::vector< int > const & els_tru_momid() const
float const & mj08() const
float const & mumu_m() const
std::vector< float > * p_mus_miniso_
virtual void GetEntry(const long entry)
TBranch * b_mus_tru_momid_
bool c_lep_charge_reliso_
std::vector< float > const & trig_prescale() const
TBranch * b_trig_prescale_
std::vector< float > fjets08_phi_
float const & met_nohf() const
float const & met_hf_phi() const
int const & nels_reliso() const
std::vector< double > * p_els_tru_pt_
std::vector< float > * p_jets_m_
std::vector< int > const & els_tru_id() const
std::vector< bool > trig_
float const & mumuv_pt2() const
float const & mumuv_pt1() const
std::vector< float > * p_els_eta_
double const & gen_met_fromw() const
std::vector< float > fjets08_sumcsv_
std::vector< float > * p_jets_pt_
std::vector< float > * p_els_reliso_
std::vector< float > * p_fjets08_m_
int const & ntrumeisr() const
int const & ntrunus() const
std::vector< float > const & jets_eta() const
std::vector< float > const & mus_miniso() const
float const & met_nohf_phi() const
TBranch * b_lep_pt_reliso_
std::vector< double > * p_mus_tru_pt_
std::vector< bool > els_tight_
std::vector< int > els_tru_id_
std::vector< double > const & mus_tru_phi() const
int Add(const std::string &filename)
small_tree * NewTree(const std::type_info &type)
TBranch * b_fjets08_nconst_
float const & trutop1_phi() const
std::vector< float > fjets08_poscsv_
std::vector< float > mus_pt_
std::vector< bool > els_ispf_
std::vector< float > mus_phi_
std::vector< float > const & fjets_phi() const
std::vector< float > const & els_pt() const
std::vector< int > * p_mus_charge_
std::vector< int > const & jets_fjet08_index() const
std::vector< float > fjets_m_
std::vector< bool > const & els_tru_tm() const
TBranch * b_lep_eta_reliso_
std::vector< int > const & els_charge() const
std::vector< float > * p_els_phi_
float const & elelv_zpt() const
float const & ht_hlt() const
std::vector< float > mus_reliso_
float const & mt_reliso() const
float const & dphi_wlep_reliso() const
bool PassString(TString cut)
float const & ht40() const
bool const & hfjet() const
double const & gen_met() const
std::vector< bool > const & mus_tight() const
std::vector< float > const & fjets_pt() const
int const & nvmus() const
float const & onmet() const
std::vector< bool > * p_els_tru_tm_
std::vector< bool > const & jets_islep() const
TBranch * b_fjets08_sumcsv_
TBranch * b_nmus_tru_prompt_