Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:01:41

0001 #ifndef _FWPFMATHS_H_
0002 #define _FWPFMATHS_H_
0003 
0004 #include "TEveVector.h"
0005 
0006 namespace FWPFMaths {
0007   TEveVector lineCircleIntersect(const TEveVector &v1, const TEveVector &v2, float r);
0008   TEveVector lineLineIntersect(const TEveVector &v1, const TEveVector &v2, const TEveVector &v3, const TEveVector &v4);
0009   TEveVector cross(const TEveVector &v1, const TEveVector &v2);
0010   TEveVector calculateCentre(const float *vertices);
0011   float linearInterpolation(const TEveVector &p1, const TEveVector &p2, float r);
0012   float dot(const TEveVector &v1, const TEveVector &v2);
0013   float sgn(float val);
0014   float calculateEt(const TEveVector &centre, float e);
0015   bool checkIntersect(const TEveVector &vec, float r);
0016 }  // namespace FWPFMaths
0017 #endif