#include <BesTruthTrack.hh>
◆ anonymous enum
◆ anonymous enum
◆ BesTruthTrack() [1/2]
BesTruthTrack::BesTruthTrack |
( |
| ) |
|
Definition at line 17 of file BesTruthTrack.cc.
18:m_fourMomentum(0),m_daughterIndexes(0)
19{
20
21 m_vertex=0;
22 m_terminalVertex=0;
23 m_PDGCode=0;
24 m_PDGCharge=-99;
25 m_particleName="";
27 m_g4TrackId=-99;
28
29 m_found=false;
30 m_source="";
31}
◆ ~BesTruthTrack() [1/2]
BesTruthTrack::~BesTruthTrack |
( |
| ) |
|
|
inline |
◆ BesTruthTrack() [2/2]
BesTruthTrack::BesTruthTrack |
( |
| ) |
|
◆ ~BesTruthTrack() [2/2]
BesTruthTrack::~BesTruthTrack |
( |
| ) |
|
|
inline |
◆ AddDaughterIndex() [1/2]
void BesTruthTrack::AddDaughterIndex |
( |
G4int |
index | ) |
|
|
inline |
◆ AddDaughterIndex() [2/2]
void BesTruthTrack::AddDaughterIndex |
( |
G4int |
index | ) |
|
|
inline |
◆ Found() [1/2]
void BesTruthTrack::Found |
( |
| ) |
|
|
inline |
◆ Found() [2/2]
void BesTruthTrack::Found |
( |
| ) |
|
|
inline |
◆ GetBarcodeEndVtx() [1/2]
G4int BesTruthTrack::GetBarcodeEndVtx |
( |
| ) |
|
|
inline |
◆ GetBarcodeEndVtx() [2/2]
G4int BesTruthTrack::GetBarcodeEndVtx |
( |
| ) |
|
|
inline |
◆ GetDaughterIndexes() [1/2]
vector< int > BesTruthTrack::GetDaughterIndexes |
( |
| ) |
const |
|
inline |
◆ GetDaughterIndexes() [2/2]
vector< int > BesTruthTrack::GetDaughterIndexes |
( |
| ) |
const |
|
inline |
◆ GetG4TrackId() [1/2]
G4int BesTruthTrack::GetG4TrackId |
( |
| ) |
const |
|
inline |
◆ GetG4TrackId() [2/2]
G4int BesTruthTrack::GetG4TrackId |
( |
| ) |
const |
|
inline |
◆ GetIndex() [1/2]
G4int BesTruthTrack::GetIndex |
( |
| ) |
const |
|
inline |
◆ GetIndex() [2/2]
G4int BesTruthTrack::GetIndex |
( |
| ) |
const |
|
inline |
◆ GetP4() [1/2]
HepLorentzVector BesTruthTrack::GetP4 |
( |
| ) |
const |
|
inline |
◆ GetP4() [2/2]
HepLorentzVector BesTruthTrack::GetP4 |
( |
| ) |
const |
|
inline |
◆ GetParentTrack() [1/2]
◆ GetParentTrack() [2/2]
◆ GetParticleName() [1/2]
G4String BesTruthTrack::GetParticleName |
( |
| ) |
const |
|
inline |
◆ GetParticleName() [2/2]
G4String BesTruthTrack::GetParticleName |
( |
| ) |
const |
|
inline |
◆ GetPDGCharge() [1/2]
G4double BesTruthTrack::GetPDGCharge |
( |
| ) |
const |
|
inline |
◆ GetPDGCharge() [2/2]
G4double BesTruthTrack::GetPDGCharge |
( |
| ) |
const |
|
inline |
◆ GetPDGCode() [1/2]
G4int BesTruthTrack::GetPDGCode |
( |
| ) |
const |
|
inline |
◆ GetPDGCode() [2/2]
G4int BesTruthTrack::GetPDGCode |
( |
| ) |
const |
|
inline |
◆ GetSource() [1/2]
G4String BesTruthTrack::GetSource |
( |
| ) |
|
|
inline |
◆ GetSource() [2/2]
G4String BesTruthTrack::GetSource |
( |
| ) |
|
|
inline |
◆ GetTerminalVertex() [1/2]
◆ GetTerminalVertex() [2/2]
◆ GetVertex() [1/2]
◆ GetVertex() [2/2]
◆ NotFound() [1/2]
G4bool BesTruthTrack::NotFound |
( |
| ) |
|
|
inline |
◆ NotFound() [2/2]
G4bool BesTruthTrack::NotFound |
( |
| ) |
|
|
inline |
◆ SetBarcodeEndVtx() [1/2]
void BesTruthTrack::SetBarcodeEndVtx |
( |
G4int |
vtx | ) |
|
|
inline |
◆ SetBarcodeEndVtx() [2/2]
void BesTruthTrack::SetBarcodeEndVtx |
( |
G4int |
vtx | ) |
|
|
inline |
◆ SetG4TrackId() [1/2]
void BesTruthTrack::SetG4TrackId |
( |
G4int |
trackId | ) |
|
|
inline |
◆ SetG4TrackId() [2/2]
void BesTruthTrack::SetG4TrackId |
( |
G4int |
trackId | ) |
|
|
inline |
◆ SetIndex() [1/2]
void BesTruthTrack::SetIndex |
( |
G4int |
index | ) |
|
|
inline |
◆ SetIndex() [2/2]
void BesTruthTrack::SetIndex |
( |
G4int |
index | ) |
|
|
inline |
◆ SetP4() [1/2]
void BesTruthTrack::SetP4 |
( |
const HepLorentzVector & |
p4 | ) |
|
|
inline |
◆ SetP4() [2/2]
void BesTruthTrack::SetP4 |
( |
const HepLorentzVector & |
p4 | ) |
|
|
inline |
◆ SetParticleName() [1/2]
void BesTruthTrack::SetParticleName |
( |
G4String |
name | ) |
|
|
inline |
◆ SetParticleName() [2/2]
void BesTruthTrack::SetParticleName |
( |
G4String |
name | ) |
|
|
inline |
◆ SetPDGCharge() [1/2]
void BesTruthTrack::SetPDGCharge |
( |
G4double |
charge | ) |
|
|
inline |
◆ SetPDGCharge() [2/2]
void BesTruthTrack::SetPDGCharge |
( |
G4double |
charge | ) |
|
|
inline |
◆ SetPDGCode() [1/2]
void BesTruthTrack::SetPDGCode |
( |
G4int |
code | ) |
|
|
inline |
◆ SetPDGCode() [2/2]
void BesTruthTrack::SetPDGCode |
( |
G4int |
code | ) |
|
|
inline |
◆ SetSource() [1/2]
void BesTruthTrack::SetSource |
( |
G4String |
source | ) |
|
|
inline |
◆ SetSource() [2/2]
void BesTruthTrack::SetSource |
( |
G4String |
source | ) |
|
|
inline |
◆ SetTerminalVertex() [1/2]
◆ SetTerminalVertex() [2/2]
◆ SetVertex() [1/2]
◆ SetVertex() [2/2]
◆ operator<< [1/4]
ostream & operator<< |
( |
ostream & |
stream, |
|
|
const BesTruthTrack & |
track |
|
) |
| |
|
friend |
Definition at line 33 of file BesTruthTrack.cc.
34{
35
37 stream << " --";
38 else
39 stream << setw(4) << track.
GetIndex() <<
" ";
40
41
44 else
45 stream <<" --";
46
47
50 else
51 stream <<" --";
52
53
56 else
57 stream << " --";
58
59
62 else
63 stream << " --";
64
65
66
67 stream << " " << setiosflags(ios::fixed)
68 <<setprecision(4) << setw(11) << track.
GetP4().x()
69 <<setprecision(4) << setw(11) << track.
GetP4().y()
70 <<setprecision(4) << setw(11) << track.
GetP4().z()
71 <<setprecision(4) << setw(11) << track.
GetP4().e();
72
73
75 {
77 for(G4int i=0;i<nDaughter;i++)
79 }
80 return stream;
81}
HepLorentzVector GetP4() const
BesTruthVertex * GetTerminalVertex() const
BesTruthVertex * GetVertex() const
vector< int > GetDaughterIndexes() const
G4String GetParticleName() const
◆ operator<< [2/4]
ostream & operator<< |
( |
ostream & |
stream, |
|
|
const BesTruthTrack & |
track |
|
) |
| |
|
friend |
Definition at line 33 of file BesTruthTrack.cc.
34{
35
37 stream << " --";
38 else
39 stream << setw(4) << track.
GetIndex() <<
" ";
40
41
44 else
45 stream <<" --";
46
47
50 else
51 stream <<" --";
52
53
56 else
57 stream << " --";
58
59
62 else
63 stream << " --";
64
65
66
67 stream << " " << setiosflags(ios::fixed)
68 <<setprecision(4) << setw(11) << track.
GetP4().x()
69 <<setprecision(4) << setw(11) << track.
GetP4().y()
70 <<setprecision(4) << setw(11) << track.
GetP4().z()
71 <<setprecision(4) << setw(11) << track.
GetP4().e();
72
73
75 {
77 for(G4int i=0;i<nDaughter;i++)
79 }
80 return stream;
81}
◆ operator<< [3/4]
ostream & operator<< |
( |
ostream & |
stream, |
|
|
const BesTruthTrack * |
track |
|
) |
| |
|
friend |
Definition at line 83 of file BesTruthTrack.cc.
84{
85 stream << *track;
86 return stream;
87}
◆ operator<< [4/4]
ostream & operator<< |
( |
ostream & |
stream, |
|
|
const BesTruthTrack * |
track |
|
) |
| |
|
friend |
Definition at line 83 of file BesTruthTrack.cc.
84{
85 stream << *track;
86 return stream;
87}
The documentation for this class was generated from the following files: