CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FWPFMaths.h
Go to the documentation of this file.
1 #ifndef _FWPFMATHS_H_
2 #define _FWPFMATHS_H_
3 
4 #include "TEveVector.h"
5 
6 namespace FWPFMaths {
7  TEveVector lineCircleIntersect(const TEveVector &v1, const TEveVector &v2, float r);
8  TEveVector lineLineIntersect(const TEveVector &v1, const TEveVector &v2, 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 } // namespace FWPFMaths
17 #endif
const TString p2
Definition: fwPaths.cc:13
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
const TString p1
Definition: fwPaths.cc:12
float calculateEt(const TEveVector &centre, float e)
Definition: FWPFMaths.cc:115
TEveVector calculateCentre(const float *vertices)
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