Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:37

0001 #include "Eventplaneinfov1.h"
0002 
0003 #include <cmath>
0004 
0005 void Eventplaneinfov1::identify(std::ostream& os) const
0006 {
0007   os << "---------Eventplaneinfov1------------------" << std::endl;
0008   return;
0009 }
0010 
0011 double Eventplaneinfov1::GetPsi(double Qx, double Qy, unsigned int order) const
0012 {
0013   double temp;
0014   if ((Qx == 0.0) && (Qy == 0.0))
0015   {
0016     temp = NAN;
0017   }
0018   else
0019   {
0020     temp = atan2(Qy, Qx) / ((double) order);
0021   }
0022   return temp;
0023 }