1 |
|
#include "Selection.h" |
2 |
|
#include "PassHLT.h" |
3 |
+ |
|
4 |
+ |
#include "SiMVAElectronSelection.h" |
5 |
+ |
|
6 |
|
#include "HZZCiCElectronSelection.h" |
7 |
|
#include "HZZLikelihoodElectronSelection.h" |
8 |
|
#include "HZZBDTElectronSelection.h" |
166 |
|
} |
167 |
|
unsigned failsBDT=0; |
168 |
|
if(ctrl.eleSele=="bdt") { |
169 |
< |
failsBDT = failsBDTSelection(ele,ctrl.kinematics,ctrl.eleSeleScheme); |
169 |
> |
failsBDT = failsBDTSelection(ctrl,ele); |
170 |
|
FAIL = failsBDT; |
171 |
|
} |
172 |
+ |
unsigned failsSi=0; |
173 |
+ |
if(ctrl.eleSele=="si") { |
174 |
+ |
failsSi = failsSiMVAElectronSelection(ctrl, ele, 0.95, ctrl.kinematics); |
175 |
+ |
FAIL = failsSi; |
176 |
+ |
} |
177 |
+ |
|
178 |
+ |
|
179 |
+ |
|
180 |
|
|
181 |
|
if( ctrl.debug ){ |
182 |
|
cout << "CIC category: " << cicCategory(ele) |
591 |
|
unsigned evt = info->evtNum; |
592 |
|
unsigned lumi = info->lumiSec; |
593 |
|
unsigned chan = channel; |
594 |
+ |
double w = eventweight; |
595 |
|
float mZ1 = Z1Candidate.M() ; |
596 |
|
float mZ2 = Z2Candidate.M() ; |
597 |
|
float m4l = ZZSystem.M() ; |
603 |
|
passtuple->SetBranchAddress("mZ2", &mZ2); |
604 |
|
passtuple->SetBranchAddress("m4l", &m4l); |
605 |
|
passtuple->SetBranchAddress("pt4l", &pt4l); |
606 |
< |
passtuple->SetBranchAddress("w", &eventweight); |
606 |
> |
passtuple->SetBranchAddress("w", &w); |
607 |
|
passtuple->Fill( ); |
608 |
|
} |
609 |
|
|