CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWPFMaths.h
Go to the documentation of this file.
1 #ifndef _FWPFMATHS_H_
2 #define _FWPFMATHS_H_
3 
4 namespace FWPFMaths
5 {
6  TEveVector lineCircleIntersect( const TEveVector &v1, const TEveVector &v2, float r );
7  TEveVector lineLineIntersect( const TEveVector &v1, const TEveVector &v2,
8  const TEveVector &v3, const TEveVector &v4 );
9  TEveVector cross( const TEveVector &v1, const TEveVector &v2 );
10  TEveVector calculateCentre( const float *vertices );
11  float linearInterpolation( const TEveVector &p1, const TEveVector &p2, float r );
12  float dot( const TEveVector &v1, const TEveVector &v2 );
13  float sgn( float val );
14  float calculateEt( const TEveVector &centre, float e );
15  bool checkIntersect( const TEveVector &vec, float r );
16 }
17 #endif
TEveVector cross(const TEveVector &v1, const TEveVector &v2)
Definition: FWPFMaths.cc:16
float sgn(float val)
Definition: FWPFMaths.cc:9
float linearInterpolation(const TEveVector &p1, const TEveVector &p2, float r)
Definition: FWPFMaths.cc:91
bool checkIntersect(const TEveVector &vec, float r)
Definition: FWPFMaths.cc:103
double p2[4]
Definition: TauolaWrapper.h:90
float calculateEt(const TEveVector &centre, float e)
Definition: FWPFMaths.cc:115
TEveVector calculateCentre(const float *vertices)
double p1[4]
Definition: TauolaWrapper.h:89
float dot(const TEveVector &v1, const TEveVector &v2)
Definition: FWPFMaths.cc:29
TEveVector lineCircleIntersect(const TEveVector &v1, const TEveVector &v2, float r)
Definition: FWPFMaths.cc:38
TEveVector lineLineIntersect(const TEveVector &v1, const TEveVector &v2, const TEveVector &v3, const TEveVector &v4)
Definition: FWPFMaths.cc:73