Jpp
19.0.0
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JFit
JPoint4E.hh
Go to the documentation of this file.
1
#ifndef __JPOINT4E__
2
#define __JPOINT4E__
3
4
#include "
JFit/JPoint4D.hh
"
5
6
7
/**
8
* \author vcarretero
9
*/
10
11
namespace
JFIT {}
12
namespace
JPP {
using namespace
JFIT; }
13
14
namespace
JFIT {
15
16
using
JFIT::JPoint4D
;
17
18
19
/**
20
* Data structure for vertex fit.
21
*/
22
class
JPoint4E
:
23
public
JPoint4D
24
{
25
public
:
26
/**
27
* Default constructor.
28
*/
29
JPoint4E
() :
30
JPoint4D
(),
31
__E
(0.0)
32
{}
33
34
35
/**
36
* Constructor
37
*
38
* \param vertex vertex position and time
39
* \param E issotropic energy
40
*/
41
JPoint4E
(
const
JPoint4D
& vertex,
42
const
double
E
) :
43
JPoint4D
(vertex),
44
__E
(E)
45
{}
46
47
/**
48
* Get energy.
49
*
50
* \return energy
51
*/
52
inline
double
getE
()
const
53
{
54
return
__E
;
55
}
56
57
/**
58
* Set energy.
59
*
60
* \param E energy
61
*/
62
inline
void
setE
(
const
double
E
)
63
{
64
__E
=
E
;
65
}
66
67
typedef
double
JPoint4E
::*
parameter_type
;
68
69
static
parameter_type
pX
() {
return
&
JPoint4E::__x
; }
70
static
parameter_type
pY
() {
return
&
JPoint4E::__y
; }
71
static
parameter_type
pZ
() {
return
&
JPoint4E::__z
; }
72
static
parameter_type
pT
() {
return
&
JPoint4E::__t
; }
73
static
parameter_type
pE
() {
return
&
JPoint4E::__E
; }
74
protected
:
75
double
__E
;
76
};
77
}
78
#endif
JFIT::JPoint4E::parameter_type
double JPoint4E::* parameter_type
Definition:
JPoint4E.hh:67
E
then usage $script< input file >[option[primary[working directory]]] nWhere option can be E
Definition:
JMuonPostfit.sh:40
JFIT::JPoint4E::setE
void setE(const double E)
Set energy.
Definition:
JPoint4E.hh:62
JFIT::JPoint4D::parameter_type
double JPoint4D::* parameter_type
Definition:
JPoint4D.hh:56
JFIT::JPoint4D
Data structure for vertex fit.
Definition:
JPoint4D.hh:22
JFIT::JPoint4E::getE
double getE() const
Get energy.
Definition:
JPoint4E.hh:52
JPoint4D.hh
JFIT::JPoint4E::__E
double __E
Definition:
JPoint4E.hh:75
JFIT::JPoint4E
Data structure for vertex fit.
Definition:
JPoint4E.hh:22
JFIT::JPoint4E::JPoint4E
JPoint4E()
Default constructor.
Definition:
JPoint4E.hh:29
JGEOMETRY3D::JVector3D::__z
double __z
Definition:
JVector3D.hh:312
JGEOMETRY3D::JVector3D::__y
double __y
Definition:
JVector3D.hh:311
JFIT::JPoint4E::pT
static parameter_type pT()
Definition:
JPoint4E.hh:72
JFIT::JPoint4E::pX
static parameter_type pX()
Definition:
JPoint4E.hh:69
JFIT::JPoint4E::pY
static parameter_type pY()
Definition:
JPoint4E.hh:70
JFIT::JPoint4E::pE
static parameter_type pE()
Definition:
JPoint4E.hh:73
JFIT::JPoint4E::JPoint4E
JPoint4E(const JPoint4D &vertex, const double E)
Constructor.
Definition:
JPoint4E.hh:41
JGEOMETRY3D::JTime::__t
double __t
Definition:
JGeometry3D/JTime.hh:202
JGEOMETRY3D::JVector3D::__x
double __x
Definition:
JVector3D.hh:310
JFIT::JPoint4E::pZ
static parameter_type pZ()
Definition:
JPoint4E.hh:71
Generated by
1.8.5