Skip to content

Commit

Permalink
Introduce epdot in EcalVeto
Browse files Browse the repository at this point in the history
  • Loading branch information
tvami committed Sep 3, 2024
1 parent 8697f60 commit 4b4af77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Ecal/src/Ecal/EcalVetoProcessor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 4b4af77

Please sign in to comment.