#include <ShipParticle.h>
|
| ShipParticle () |
|
| ShipParticle (Int_t pdg, Int_t status, Int_t mother1, Int_t mother2, Int_t daughter1, Int_t daughter2, Double_t px, Double_t py, Double_t pz, Double_t etot, Double_t vx, Double_t vy, Double_t vz, Double_t time) |
|
| ShipParticle (Int_t pdg, Int_t status, Int_t mother1, Int_t mother2, Int_t daughter1, Int_t daughter2, const TLorentzVector &p, const TLorentzVector &v) |
|
virtual | ~ShipParticle () |
|
void | Print (Int_t iTrack=0) const |
|
void | GetMomentum (TLorentzVector &momentum) |
|
Double_t | GetMass () |
|
void | GetVertex (TVector3 &vertex) |
|
TMatrixDSym * | GetCovP () |
|
TMatrixDSym * | GetCovV () |
|
void | SetCovP (Double_t *x) |
|
void | SetCovV (Double_t *x) |
|
Double_t | GetDoca () const |
|
void | SetDoca (Double_t x) |
|
Definition at line 26 of file ShipParticle.h.
◆ ShipParticle() [1/3]
ShipParticle::ShipParticle |
( |
| ) |
|
◆ ShipParticle() [2/3]
ShipParticle::ShipParticle |
( |
Int_t |
pdg, |
|
|
Int_t |
status, |
|
|
Int_t |
mother1, |
|
|
Int_t |
mother2, |
|
|
Int_t |
daughter1, |
|
|
Int_t |
daughter2, |
|
|
Double_t |
px, |
|
|
Double_t |
py, |
|
|
Double_t |
pz, |
|
|
Double_t |
etot, |
|
|
Double_t |
vx, |
|
|
Double_t |
vy, |
|
|
Double_t |
vz, |
|
|
Double_t |
time |
|
) |
| |
Definition at line 18 of file ShipParticle.cxx.
22 :TParticle(pdg, status,mother1,mother2,daughter1,daughter2,
23 px, py, pz, etot, vx, vy, vz, time),
24 fCovP(TMatrixDSym(4)),
26 {
28 }
◆ ShipParticle() [3/3]
ShipParticle::ShipParticle |
( |
Int_t |
pdg, |
|
|
Int_t |
status, |
|
|
Int_t |
mother1, |
|
|
Int_t |
mother2, |
|
|
Int_t |
daughter1, |
|
|
Int_t |
daughter2, |
|
|
const TLorentzVector & |
p, |
|
|
const TLorentzVector & |
v |
|
) |
| |
Definition at line 30 of file ShipParticle.cxx.
34 :TParticle(pdg, status,mother1,mother2,daughter1,daughter2,p,v),
35 fCovP(TMatrixDSym(4)),
37 {
39 }
◆ ~ShipParticle()
ShipParticle::~ShipParticle |
( |
| ) |
|
|
virtual |
◆ ClassDef()
◆ GetCovP()
TMatrixDSym * ShipParticle::GetCovP |
( |
| ) |
|
|
inline |
◆ GetCovV()
TMatrixDSym * ShipParticle::GetCovV |
( |
| ) |
|
|
inline |
◆ GetDoca()
Double_t ShipParticle::GetDoca |
( |
| ) |
const |
|
inline |
◆ GetMass()
Double_t ShipParticle::GetMass |
( |
| ) |
|
Definition at line 96 of file ShipParticle.cxx.
97{
101}
void GetMomentum(TLorentzVector &momentum)
◆ GetMomentum()
void ShipParticle::GetMomentum |
( |
TLorentzVector & |
momentum | ) |
|
◆ GetVertex()
void ShipParticle::GetVertex |
( |
TVector3 & |
vertex | ) |
|
◆ Print()
void ShipParticle::Print |
( |
Int_t |
iTrack = 0 | ) |
const |
◆ SetCovP()
void ShipParticle::SetCovP |
( |
Double_t * |
x | ) |
|
Definition at line 49 of file ShipParticle.cxx.
50{
51 fCovP(0,0) = covElements[0];
52 fCovP(0,1) = covElements[1];
53 fCovP(0,2) = covElements[2];
54 fCovP(0,3) = covElements[3];
55
56 fCovP(1,0) = covElements[1];
57 fCovP(1,1) = covElements[4];
58 fCovP(1,2) = covElements[5];
59 fCovP(1,3) = covElements[6];
60
61 fCovP(2,0) = covElements[2];
62 fCovP(2,1) = covElements[5];
63 fCovP(2,2) = covElements[7];
64 fCovP(2,3) = covElements[8];
65
66
67 fCovP(3,0) = covElements[3];
68 fCovP(3,1) = covElements[6];
69 fCovP(3,2) = covElements[8];
70 fCovP(3,3) = covElements[9];
71
72
73}
◆ SetCovV()
void ShipParticle::SetCovV |
( |
Double_t * |
x | ) |
|
Definition at line 75 of file ShipParticle.cxx.
76{
77 fCovV(0,0) = covElements[0];
78 fCovV(0,1) = covElements[1];
79 fCovV(0,2) = covElements[2];
80 fCovV(1,1) = covElements[3];
81 fCovV(1,2) = covElements[4];
82 fCovV(2,2) = covElements[5];
83 fCovV(1,0) = covElements[1];
84 fCovV(2,0) = covElements[2];
85 fCovV(2,1) = covElements[4];
86}
◆ SetDoca()
void ShipParticle::SetDoca |
( |
Double_t |
x | ) |
|
|
inline |
◆ doca
Double_t ShipParticle::doca |
|
private |
◆ fCovP
TMatrixDSym ShipParticle::fCovP |
|
private |
◆ fCovV
TMatrixDSym ShipParticle::fCovV |
|
private |
The documentation for this class was generated from the following files: