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: |
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_pt_min ; |
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; |
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 |
+ |
vector<double> * _lept_pt; |
200 |
+ |
vector<double> * _lept_pz; |
201 |
+ |
vector<double> * _lept_eta; |
202 |
+ |
vector<double> * _lept_phi; |
203 |
+ |
vector<double> * _lept_et; |
204 |
+ |
vector<double> * _lept_energy; |
205 |
+ |
vector<int> * _lept_flavor; |
206 |
+ |
/* FIXME: add vectors of these: |
207 |
+ |
Double_t _lepton_track_iso; |
208 |
+ |
Double_t _lepton_calo_iso; |
209 |
+ |
Double_t _lepton_ecal_iso; |
210 |
+ |
Double_t _lepton_hcal_iso; |
211 |
+ |
Double_t _lepton_user_iso; |
212 |
+ |
Double_t _lepton_IsoDeposit_em; |
213 |
+ |
Double_t _lepton_IsoDeposit_had; |
214 |
+ |
*/ |
215 |
+ |
TBranch * b_jet_pt; |
216 |
+ |
TBranch * b_jet_pz; |
217 |
+ |
TBranch * b_jet_eta; |
218 |
+ |
TBranch * b_jet_phi; |
219 |
+ |
TBranch * b_jet_et; |
220 |
+ |
TBranch * b_jet_energy; |
221 |
+ |
TBranch * b_jet_flavor; |
222 |
+ |
TBranch * b_lept_pt; |
223 |
+ |
TBranch * b_lept_pz; |
224 |
+ |
TBranch * b_lept_eta; |
225 |
+ |
TBranch * b_lept_phi; |
226 |
+ |
TBranch * b_lept_et; |
227 |
+ |
TBranch * b_lept_energy; |
228 |
+ |
TBranch * b_lept_flavor; |
229 |
|
vector<string> * _b_tagger_label; |
230 |
|
vector<float> * _b_tagger_discr; |
231 |
|
TBranch * b_b_tagger_label; |
313 |
|
TBranch * b_event; |
314 |
|
TBranch * b_process_id; |
315 |
|
TBranch * b_n_jets; |
316 |
+ |
TBranch * b_n_removed_jets; |
317 |
|
TBranch * b_n_met; |
318 |
|
TBranch * b_n_muons; |
319 |
|
TBranch * b_n_electrons; |
338 |
|
TBranch * b_lepton_ecal_iso; |
339 |
|
TBranch * b_lepton_hcal_iso; |
340 |
|
TBranch * b_lepton_user_iso; |
341 |
+ |
TBranch * b_lepton_IsoDeposit_em; |
342 |
+ |
TBranch * b_lepton_IsoDeposit_had; |
343 |
|
TBranch * b_met_et; |
344 |
|
TBranch * b_met_pt; |
345 |
|
TBranch * b_met_eta; |