43 |
|
virtual void analyze(const edm::Event&, const edm::EventSetup&); |
44 |
|
virtual void endJob(void); |
45 |
|
|
46 |
< |
// quantities read from the config file |
46 |
> |
// _____ quantities read from the config file _________________________ |
47 |
|
std::string _jetSource, _electronSource, _muonSource, _METSource; |
48 |
|
std::string _outFile; |
49 |
|
int nCaloJets_min; |
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; |
67 |
|
TFile * _file; |
68 |
|
TTree * _tree; |
69 |
|
|
70 |
< |
// output tree variables |
70 |
> |
// |
71 |
> |
// _____ output tree variables ________________________________________ |
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; |
79 |
|
Int_t _lepton_is_muon; |
80 |
|
Double_t _event_weight; |
81 |
+ |
Double_t _lepton_et; |
82 |
|
Double_t _lepton_pt; |
83 |
|
Double_t _lepton_eta; |
84 |
|
Double_t _lepton_phi; |
97 |
|
Double_t _lepton_ecal_iso; |
98 |
|
Double_t _lepton_hcal_iso; |
99 |
|
Double_t _lepton_user_iso; |
96 |
– |
Double_t _met_pt; |
100 |
|
Double_t _met_et; |
101 |
+ |
Double_t _met_pt; |
102 |
|
Double_t _met_eta; |
103 |
|
Double_t _met_phi; |
104 |
|
Double_t _met_energy; |
105 |
+ |
Double_t _jet1_et; |
106 |
|
Double_t _jet1_pt; |
107 |
|
Double_t _jet1_eta; |
108 |
|
Double_t _jet1_phi; |
109 |
|
Double_t _jet1_energy; |
110 |
+ |
Double_t _jet2_et; |
111 |
|
Double_t _jet2_pt; |
112 |
|
Double_t _jet2_eta; |
113 |
|
Double_t _jet2_phi; |
114 |
|
Double_t _jet2_energy; |
115 |
+ |
Double_t _jet3_et; |
116 |
|
Double_t _jet3_pt; |
117 |
|
Double_t _jet3_eta; |
118 |
|
Double_t _jet3_phi; |
119 |
|
Double_t _jet3_energy; |
120 |
+ |
Double_t _jet4_et; |
121 |
|
Double_t _jet4_pt; |
122 |
|
Double_t _jet4_eta; |
123 |
|
Double_t _jet4_phi; |
184 |
|
// mT |
185 |
|
Double_t _getDphiMuMet ; |
186 |
|
Double_t _getMt ; |
187 |
+ |
// |
188 |
+ |
// |
189 |
+ |
//_____ b tagging ______________________________________________ |
190 |
+ |
vector<string> * _b_tagger_label; |
191 |
+ |
vector<float> * _b_tagger_discr; |
192 |
+ |
TBranch * b_b_tagger_label; |
193 |
+ |
TBranch * b_b_tagger_discr; |
194 |
|
Int_t _n_tagged_jets_trackCounting_loose; |
195 |
|
Int_t _n_tagged_jets_trackCounting_medium; |
196 |
|
Int_t _n_tagged_jets_trackCounting_tight; |
201 |
|
// |
202 |
|
// |
203 |
|
//_____ electron quality _______________________________________ |
204 |
< |
Double_t _electron_id_robust; |
205 |
< |
Double_t _electron_id_loose; |
206 |
< |
Double_t _electron_id_tight; |
207 |
< |
Double_t _electron_tdrid_medium; |
208 |
< |
Double_t _electron_tdrid_loose; |
194 |
< |
Double_t _electron_tdrid_tight; |
204 |
> |
Float_t _eidLoose; |
205 |
> |
Float_t _eidRobustHighEnergy; |
206 |
> |
Float_t _eidRobustLoose; |
207 |
> |
Float_t _eidRobustTight; |
208 |
> |
Float_t _eidTight; |
209 |
|
Int_t _GsfElectron_classification; |
210 |
|
Double_t _GsfElectron_hadronicOverEm; |
211 |
|
Double_t _GsfElectron_caloEnergyError; |
212 |
|
Double_t _GsfElectron_trackMomentumError; |
199 |
– |
Double_t _GsfElectron_shFracInnerHits; //! measure the fraction of common hits between the GSF and CTF tracks |
213 |
|
Int_t _GsfElectron_numberOfClusters; |
214 |
|
Double_t _GsfElectron_caloEnergy; // the super cluster energy corrected by EnergyScaleFactor |
215 |
|
Double_t _GsfElectron_eSuperClusterOverP; // the supercluster energy / track momentum at impact point |
219 |
|
Double_t _GsfElectron_deltaPhiSuperClusterTrackAtVtx; // the supercluster phi - track phi from helix extrapolation from impact point |
220 |
|
Double_t _GsfElectron_deltaPhiSeedClusterTrackAtCalo; // the seed cluster phi - track phi at calo from outermost state |
221 |
|
// ____ branches |
222 |
< |
TBranch * b_electron_id_robust; |
223 |
< |
TBranch * b_electron_id_loose; |
224 |
< |
TBranch * b_electron_id_tight; |
225 |
< |
TBranch * b_electron_tdrid_medium; |
226 |
< |
TBranch * b_electron_tdrid_loose; |
214 |
< |
TBranch * b_electron_tdrid_tight; |
222 |
> |
TBranch * b_eidLoose; |
223 |
> |
TBranch * b_eidRobustHighEnergy; |
224 |
> |
TBranch * b_eidRobustLoose; |
225 |
> |
TBranch * b_eidRobustTight; |
226 |
> |
TBranch * b_eidTight; |
227 |
|
TBranch * b_GsfElectron_classification; |
228 |
|
TBranch * b_GsfElectron_hadronicOverEm; |
229 |
|
TBranch * b_GsfElectron_caloEnergyError; |
230 |
|
TBranch * b_GsfElectron_trackMomentumError; |
219 |
– |
TBranch * b_GsfElectron_shFracInnerHits; //! measure the fraction of common hits between the GSF and CTF tracks |
231 |
|
TBranch * b_GsfElectron_numberOfClusters; |
232 |
|
TBranch * b_GsfElectron_caloEnergy; // the super cluster energy corrected by EnergyScaleFactor |
233 |
|
TBranch * b_GsfElectron_eSuperClusterOverP; // the supercluster energy / track momentum at impact point |
279 |
|
TBranch * b_n_electrons; |
280 |
|
TBranch * b_lepton_is_muon; |
281 |
|
TBranch * b_event_weight; |
282 |
+ |
TBranch * b_lepton_et; |
283 |
|
TBranch * b_lepton_pt; |
284 |
|
TBranch * b_lepton_eta; |
285 |
|
TBranch * b_lepton_phi; |
298 |
|
TBranch * b_lepton_ecal_iso; |
299 |
|
TBranch * b_lepton_hcal_iso; |
300 |
|
TBranch * b_lepton_user_iso; |
289 |
– |
TBranch * b_met_pt; |
301 |
|
TBranch * b_met_et; |
302 |
+ |
TBranch * b_met_pt; |
303 |
|
TBranch * b_met_eta; |
304 |
|
TBranch * b_met_phi; |
305 |
|
TBranch * b_met_energy; |
306 |
+ |
TBranch * b_jet1_et; |
307 |
|
TBranch * b_jet1_pt; |
308 |
|
TBranch * b_jet1_eta; |
309 |
|
TBranch * b_jet1_phi; |
310 |
|
TBranch * b_jet1_energy; |
311 |
+ |
TBranch * b_jet2_et; |
312 |
|
TBranch * b_jet2_pt; |
313 |
|
TBranch * b_jet2_eta; |
314 |
|
TBranch * b_jet2_phi; |
315 |
|
TBranch * b_jet2_energy; |
316 |
+ |
TBranch * b_jet3_et; |
317 |
|
TBranch * b_jet3_pt; |
318 |
|
TBranch * b_jet3_eta; |
319 |
|
TBranch * b_jet3_phi; |
320 |
|
TBranch * b_jet3_energy; |
321 |
+ |
TBranch * b_jet4_et; |
322 |
|
TBranch * b_jet4_pt; |
323 |
|
TBranch * b_jet4_eta; |
324 |
|
TBranch * b_jet4_phi; |