225 |
|
TH1F * h_wf11_hpt; |
226 |
|
if(ctrl.mc) { |
227 |
|
nt.makeWeightBranch(weights); |
228 |
< |
// nt.makeGenInfoBranch(geninfo); |
228 |
> |
if(ctrl.fillGen ) nt.makeGenInfoBranch(geninfo); |
229 |
|
initEfficiencyWeights(); |
230 |
|
initPUWeights(); |
231 |
|
|
328 |
|
chain->GetEntry(ientry); |
329 |
|
if(!(ientry%1000)) cerr << "entry: " << ientry << endl; |
330 |
|
|
331 |
< |
#ifdef HACKED_RHOS |
332 |
< |
float rho = evtrhoMap[info->EvtNum()]; |
333 |
< |
#endif |
331 |
> |
//if( info->EvtNum() != 217998 ) continue; |
332 |
> |
// if( info->EvtNum() != 238893 ) continue; |
333 |
> |
// if( info->EvtNum() != 289066 ) continue; |
334 |
> |
|
335 |
|
string fname = string(chain->GetFile()->GetEndpointUrl()->GetFile()); |
336 |
|
setEra( fname, ctrl ); |
337 |
|
|
438 |
|
apply_HZZ4L_reference_selection(ctrl, info, |
439 |
|
vtxArr, |
440 |
|
pfArr, |
440 |
– |
#ifdef HACKED_RHOS |
441 |
– |
rho, |
442 |
– |
#else |
441 |
|
puDArr, |
444 |
– |
#endif |
442 |
|
electronArr, |
443 |
|
&electronReferencePreSelection, |
444 |
|
&electronReferenceIDMVASelectionV1, |