48 |
|
const mithep::Vertex * vtx ) ; |
49 |
|
//-------------------------------------------------------------------------------------------------- |
50 |
|
|
51 |
– |
// TMPTMPTMP -- global for FSR study |
52 |
– |
// std::vector< std::vector<int> > gammaMatches; |
53 |
– |
// TMPTMPTMP -- global for FSR study |
54 |
– |
|
51 |
|
//-------------------------------------------------------------------------------------------------- |
52 |
|
EventData apply_HZZ4L_reference_selection(ControlFlags &ctrl, // input control |
53 |
|
const mithep::EventHeader *info, // input event info |
96 |
|
failingLeptons.clear(); |
97 |
|
passingLeptons.clear(); |
98 |
|
|
103 |
– |
/* |
104 |
– |
// TMPTMPTMP -- global for FSR study |
105 |
– |
gammaMatches.clear(); |
106 |
– |
for( int i=0; i<pfCandidates->GetEntries(); i++ ) { |
107 |
– |
gammaMatches.push_back(std::vector<int> ()); |
108 |
– |
} |
109 |
– |
// TMPTMPTMP -- global for FSR study |
110 |
– |
*/ |
111 |
– |
|
99 |
|
mithep::MuonTools::EMuonEffectiveAreaTarget eraMu; |
100 |
|
mithep::ElectronTools::EElectronEffectiveAreaTarget eraEle; |
101 |
|
getEATargets(ctrl,eraMu,eraEle); |
199 |
|
cerr.flush(); |
200 |
|
} |
201 |
|
|
215 |
– |
// TMPTMPTMP |
216 |
– |
if( ctrl.mc ) { |
202 |
|
//*********************************************************** |
203 |
< |
// Trigger Selection -- get rid of this here, it's for sync |
203 |
> |
// Trigger Selection |
204 |
|
//*********************************************************** |
205 |
< |
if( passes_HLT_MC ) { |
206 |
< |
ret.status.selectionBits.flip(PASS_TRIGGER); |
207 |
< |
cutvec[PASS_TRIGGER] +=1; |
208 |
< |
} else { |
209 |
< |
ret.status.setStatus(SelectionStatus::FAIL); |
210 |
< |
return ret; |
211 |
< |
} |
205 |
> |
if( ctrl.mc ) { |
206 |
> |
if( passes_HLT_MC ) { |
207 |
> |
ret.status.selectionBits.flip(PASS_TRIGGER); |
208 |
> |
cutvec[PASS_TRIGGER] +=1; |
209 |
> |
} else { |
210 |
> |
ret.status.setStatus(SelectionStatus::FAIL); |
211 |
> |
return ret; |
212 |
> |
} |
213 |
|
} else { |
214 |
|
ret.status.selectionBits.flip(PASS_TRIGGER); |
215 |
|
cutvec[PASS_TRIGGER] +=1; |
216 |
|
} |
217 |
< |
|
217 |
> |
|
218 |
|
//*********************************************************** |
219 |
|
// Lepton Selection |
220 |
|
//*********************************************************** |