CMS 3D CMS Logo

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
FWPFMaths::sgn
float sgn(float val)
Definition: FWPFMaths.cc:9
AlignmentTracksFromVertexSelector_cfi.vertices
vertices
Definition: AlignmentTracksFromVertexSelector_cfi.py:5
FWPFMaths::lineLineIntersect
TEveVector lineLineIntersect(const TEveVector &v1, const TEveVector &v2, const TEveVector &v3, const TEveVector &v4)
Definition: FWPFMaths.cc:73
FWPFMaths::calculateEt
float calculateEt(const TEveVector &centre, float e)
Definition: FWPFMaths.cc:115
FWPFMaths
Definition: FWPFMaths.h:6
p2
double p2[4]
Definition: TauolaWrapper.h:90
FWPFMaths::calculateCentre
TEveVector calculateCentre(const float *vertices)
FWPFMaths::dot
float dot(const TEveVector &v1, const TEveVector &v2)
Definition: FWPFMaths.cc:29
FWPFMaths::checkIntersect
bool checkIntersect(const TEveVector &vec, float r)
Definition: FWPFMaths.cc:103
p1
double p1[4]
Definition: TauolaWrapper.h:89
FWPFMaths::cross
TEveVector cross(const TEveVector &v1, const TEveVector &v2)
Definition: FWPFMaths.cc:16
FWPFMaths::lineCircleIntersect
TEveVector lineCircleIntersect(const TEveVector &v1, const TEveVector &v2, float r)
Definition: FWPFMaths.cc:38
alignCSCRings.r
r
Definition: alignCSCRings.py:93
heppy_batch.val
val
Definition: heppy_batch.py:351
FWPFMaths::linearInterpolation
float linearInterpolation(const TEveVector &p1, const TEveVector &p2, float r)
Definition: FWPFMaths.cc:91
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37