#ifndef TPCALIGNMENTHELPER_H #define TPCALIGNMENTHELPER_H #include #include #include #include class TpcAlignmentHelper : public TObject { public: TpcAlignmentHelper(); private: const double deg2rad; public: std::vector getRotationMatrixZYX(double phi,double theta, double psi, bool print=false); void getAnglesZYX(TGeoRotation* rot, double& phi,double& theta, double& psi); void getAnglesZYX(std::vector mat, double& phi,double& theta, double& psi); std::vector getAnglesZYX(std::vector mat); std::vector getAnglesZYX(TGeoRotation* rot); ClassDef(TpcAlignmentHelper,0) }; #endif // TPCALIGNMENTHELPER_H