Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
duneanaobj
duneanaobj
StandardRecord
SRLorentzVector.cxx
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// \file SRLorentzVector.cxx
3
// \author Christopher Backhouse - c.backhouse@ucl.ac.uk
4
////////////////////////////////////////////////////////////////////////
5
6
#include "
duneanaobj/StandardRecord/SRLorentzVector.h
"
7
8
#include <limits>
9
10
namespace
caf
11
{
12
SRLorentzVector::SRLorentzVector
() :
13
E
(
std
::numeric_limits<
float
>::signaling_NaN()),
14
px
(
std
::numeric_limits<
float
>::signaling_NaN()),
15
py
(
std
::numeric_limits<
float
>::signaling_NaN()),
16
pz
(
std
::numeric_limits<
float
>::signaling_NaN())
17
{}
18
19
SRLorentzVector::SRLorentzVector
(
const
TLorentzVector& v)
20
:
E
(v.
E
()),
px
(v.
X
()),
py
(v.
Y
()),
pz
(v.
Z
())
21
{
22
}
23
24
SRLorentzVector::operator TLorentzVector()
const
25
{
26
return
TLorentzVector(
px
,
py
,
pz
,
E
);
27
}
28
29
}
// end namespace caf
30
////////////////////////////////////////////////////////////////////////
reco_momentum_tuples.py
py
Definition:
reco_momentum_tuples.py:219
reco_momentum_tuples.float
float
Definition:
reco_momentum_tuples.py:12
std
STL namespace.
reco_momentum_tuples.px
px
Definition:
reco_momentum_tuples.py:218
caf::SRLorentzVector::px
float px
Definition:
SRLorentzVector.h:54
SRLorentzVector.h
E
Definition:
pointersEqual_t.cc:12
reco_momentum_tuples.pz
pz
Definition:
reco_momentum_tuples.py:220
caf::SRLorentzVector::Y
float Y() const
Definition:
SRLorentzVector.h:44
caf::SRLorentzVector::Z
float Z() const
Definition:
SRLorentzVector.h:45
caf::SRLorentzVector::X
float X() const
Definition:
SRLorentzVector.h:43
caf
Common Analysis Files.
Definition:
SRGAr.h:13
caf::SRLorentzVector::SRLorentzVector
SRLorentzVector()
Definition:
SRLorentzVector.cxx:12
caf::SRLorentzVector::pz
float pz
Definition:
SRLorentzVector.h:56
caf::SRLorentzVector::py
float py
Definition:
SRLorentzVector.h:55
Generated by
1.8.11