ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/LJMet/MultivariateAnalysis/interface/TtLJetsAnalyzer.h
Revision: 1.21
Committed: Tue Mar 30 01:32:31 2010 UTC (15 years, 1 month ago) by msegala
Content type: text/plain
Branch: MAIN
Changes since 1.20: +25 -4 lines
Log Message:
msegala32910

File Contents

# User Rev Content
1 kukartse 1.1 // -*- C++ -*-
2     //
3     // Package: TtLJetsAnalyzer
4     // Class: TtLJetsAnalyzer
5     //
6     /**\class TtLJetsAnalyzer TtLJetsAnalyzer.cc RecoBTag/TtLJetsAnalyzer/src/TtLJetsAnalyzer.cc
7    
8     Description: Likelihood variables for ttbar events
9    
10     Implementation:
11     Ttbar cross section without b tagging. Likelihood quantities.
12     */
13     //
14     // Original Author: Gena Kukartsev, kukarzev@fnal.gov
15     // Created: Fri Jun 20 06:19:59 CDT 2008
16 msegala 1.21 // $Id: TtLJetsAnalyzer.h,v 1.20 2010/01/15 23:34:23 msegala Exp $
17 kukartse 1.1 //
18     //
19    
20 kukartse 1.14 #include "DataFormats/BeamSpot/interface/BeamSpot.h"
21    
22 kukartse 1.8 #include "LJMet/MultivariateAnalysis/interface/RooGKCounter.h"
23    
24 kukartse 1.1 #include <memory>
25     #include <string>
26 kukartse 1.10 //#include "TFile.h"
27 kukartse 1.8 #include "TTree.h"
28     #include "Rtypes.h"
29 kukartse 1.1 #include "FWCore/Framework/interface/Frameworkfwd.h"
30     #include "FWCore/Framework/interface/EDAnalyzer.h"
31     #include "FWCore/Framework/interface/Event.h"
32     #include "FWCore/Framework/interface/MakerMacros.h"
33     #include "FWCore/ParameterSet/interface/ParameterSet.h"
34    
35 kukartse 1.13 #include "DataFormats/Math/interface/LorentzVector.h"
36     #include "DataFormats/Common/interface/View.h"
37     #include "DataFormats/PatCandidates/interface/Electron.h"
38     #include "DataFormats/TrackReco/interface/Track.h"
39 msegala 1.20 #include "TLorentzVector.h"
40 kukartse 1.10
41 kukartse 1.1 class TtLJetsAnalyzer : public edm::EDAnalyzer {
42     public:
43     explicit TtLJetsAnalyzer(const edm::ParameterSet&);
44     ~TtLJetsAnalyzer();
45    
46    
47     private:
48 kukartse 1.4
49     virtual void beginJob(const edm::EventSetup&);
50     virtual void analyze(const edm::Event&, const edm::EventSetup&);
51     virtual void endJob(void);
52    
53 kukartse 1.13 // returns pair<dist,dcot>
54     pair<float, float> getConversionInfo(const pat::Electron & el,
55     const reco::Track & track,
56     const reco::BeamSpot::Point _bs,
57     float bField);
58    
59     bool ConversionAlgo(const pat::Electron& e, edm::Handle<edm::View<reco::Track> > track_h);
60     double DelRTrackEle(const pat::Electron& e,const reco::Track& tk);
61    
62 kukartse 1.19 void debug(int); // debugging cout marker
63    
64 kukartse 1.12 bool first_event;
65    
66 kukartse 1.5 // _____ quantities read from the config file _________________________
67 kukartse 1.12 std::string _jetSource, _electronSource, _muonSource, _METSource,
68 kukartse 1.13 _beamSpotSource, _trigger_source, _track_source;
69 kukartse 1.15 std::string pdfWeightTag_;
70 kukartse 1.10 bool _lepton_flavor_is_muon;
71 kukartse 1.8 bool _is_mc;
72 kukartse 1.1 int nCaloJets_min;
73     int nLepton_min;
74 jindal 1.6 double jet_pt_min ;
75 kukartse 1.1 double jet_eta_max ;
76     double muon_pt_min ;
77     double muon_eta_max ;
78     double muon_trackIso_max ;
79     double muon_caloIso_max ;
80     double electron_pt_min ;
81     double electron_eta_max ;
82     double electron_trackIso_max ;
83     double electron_caloIso_max ;
84     double met_et_min ;
85 kukartse 1.7 double min_dr_jet_lepton ;
86 kukartse 1.13 double _bfield;
87     double _dist_min;
88     double _dist_max;
89     double _abs_dcot_max;
90     double _e_track_dr;
91 kukartse 1.1
92     RooGKCounter eventCounter;
93     RooGKCounter selectedEvents;
94    
95     TTree * _tree;
96    
97 kukartse 1.5 //
98     // _____ output tree variables ________________________________________
99 kukartse 1.12 //
100 kukartse 1.18 Int_t _event, ilumi, irun;
101 kukartse 1.1 Int_t _process_id;
102     Int_t _n_jets;
103 kukartse 1.7 Int_t _n_removed_jets;
104 kukartse 1.1 Int_t _n_met;
105     Int_t _n_muons;
106     Int_t _n_electrons;
107     Int_t _lepton_is_muon;
108 kukartse 1.12 //
109 kukartse 1.13 //_____ photon conversion _____________________________________________
110     //
111     vector<double> * _e_dist;
112     vector<double> * _e_dcot;
113     bool _is_conv;
114     //
115 kukartse 1.15 //_____ PDF weights ___________________________________________________
116     //
117 kukartse 1.16 vector<double> * _pdf_weights;
118 kukartse 1.15 Double_t _weight_pdf_pos;
119     Double_t _weight_pdf_neg;
120     //
121 kukartse 1.12 //_____ trigger _______________________________________________________
122     //
123     std::map<std::string,bool> _hlt;
124     //vector<TBranch> b_hlt;
125     //
126 kukartse 1.1 Double_t _event_weight;
127 kukartse 1.5 Double_t _lepton_et;
128 kukartse 1.1 Double_t _lepton_pt;
129     Double_t _lepton_eta;
130     Double_t _lepton_phi;
131 kukartse 1.11 Double_t _lepton_jet_min_dr;
132 kukartse 1.10 Double_t _lepton_ptrel; // relative to the nearest jet
133 kukartse 1.19 Double_t _muon_pat_d0; // relative to the beam spot
134     Int_t _muon_innertrack_nhits;
135     Double_t _muon_pat_nChi2;
136     Double_t _muon_innertrack_d0; // relative to the beam spot
137     Double_t _muon_innertrack_d0_err;
138     Double_t _muon_innertrack_d0_significance; // relative to the beam spot
139     Double_t _muon_globaltrack_d0; // relative to the beam spot
140     Double_t _muon_globaltrack_d0_err;
141     Double_t _muon_globaltrack_d0_significance; // relative to the beam spot
142     Double_t _muon_globaltrack_chi2 ;
143     Double_t _muon_globaltrack_ndof ;
144     Double_t _muon_globaltrack_nChi2 ;
145 kukartse 1.1 Double_t _lepton_energy;
146 kukartse 1.10 Double_t _lepton_track_iso;
147     Double_t _lepton_calo_iso;
148     Double_t _lepton_ecal_iso;
149     Double_t _lepton_hcal_iso;
150     Double_t _lepton_user_iso;
151     Double_t _lepton_IsoDeposit_em;
152     Double_t _lepton_IsoDeposit_had;
153 kukartse 1.5 Double_t _met_et;
154 kukartse 1.1 Double_t _met_pt;
155 kukartse 1.19
156    
157 kukartse 1.1 Double_t _met_eta;
158     Double_t _met_phi;
159     Double_t _met_energy;
160 kukartse 1.5 Double_t _jet1_et;
161 kukartse 1.1 Double_t _jet1_pt;
162     Double_t _jet1_eta;
163     Double_t _jet1_phi;
164     Double_t _jet1_energy;
165 kukartse 1.5 Double_t _jet2_et;
166 kukartse 1.1 Double_t _jet2_pt;
167     Double_t _jet2_eta;
168     Double_t _jet2_phi;
169     Double_t _jet2_energy;
170 kukartse 1.5 Double_t _jet3_et;
171 kukartse 1.1 Double_t _jet3_pt;
172     Double_t _jet3_eta;
173     Double_t _jet3_phi;
174     Double_t _jet3_energy;
175 kukartse 1.5 Double_t _jet4_et;
176 kukartse 1.1 Double_t _jet4_pt;
177     Double_t _jet4_eta;
178     Double_t _jet4_phi;
179     Double_t _jet4_energy;
180     Double_t _aplanarity ;
181     Double_t _centrality ;
182     Double_t _sphericity ;
183     Double_t _ht ;
184     Double_t _htPlusLepton ;
185     Double_t _metHtPlusLepton ;
186     Double_t _h ;
187     Double_t _ktMinPrime ;
188     Double_t _dPhiLMet ;
189     Double_t _minDijetMass ;
190     Double_t _maxJetEta ;
191     Double_t _et3 ;
192     Double_t _minDiJetDeltaR ;
193     Double_t _leptonJetDeltaR ;
194     Double_t _ht2p ;
195     Double_t _jet1Jet2DeltaR ;
196     Double_t _jet1Jet2DeltaPhi ;
197     Double_t _jet1Jet2_M ;
198     Double_t _jet1Jet2_Pt ;
199     Double_t _jet1Jet2W_M ;
200     Double_t _jet1Jet2W_Pt ;
201     Double_t _hz ;
202     Double_t _HT2 ;
203     Double_t _HT2prime ;
204     Double_t _W_MT ;
205     Double_t _W_M ;
206     Double_t _W_Pt ;
207     Double_t _DphiJMET ;
208     // Ht
209     Double_t _getHt ;
210     Double_t _getHtp ;
211     Double_t _getHtpp ;
212     Double_t _getHt2 ;
213     Double_t _getHt2p ;
214     Double_t _getHt2pp ;
215     Double_t _getHt3 ;
216     Double_t _getHt3p ;
217     Double_t _getHt3pp ;
218     Double_t _getCen ;
219     Double_t _getNJW ;
220     Double_t _getJetEtaMax ;
221     Double_t _getMdijetMin ;
222     Double_t _getMtjets ;
223     Double_t _getSqrtsT ;
224     Double_t _getMtAurelio ;
225     Double_t _getPzOverHT ;
226     Double_t _getMevent ;
227     Double_t _getM123inv ;
228     Double_t _getEta2Sum ;
229     Double_t _getMwRec ;
230     Double_t _getH ;
231     // event topo
232     Double_t _getSph ;
233     Double_t _getApl ;
234     Double_t _getAplMu ;
235     // Kt
236     Double_t _getKtminp ;
237     Double_t _getKtminpReduced ;
238     Double_t _getDrMinJetJet ;
239     // mT
240     Double_t _getDphiMuMet ;
241     Double_t _getMt ;
242 msegala 1.20
243    
244     //##############################################################################################
245     //##
246 msegala 1.21 //____New Variables added for Lepton to Neutrino Switch______
247 msegala 1.20 //##
248     //##############################################################################################
249    
250     bool _jescorrections;
251     double _jes_corr;
252     bool _MuonSwitch;
253     bool _SecondLeptonSwitch;
254    
255     Double_t _lepton_2_pt;
256 msegala 1.21 Double_t _lepton_2_pz;
257 msegala 1.20 Double_t _lepton_2_eta;
258     Double_t _lepton_2_phi;
259     Double_t _lepton_1_pt;
260     Double_t _W_pt;
261     Double_t _Z_real_pt;
262     Double_t _Z_fake_pt;
263 msegala 1.21 Double_t _inv_mass;
264     Double_t _met_pt_unscaled;
265     Double_t _W_pt_unscaled;
266     Double_t _Z_real_pt_unscaled;
267     Double_t _Z_fake_pt_unscaled;
268     Double_t _inv_mass_unscaled;
269     Double_t _Newmet_pt_unscaled;
270     Double_t _lepton_1_pt_unscaled;
271    
272    
273 msegala 1.20 /* double lepton_1_energy;
274     double lepton_1_px;
275     double lepton_1_py;
276     double lepton_1_pz;
277     double lepton_2_pt;
278     double lepton_2_energy;
279     double lepton_2_px;
280     double lepton_2_py;
281     double lepton_2_pz;
282     double lepton_2_phi;
283     */
284    
285     TLorentzVector Jet1;
286     TLorentzVector Jet2;
287     TLorentzVector Jet3;
288     TLorentzVector Jet4;
289     TLorentzVector Lepton1;
290     TLorentzVector Lepton2;
291     TLorentzVector Met1;
292     TLorentzVector NewMet;
293    
294    
295     bool _muon_2_isGood_AllGlobalMuons; //For Lepton Switch
296     Double_t _lepton_2_track_iso; //for lepton switch
297     Double_t _lepton_2_calo_iso; //for lepton switch
298     Double_t _lepton_2_ecal_iso;
299     Double_t _lepton_2_hcal_iso;
300     Double_t _lepton_2_IsoDeposit_em; //for lepton switch
301     Double_t _lepton_2_IsoDeposit_had; //for lepton switch
302    
303     Double_t _muon_2_pat_d0; // relative to the beam spot
304     Int_t _muon_2_innertrack_nhits;
305     Double_t _muon_2_pat_nChi2;
306     Double_t _muon_2_innertrack_d0; // relative to the beam spot
307     Double_t _muon_2_innertrack_d0_err;
308     Double_t _muon_2_innertrack_d0_significance; // relative to the beam spot
309     Double_t _muon_2_globaltrack_d0; // relative to the beam spot
310     Double_t _muon_2_globaltrack_d0_err;
311     Double_t _muon_2_globaltrack_d0_significance; // relative to the beam spot
312     Double_t _muon_2_globaltrack_chi2 ;
313     Double_t _muon_2_globaltrack_ndof ;
314     Double_t _muon_2_globaltrack_nChi2 ;
315    
316    
317 msegala 1.21 TBranch * b_met_pt_unscaled;
318 msegala 1.20 TBranch * b_lepton_1_pt;
319     TBranch * b_lepton_2_pt;
320 msegala 1.21 TBranch * b_lepton_2_pz;
321 msegala 1.20 TBranch * b_lepton_2_eta;
322     TBranch * b_lepton_2_phi;
323     TBranch * b_W_pt;
324     TBranch * b_Z_real_pt;
325     TBranch * b_Z_fake_pt;
326 msegala 1.21 TBranch * b_inv_mass;
327     TBranch * b_W_pt_unscaled;
328     TBranch * b_Z_real_pt_unscaled;
329     TBranch * b_Z_fake_pt_unscaled;
330     TBranch * b_inv_mass_unscaled;
331     TBranch * b_Newmet_pt_unscaled;
332     TBranch * b_lepton_1_pt_unscaled;
333    
334 msegala 1.20
335     TBranch * b_muon_2_isGood_AllGlobalMuons; //for lepton switch
336     TBranch * b_muon_2_track_nChi2; //for lepton switch
337     TBranch * b_lepton_2_track_iso; //for lepton switch
338     TBranch * b_lepton_2_calo_iso; //for lepton switch
339     TBranch * b_lepton_2_IsoDeposit_em; //for lepton switch
340     TBranch * b_lepton_2_IsoDeposit_had; //for lepton switch
341     TBranch * b_lepton_2_d0; //lepton for switch
342     TBranch * b_lepton_2_d0_err;//lepton for switch
343     TBranch * b_lepton_2_d0_significance;//lepton for switch
344    
345    
346    
347    
348 kukartse 1.5 //
349     //
350     //_____ b tagging ______________________________________________
351 kukartse 1.8 vector<double> * _jet_pt;
352     vector<double> * _jet_pz;
353 msegala 1.21 vector<double> * _jet_px;
354     vector<double> * _jet_py;
355 kukartse 1.8 vector<double> * _jet_eta;
356     vector<double> * _jet_phi;
357     vector<double> * _jet_et;
358     vector<double> * _jet_energy;
359     vector<int> * _jet_flavor;
360 kukartse 1.9 //
361     vector<double> * _muon_pt;
362     vector<double> * _muon_pz;
363     vector<double> * _muon_eta;
364     vector<double> * _muon_phi;
365     vector<double> * _muon_et;
366     vector<double> * _muon_energy;
367     vector<int> * _muon_flavor;
368     //
369     vector<double> * _electron_pt;
370     vector<double> * _electron_pz;
371     vector<double> * _electron_eta;
372     vector<double> * _electron_phi;
373     vector<double> * _electron_et;
374     vector<double> * _electron_energy;
375     vector<int> * _electron_flavor;
376 kukartse 1.8 /* FIXME: add vectors of these:
377     Double_t _lepton_track_iso;
378     Double_t _lepton_calo_iso;
379     Double_t _lepton_ecal_iso;
380     Double_t _lepton_hcal_iso;
381     Double_t _lepton_user_iso;
382     Double_t _lepton_IsoDeposit_em;
383     Double_t _lepton_IsoDeposit_had;
384     */
385     TBranch * b_jet_pt;
386     TBranch * b_jet_pz;
387     TBranch * b_jet_eta;
388     TBranch * b_jet_phi;
389     TBranch * b_jet_et;
390     TBranch * b_jet_energy;
391     TBranch * b_jet_flavor;
392 kukartse 1.9 //
393     TBranch * b_lepton_pt;
394     TBranch * b_lepton_pz;
395     TBranch * b_lepton_eta;
396     TBranch * b_lepton_phi;
397     TBranch * b_lepton_et;
398     TBranch * b_lepton_energy;
399     TBranch * b_lepton_flavor;
400 kukartse 1.11 TBranch * b_lepton_jet_min_dr;
401     TBranch * b_lepton_ptrel;
402     TBranch * b_lepton_d0;
403     TBranch * b_lepton_d0_err;
404     TBranch * b_lepton_d0_significance;
405 kukartse 1.9 //
406 kukartse 1.5 vector<string> * _b_tagger_label;
407     vector<float> * _b_tagger_discr;
408     TBranch * b_b_tagger_label;
409     TBranch * b_b_tagger_discr;
410 kukartse 1.4 Int_t _n_tagged_jets_trackCounting_loose;
411     Int_t _n_tagged_jets_trackCounting_medium;
412     Int_t _n_tagged_jets_trackCounting_tight;
413     Int_t _n_tagged_jets_jetProb_loose;
414     Int_t _n_tagged_jets_jetProb_medium;
415     Int_t _n_tagged_jets_jetProb_tight;
416 kukartse 1.1
417 kukartse 1.4 //
418     //
419     //_____ electron quality _______________________________________
420 kukartse 1.5 Float_t _eidLoose;
421     Float_t _eidRobustHighEnergy;
422     Float_t _eidRobustLoose;
423     Float_t _eidRobustTight;
424     Float_t _eidTight;
425 kukartse 1.4 Int_t _GsfElectron_classification;
426     Double_t _GsfElectron_hadronicOverEm;
427     Double_t _GsfElectron_caloEnergyError;
428     Double_t _GsfElectron_trackMomentumError;
429     Int_t _GsfElectron_numberOfClusters;
430     Double_t _GsfElectron_caloEnergy; // the super cluster energy corrected by EnergyScaleFactor
431     Double_t _GsfElectron_eSuperClusterOverP; // the supercluster energy / track momentum at impact point
432     Double_t _GsfElectron_eSeedClusterOverPout; // the seed cluster energy / track momentum at calo from outermost state
433     Double_t _GsfElectron_deltaEtaSuperClusterTrackAtVtx; // the supercluster eta - track eta from helix extrapolation from impact point
434     Double_t _GsfElectron_deltaEtaSeedClusterTrackAtCalo; // the seed cluster eta - track eta at calo from outermost state
435     Double_t _GsfElectron_deltaPhiSuperClusterTrackAtVtx; // the supercluster phi - track phi from helix extrapolation from impact point
436     Double_t _GsfElectron_deltaPhiSeedClusterTrackAtCalo; // the seed cluster phi - track phi at calo from outermost state
437     // ____ branches
438 kukartse 1.5 TBranch * b_eidLoose;
439     TBranch * b_eidRobustHighEnergy;
440     TBranch * b_eidRobustLoose;
441     TBranch * b_eidRobustTight;
442     TBranch * b_eidTight;
443 kukartse 1.4 TBranch * b_GsfElectron_classification;
444     TBranch * b_GsfElectron_hadronicOverEm;
445     TBranch * b_GsfElectron_caloEnergyError;
446     TBranch * b_GsfElectron_trackMomentumError;
447     TBranch * b_GsfElectron_numberOfClusters;
448     TBranch * b_GsfElectron_caloEnergy; // the super cluster energy corrected by EnergyScaleFactor
449     TBranch * b_GsfElectron_eSuperClusterOverP; // the supercluster energy / track momentum at impact point
450     TBranch * b_GsfElectron_eSeedClusterOverPout; // the seed cluster energy / track momentum at calo from outermost state
451     TBranch * b_GsfElectron_deltaEtaSuperClusterTrackAtVtx; // the supercluster eta - track eta from helix extrapolation from impact point
452     TBranch * b_GsfElectron_deltaEtaSeedClusterTrackAtCalo; // the seed cluster eta - track eta at calo from outermost state
453     TBranch * b_GsfElectron_deltaPhiSuperClusterTrackAtVtx; // the supercluster phi - track phi from helix extrapolation from impact point
454     TBranch * b_GsfElectron_deltaPhiSeedClusterTrackAtCalo; // the seed cluster phi - track phi at calo from outermost state
455     //
456     //
457     //_____ muon quality _______________________________________
458     bool _muon_isGood_All; // dummy options - always true
459     bool _muon_isGood_AllGlobalMuons; // checks isGlobalMuon flag
460     bool _muon_isGood_AllStandAloneMuons; // checks isStandAloneMuon flag
461     bool _muon_isGood_AllTrackerMuons; // checks isTrackerMuon flag
462     bool _muon_isGood_TrackerMuonArbitrated; // resolve ambiguity of sharing segments
463     bool _muon_isGood_AllArbitrated; // all muons with the tracker muon arbitrated
464     bool _muon_isGood_GlobalMuonPromptTight; // global muons with tighter fit requirements
465     bool _muon_isGood_TMLastStationLoose; // penetration depth loose selector
466     bool _muon_isGood_TMLastStationTight; // penetration depth tight selector
467     bool _muon_isGood_TM2DCompatibilityLoose; // likelihood based loose selector
468     bool _muon_isGood_TM2DCompatibilityTight; // likelihood based tight selector
469     bool _muon_isGood_TMOneStationLoose; // require one well matched segment
470     bool _muon_isGood_TMOneStationTight; // require one well matched segment
471     bool _muon_isGood_TMLastStationOptimizedLowPtLoose; // combination of TMLastStation and TMOneStation
472     bool _muon_isGood_TMLastStationOptimizedLowPtTight; // combination of TMLastStation and TMOneStation
473     //____ branches
474     TBranch * b_muon_isGood_All; // dummy options - always true
475     TBranch * b_muon_isGood_AllGlobalMuons; // checks isGlobalMuon flag
476     TBranch * b_muon_isGood_AllStandAloneMuons; // checks isStandAloneMuon flag
477     TBranch * b_muon_isGood_AllTrackerMuons; // checks isTrackerMuon flag
478     TBranch * b_muon_isGood_TrackerMuonArbitrated; // resolve ambiguity of sharing segments
479     TBranch * b_muon_isGood_AllArbitrated; // all muons with the tracker muon arbitrated
480     TBranch * b_muon_isGood_GlobalMuonPromptTight; // global muons with tighter fit requirements
481     TBranch * b_muon_isGood_TMLastStationLoose; // penetration depth loose selector
482     TBranch * b_muon_isGood_TMLastStationTight; // penetration depth tight selector
483     TBranch * b_muon_isGood_TM2DCompatibilityLoose; // likelihood based loose selector
484     TBranch * b_muon_isGood_TM2DCompatibilityTight; // likelihood based tight selector
485     TBranch * b_muon_isGood_TMOneStationLoose; // require one well matched segment
486     TBranch * b_muon_isGood_TMOneStationTight; // require one well matched segment
487     TBranch * b_muon_isGood_TMLastStationOptimizedLowPtLoose; // combination of TMLastStation and TMOneStation
488     TBranch * b_muon_isGood_TMLastStationOptimizedLowPtTight; // combination of TMLastStation and TMOneStation
489     //____ output tree variables
490 kukartse 1.1 TBranch * b_event;
491     TBranch * b_process_id;
492     TBranch * b_n_jets;
493 kukartse 1.8 TBranch * b_n_removed_jets;
494 kukartse 1.1 TBranch * b_n_met;
495     TBranch * b_n_muons;
496     TBranch * b_n_electrons;
497     TBranch * b_lepton_is_muon;
498     TBranch * b_event_weight;
499 kukartse 1.9 //
500     TBranch * b_muon_et;
501     TBranch * b_muon_pt;
502     TBranch * b_muon_pz;
503     TBranch * b_muon_eta;
504     TBranch * b_muon_phi;
505     TBranch * b_muon_energy;
506     TBranch * b_muon_flavor;
507     //
508     TBranch * b_electron_et;
509     TBranch * b_electron_pt;
510     TBranch * b_electron_pz;
511     TBranch * b_electron_eta;
512     TBranch * b_electron_phi;
513     TBranch * b_electron_energy;
514     TBranch * b_electron_flavor;
515     //
516 kukartse 1.3 TBranch * b_muon_track_chi2;
517     TBranch * b_muon_track_ndof;
518     TBranch * b_muon_track_nChi2;
519     TBranch * b_muon_outerTrack_chi2;
520     TBranch * b_muon_outerTrack_ndof;
521     TBranch * b_muon_outerTrack_nChi2;
522     TBranch * b_muon_globalTrack_chi2;
523     TBranch * b_muon_globalTrack_ndof;
524     TBranch * b_muon_globalTrack_nChi2;
525 kukartse 1.1 TBranch * b_lepton_track_iso;
526     TBranch * b_lepton_calo_iso;
527 kukartse 1.2 TBranch * b_lepton_ecal_iso;
528     TBranch * b_lepton_hcal_iso;
529     TBranch * b_lepton_user_iso;
530 kukartse 1.8 TBranch * b_lepton_IsoDeposit_em;
531     TBranch * b_lepton_IsoDeposit_had;
532 kukartse 1.5 TBranch * b_met_et;
533 kukartse 1.1 TBranch * b_met_pt;
534     TBranch * b_met_eta;
535     TBranch * b_met_phi;
536     TBranch * b_met_energy;
537 kukartse 1.5 TBranch * b_jet1_et;
538 kukartse 1.1 TBranch * b_jet1_pt;
539     TBranch * b_jet1_eta;
540     TBranch * b_jet1_phi;
541     TBranch * b_jet1_energy;
542 kukartse 1.5 TBranch * b_jet2_et;
543 kukartse 1.1 TBranch * b_jet2_pt;
544     TBranch * b_jet2_eta;
545     TBranch * b_jet2_phi;
546     TBranch * b_jet2_energy;
547 kukartse 1.5 TBranch * b_jet3_et;
548 kukartse 1.1 TBranch * b_jet3_pt;
549     TBranch * b_jet3_eta;
550     TBranch * b_jet3_phi;
551     TBranch * b_jet3_energy;
552 kukartse 1.5 TBranch * b_jet4_et;
553 kukartse 1.1 TBranch * b_jet4_pt;
554     TBranch * b_jet4_eta;
555     TBranch * b_jet4_phi;
556     TBranch * b_jet4_energy;
557     TBranch * b_n_tagged_jets_trackCounting_loose;
558     TBranch * b_n_tagged_jets_trackCounting_medium;
559     TBranch * b_n_tagged_jets_trackCounting_tight;
560     TBranch * b_n_tagged_jets_jetProb_loose;
561     TBranch * b_n_tagged_jets_jetProb_medium;
562     TBranch * b_n_tagged_jets_jetProb_tight;
563 kukartse 1.4 // ____
564 kukartse 1.1 TBranch * b_aplanarity ;
565     TBranch * b_centrality ;
566     TBranch * b_sphericity ;
567     TBranch * b_ht ;
568     TBranch * b_htPlusLepton ;
569     TBranch * b_metHtPlusLepton ;
570     TBranch * b_h ;
571     TBranch * b_ktMinPrime ;
572     TBranch * b_dPhiLMet ;
573     TBranch * b_minDijetMass ;
574     TBranch * b_maxJetEta ;
575     TBranch * b_et3 ;
576     TBranch * b_minDiJetDeltaR ;
577     TBranch * b_leptonJetDeltaR ;
578     TBranch * b_ht2p ;
579     TBranch * b_jet1Jet2DeltaR ;
580     TBranch * b_jet1Jet2DeltaPhi ;
581     TBranch * b_jet1Jet2_M ;
582     TBranch * b_jet1Jet2_Pt ;
583     TBranch * b_jet1Jet2W_M ;
584     TBranch * b_jet1Jet2W_Pt ;
585     TBranch * b_hz ;
586 kukartse 1.4 TBranch * b_HT2;
587     TBranch * b_HT2prime;
588     TBranch * b_W_MT;
589 kukartse 1.1 TBranch * b_W_M ;
590     TBranch * b_W_Pt ;
591     TBranch * b_DphiJMET ;
592     // Ht
593     TBranch * b_getHt ;
594     TBranch * b_getHtp ;
595     TBranch * b_getHtpp ;
596     TBranch * b_getHt2 ;
597     TBranch * b_getHt2p ;
598     TBranch * b_getHt2pp ;
599     TBranch * b_getHt3 ;
600     TBranch * b_getHt3p ;
601     TBranch * b_getHt3pp ;
602     TBranch * b_getCen ;
603     TBranch * b_getNJW ;
604     TBranch * b_getJetEtaMax ;
605     TBranch * b_getMdijetMin ;
606     TBranch * b_getMtjets ;
607     TBranch * b_getSqrtsT ;
608     TBranch * b_getMtAurelio ;
609     TBranch * b_getPzOverHT ;
610     TBranch * b_getMevent ;
611     TBranch * b_getM123inv ;
612     TBranch * b_getEta2Sum ;
613     TBranch * b_getMwRec ;
614     TBranch * b_getH ;
615     // event topo
616     TBranch * b_getSph ;
617     TBranch * b_getApl ;
618     TBranch * b_getAplMu ;
619     // Kt
620     TBranch * b_getKtminp ;
621     TBranch * b_getKtminpReduced ;
622     TBranch * b_getDrMinJetJet ;
623     // mT
624     TBranch * b_getDphiMuMet ;
625     TBranch * b_getMt ;
626    
627 kukartse 1.4
628 kukartse 1.1 };