diff --git a/Ecal/src/Ecal/EcalVetoProcessor.cxx b/Ecal/src/Ecal/EcalVetoProcessor.cxx index 72d76e2c5..541b36c04 100644 --- a/Ecal/src/Ecal/EcalVetoProcessor.cxx +++ b/Ecal/src/Ecal/EcalVetoProcessor.cxx @@ -744,6 +744,7 @@ void EcalVetoProcessor::produce(framework::Event &event) { TVector3 e_norm = evec.Unit(); TVector3 pvec = p_traj_end - p_traj_start; TVector3 p_norm = pvec.Unit(); + epDot_ = e_norm.Dot(p_norm); epAng_ = acos(epDot_) * 180.0 / M_PI; epSep_ = sqrt(pow(e_traj_start.X() - p_traj_start.X(), 2) + pow(e_traj_start.Y() - p_traj_start.Y(), 2));