61 PtEtaPhiEVector lepton0, lepton1;
62 int total_leptons = 0;
63 bool isfilled0(
false), isfilled1(
false);
70 lepton0.SetCoordinates(acc_pt_dressed(*el),
75 lepton0.SetCoordinates(el->pt(), el->eta(), el->phi(), el->e());
77 }
else if (!isfilled1){
79 lepton1.SetCoordinates(acc_pt_dressed(*el),
84 lepton1.SetCoordinates(el->pt(), el->eta(), el->phi(), el->e());
98 lepton0.SetCoordinates(acc_pt_dressed(*mu),
100 acc_phi_dressed(*mu),
103 lepton0.SetCoordinates(mu->pt(), mu->eta(), mu->phi(), mu->e());
105 }
else if (!isfilled1){
107 lepton1.SetCoordinates(acc_pt_dressed(*mu),
108 acc_eta_dressed(*mu),
109 acc_phi_dressed(*mu),
112 lepton1.SetCoordinates(mu->pt(), mu->eta(), mu->phi(), mu->e());
121 if (total_leptons != 2){
122 ATH_MSG_ERROR(
"Exactly two leptons are required to compute the MLL window!");
123 return StatusCode::FAILURE;
127 float mll = (lepton0 + lepton1).M();
131 bool decision =
m_veto ? (!in_range) : in_range;
134 return StatusCode::SUCCESS;
Class providing the definition of the 4-vector interface.