ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/LJMet/MultivariateAnalysis/interface/TtLJetsAnalyzer.h
(Generate patch)

Comparing UserCode/LJMet/MultivariateAnalysis/interface/TtLJetsAnalyzer.h (file contents):
Revision 1.5 by kukartse, Fri Dec 19 07:32:06 2008 UTC vs.
Revision 1.9 by kukartse, Thu Apr 2 16:43:50 2009 UTC

# Line 17 | Line 17
17   //
18   //
19  
20 + #include "LJMet/MultivariateAnalysis/interface/RooGKCounter.h"
21 +
22   #include <memory>
23   #include <string>
24 <
24 > #include "TFile.h"
25 > #include "TTree.h"
26 > #include "Rtypes.h"
27   #include "FWCore/Framework/interface/Frameworkfwd.h"
28   #include "FWCore/Framework/interface/EDAnalyzer.h"
29   #include "FWCore/Framework/interface/Event.h"
30   #include "FWCore/Framework/interface/MakerMacros.h"
31   #include "FWCore/ParameterSet/interface/ParameterSet.h"
28 #include "LJMet/MultivariateAnalysis/interface/RooGKCounter.h"
29
30 #include "TFile.h"
31 #include "TTree.h"
32 #include "Rtypes.h"
32  
33   class TtLJetsAnalyzer : public edm::EDAnalyzer {
34   public:
# Line 46 | Line 45 | private:
45    // _____ quantities read from the config file _________________________
46    std::string _jetSource, _electronSource, _muonSource, _METSource;
47    std::string _outFile;
48 +  bool _is_mc;
49    int nCaloJets_min;
50    int nLepton_min;
51 <  double jet_et_min            ;
51 >  double jet_pt_min            ;
52    double jet_eta_max           ;
53    double muon_pt_min           ;
54    double muon_eta_max          ;
# Line 59 | Line 59 | private:
59    double electron_trackIso_max ;
60    double electron_caloIso_max  ;
61    double met_et_min            ;
62 +  double min_dr_jet_lepton     ;
63  
64    RooGKCounter eventCounter;
65    RooGKCounter selectedEvents;
# Line 71 | Line 72 | private:
72    Int_t _event;
73    Int_t _process_id;
74    Int_t _n_jets;
75 +  Int_t _n_removed_jets;
76    Int_t _n_met;
77    Int_t _n_muons;
78    Int_t _n_electrons;
# Line 95 | Line 97 | private:
97    Double_t _lepton_ecal_iso;
98    Double_t _lepton_hcal_iso;
99    Double_t _lepton_user_iso;
100 +  Double_t _lepton_IsoDeposit_em;
101 +  Double_t _lepton_IsoDeposit_had;
102    Double_t _met_et;
103    Double_t _met_pt;
104    Double_t _met_eta;
# Line 185 | Line 189 | private:
189    //
190    //
191    //_____ b tagging ______________________________________________
192 +  vector<double> * _jet_pt;
193 +  vector<double> * _jet_pz;
194 +  vector<double> * _jet_eta;
195 +  vector<double> * _jet_phi;
196 +  vector<double> * _jet_et;
197 +  vector<double> * _jet_energy;
198 +  vector<int> *    _jet_flavor;
199 +  //
200 +  vector<double> * _muon_pt;
201 +  vector<double> * _muon_pz;
202 +  vector<double> * _muon_eta;
203 +  vector<double> * _muon_phi;
204 +  vector<double> * _muon_et;
205 +  vector<double> * _muon_energy;
206 +  vector<int> *    _muon_flavor;
207 +  //
208 +  vector<double> * _electron_pt;
209 +  vector<double> * _electron_pz;
210 +  vector<double> * _electron_eta;
211 +  vector<double> * _electron_phi;
212 +  vector<double> * _electron_et;
213 +  vector<double> * _electron_energy;
214 +  vector<int> *    _electron_flavor;
215 +  /* FIXME: add vectors of these:
216 +  Double_t _lepton_track_iso;
217 +  Double_t _lepton_calo_iso;
218 +  Double_t _lepton_ecal_iso;
219 +  Double_t _lepton_hcal_iso;
220 +  Double_t _lepton_user_iso;
221 +  Double_t _lepton_IsoDeposit_em;
222 +  Double_t _lepton_IsoDeposit_had;
223 +  */
224 +  TBranch * b_jet_pt;
225 +  TBranch * b_jet_pz;
226 +  TBranch * b_jet_eta;
227 +  TBranch * b_jet_phi;
228 +  TBranch * b_jet_et;
229 +  TBranch * b_jet_energy;
230 +  TBranch * b_jet_flavor;
231 +  //
232 +  TBranch * b_lepton_pt;
233 +  TBranch * b_lepton_pz;
234 +  TBranch * b_lepton_eta;
235 +  TBranch * b_lepton_phi;
236 +  TBranch * b_lepton_et;
237 +  TBranch * b_lepton_energy;
238 +  TBranch * b_lepton_flavor;
239 +  //
240    vector<string> * _b_tagger_label;
241    vector<float> * _b_tagger_discr;
242    TBranch * b_b_tagger_label;
# Line 272 | Line 324 | private:
324    TBranch * b_event;
325    TBranch * b_process_id;
326    TBranch * b_n_jets;
327 +  TBranch * b_n_removed_jets;
328    TBranch * b_n_met;
329    TBranch * b_n_muons;
330    TBranch * b_n_electrons;
331    TBranch * b_lepton_is_muon;
332    TBranch * b_event_weight;
333 <  TBranch * b_lepton_et;
334 <  TBranch * b_lepton_pt;
335 <  TBranch * b_lepton_eta;
336 <  TBranch * b_lepton_phi;
337 <  TBranch * b_lepton_energy;
333 >  //
334 >  TBranch * b_muon_et;
335 >  TBranch * b_muon_pt;
336 >  TBranch * b_muon_pz;
337 >  TBranch * b_muon_eta;
338 >  TBranch * b_muon_phi;
339 >  TBranch * b_muon_energy;
340 >  TBranch * b_muon_flavor;
341 >  //
342 >  TBranch * b_electron_et;
343 >  TBranch * b_electron_pt;
344 >  TBranch * b_electron_pz;
345 >  TBranch * b_electron_eta;
346 >  TBranch * b_electron_phi;
347 >  TBranch * b_electron_energy;
348 >  TBranch * b_electron_flavor;
349 >  //
350    TBranch * b_muon_track_chi2;
351    TBranch * b_muon_track_ndof;
352    TBranch * b_muon_track_nChi2;
# Line 296 | Line 361 | private:
361    TBranch * b_lepton_ecal_iso;
362    TBranch * b_lepton_hcal_iso;
363    TBranch * b_lepton_user_iso;
364 +  TBranch * b_lepton_IsoDeposit_em;
365 +  TBranch * b_lepton_IsoDeposit_had;
366    TBranch * b_met_et;
367    TBranch * b_met_pt;
368    TBranch * b_met_eta;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines