Jpp 19.3.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
JPoint4D.hh
Go to the documentation of this file.
1#ifndef __JPOINT4D__
2#define __JPOINT4D__
3
5
6
7/**
8 * \author mdejong
9 */
10
11namespace JFIT {}
12namespace JPP { using namespace JFIT; }
13
14namespace JFIT {
15
17
18
19 /**
20 * Data structure for vertex fit.
21 */
22 class JPoint4D :
23 public JVertex3D
24 {
25 public:
26 /**
27 * Default constructor.
28 */
30 JVertex3D()
31 {}
32
33
34 /**
35 * Constructor
36 *
37 * \param pos position
38 * \param t time at position
39 */
40 JPoint4D(const JVector3D& pos,
41 const double t) :
42 JVertex3D(pos, t)
43 {}
44
45
46 /**
47 * Constructor
48 *
49 * \param vertex vertex
50 */
51 JPoint4D(const JVertex3D& vertex) :
52 JVertex3D(vertex)
53 {}
54
55
56 typedef double JPoint4D::*parameter_type;
57
58 static parameter_type pX() { return &JPoint4D::__x; }
59 static parameter_type pY() { return &JPoint4D::__y; }
60 static parameter_type pZ() { return &JPoint4D::__z; }
61 static parameter_type pT() { return &JPoint4D::__t; }
62 };
63}
64#endif
Data structure for vertex fit.
Definition JPoint4D.hh:24
static parameter_type pT()
Definition JPoint4D.hh:61
static parameter_type pZ()
Definition JPoint4D.hh:60
JPoint4D()
Default constructor.
Definition JPoint4D.hh:29
JPoint4D(const JVertex3D &vertex)
Constructor.
Definition JPoint4D.hh:51
static parameter_type pX()
Definition JPoint4D.hh:58
double JPoint4D::* parameter_type
Definition JPoint4D.hh:56
static parameter_type pY()
Definition JPoint4D.hh:59
JPoint4D(const JVector3D &pos, const double t)
Constructor.
Definition JPoint4D.hh:40
Data structure for vector in three dimensions.
Definition JVector3D.hh:36
Auxiliary classes and methods for linear and iterative data regression.
Definition JEnergy.hh:15
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).