47 |
|
#include "Selection.h" |
48 |
|
#include "HZZCiCElectronSelection.h" |
49 |
|
#include "HZZLikelihoodElectronSelection.h" |
50 |
+ |
#include "HZZBDTElectronSelection.h" |
51 |
|
#include "SampleWeight.h" |
52 |
|
|
53 |
|
//#define THEIR_EVENTS |
99 |
|
TH1F * h_evtfail = new TH1F("hevtfail", "hevtfail", 1024, 0, 1024 ); |
100 |
|
TNtuple * passtuple = new TNtuple( "passtuple", "passtuple", "run:evt:lumi:channel:mZ1:mZ2:m4l:pt4l:w" ); |
101 |
|
initCiCSelection(); |
102 |
< |
initLikSelection(); |
102 |
> |
if(ctrl.eleSele=="lik") initLikSelection(); |
103 |
> |
if(ctrl.eleSele=="bdt") initBDTSelection(); |
104 |
|
initRunLumiRangeMap(); |
105 |
|
|
106 |
|
// |
134 |
|
|
135 |
|
|
136 |
|
cout << "nEntries: " << chain->GetEntries() << endl; |
137 |
< |
for(UInt_t ientry=0; ientry<chain->GetEntries(); ientry++) { |
137 |
> |
for(UInt_t ientry=0; ientry<chain->GetEntries(); ientry++) { |
138 |
|
|
139 |
|
chain->GetEntry(ientry); |
140 |
|
if(!(ientry%100000)) cout << "entry: " << ientry << endl; |
199 |
|
file->Close(); |
200 |
|
delete file; |
201 |
|
|
202 |
+ |
// map<TString,TMVA::Reader*>::iterator it; |
203 |
+ |
// for(it=readers.begin(); it!=readers.end(); it++) delete (*it).second; |
204 |
+ |
|
205 |
|
cerr << "done!" << endl; |
206 |
|
} |
207 |
|
|