From 4b4af7747e1761acdcc46281c7fc8066e54033a8 Mon Sep 17 00:00:00 2001 From: Tamas Vami Date: Tue, 3 Sep 2024 13:33:35 -0700 Subject: [PATCH] Introduce epdot in EcalVeto --- Ecal/src/Ecal/EcalVetoProcessor.cxx | 1 + 1 file changed, 1 insertion(+) 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));