#include <BesTruthTrack.hh>
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
◆ BesTruthTrack() [1/3]
| BesTruthTrack::BesTruthTrack |
( |
| ) |
|
Definition at line 17 of file BesTruthTrack.cc.
17 : m_fourMomentum( 0 ), m_daughterIndexes( 0 ) {
18
19 m_vertex = 0;
20 m_terminalVertex = 0;
21 m_PDGCode = 0;
22 m_PDGCharge = -99;
23 m_particleName = "";
25 m_g4TrackId = -99;
26
27 m_found = false;
28 m_source = "";
29}
Referenced by GetParentTrack(), operator<<, and operator<<.
◆ ~BesTruthTrack() [1/3]
| BesTruthTrack::~BesTruthTrack |
( |
| ) |
|
|
inline |
◆ BesTruthTrack() [2/3]
| BesTruthTrack::BesTruthTrack |
( |
| ) |
|
◆ ~BesTruthTrack() [2/3]
| BesTruthTrack::~BesTruthTrack |
( |
| ) |
|
|
inline |
◆ BesTruthTrack() [3/3]
| BesTruthTrack::BesTruthTrack |
( |
| ) |
|
◆ ~BesTruthTrack() [3/3]
| BesTruthTrack::~BesTruthTrack |
( |
| ) |
|
|
inline |
◆ AddDaughterIndex() [1/3]
| void BesTruthTrack::AddDaughterIndex |
( |
G4int | index | ) |
|
|
inline |
◆ AddDaughterIndex() [2/3]
| void BesTruthTrack::AddDaughterIndex |
( |
G4int | index | ) |
|
|
inline |
◆ AddDaughterIndex() [3/3]
| void BesTruthTrack::AddDaughterIndex |
( |
G4int | index | ) |
|
|
inline |
◆ Found() [1/3]
| void BesTruthTrack::Found |
( |
| ) |
|
|
inline |
◆ Found() [2/3]
| void BesTruthTrack::Found |
( |
| ) |
|
|
inline |
◆ Found() [3/3]
| void BesTruthTrack::Found |
( |
| ) |
|
|
inline |
◆ GetBarcodeEndVtx() [1/3]
| G4int BesTruthTrack::GetBarcodeEndVtx |
( |
| ) |
|
|
inline |
◆ GetBarcodeEndVtx() [2/3]
| G4int BesTruthTrack::GetBarcodeEndVtx |
( |
| ) |
|
|
inline |
◆ GetBarcodeEndVtx() [3/3]
| G4int BesTruthTrack::GetBarcodeEndVtx |
( |
| ) |
|
|
inline |
◆ GetDaughterIndexes() [1/3]
| vector< int > BesTruthTrack::GetDaughterIndexes |
( |
| ) |
const |
|
inline |
◆ GetDaughterIndexes() [2/3]
| vector< int > BesTruthTrack::GetDaughterIndexes |
( |
| ) |
const |
|
inline |
◆ GetDaughterIndexes() [3/3]
| vector< int > BesTruthTrack::GetDaughterIndexes |
( |
| ) |
const |
|
inline |
◆ GetG4TrackId() [1/3]
| G4int BesTruthTrack::GetG4TrackId |
( |
| ) |
const |
|
inline |
◆ GetG4TrackId() [2/3]
| G4int BesTruthTrack::GetG4TrackId |
( |
| ) |
const |
|
inline |
◆ GetG4TrackId() [3/3]
| G4int BesTruthTrack::GetG4TrackId |
( |
| ) |
const |
|
inline |
◆ GetIndex() [1/3]
| G4int BesTruthTrack::GetIndex |
( |
| ) |
const |
|
inline |
Definition at line 63 of file InstallArea/x86_64-el9-gcc13-dbg/include/TruSim/BesTruthTrack.hh.
Referenced by BesSensitiveManager::CheckDecayTrack(), BesSensitiveManager::MakeNewTrack(), operator<<, BesTruthVertex::operator<<, BesEmcSD::ProcessHits(), BesMcTruthWriter::SaveMcParticle(), BesSensitiveManager::SaveParticlesFromGenerator(), BesAsciiIO::SaveTrackTruth(), BesAsciiIO::SaveTrackTruth(), BesAsciiIO::SaveVertexTruth(), BesAsciiIO::SaveVertexTruth(), and BesSensitiveManager::UpdatePrimaryTrack().
◆ GetIndex() [2/3]
| G4int BesTruthTrack::GetIndex |
( |
| ) |
const |
|
inline |
◆ GetIndex() [3/3]
| G4int BesTruthTrack::GetIndex |
( |
| ) |
const |
|
inline |
◆ GetP4() [1/3]
| HepLorentzVector BesTruthTrack::GetP4 |
( |
| ) |
const |
|
inline |
◆ GetP4() [2/3]
| HepLorentzVector BesTruthTrack::GetP4 |
( |
| ) |
const |
|
inline |
◆ GetP4() [3/3]
| HepLorentzVector BesTruthTrack::GetP4 |
( |
| ) |
const |
|
inline |
◆ GetParentTrack() [1/3]
◆ GetParentTrack() [2/3]
◆ GetParentTrack() [3/3]
◆ GetParticleName() [1/3]
| G4String BesTruthTrack::GetParticleName |
( |
| ) |
const |
|
inline |
◆ GetParticleName() [2/3]
| G4String BesTruthTrack::GetParticleName |
( |
| ) |
const |
|
inline |
◆ GetParticleName() [3/3]
| G4String BesTruthTrack::GetParticleName |
( |
| ) |
const |
|
inline |
◆ GetPDGCharge() [1/3]
| G4double BesTruthTrack::GetPDGCharge |
( |
| ) |
const |
|
inline |
◆ GetPDGCharge() [2/3]
| G4double BesTruthTrack::GetPDGCharge |
( |
| ) |
const |
|
inline |
◆ GetPDGCharge() [3/3]
| G4double BesTruthTrack::GetPDGCharge |
( |
| ) |
const |
|
inline |
◆ GetPDGCode() [1/3]
| G4int BesTruthTrack::GetPDGCode |
( |
| ) |
const |
|
inline |
◆ GetPDGCode() [2/3]
| G4int BesTruthTrack::GetPDGCode |
( |
| ) |
const |
|
inline |
◆ GetPDGCode() [3/3]
| G4int BesTruthTrack::GetPDGCode |
( |
| ) |
const |
|
inline |
◆ GetSource() [1/3]
| G4String BesTruthTrack::GetSource |
( |
| ) |
|
|
inline |
◆ GetSource() [2/3]
| G4String BesTruthTrack::GetSource |
( |
| ) |
|
|
inline |
◆ GetSource() [3/3]
| G4String BesTruthTrack::GetSource |
( |
| ) |
|
|
inline |
◆ GetTerminalVertex() [1/3]
◆ GetTerminalVertex() [2/3]
◆ GetTerminalVertex() [3/3]
◆ GetVertex() [1/3]
◆ GetVertex() [2/3]
◆ GetVertex() [3/3]
◆ NotFound() [1/3]
| G4bool BesTruthTrack::NotFound |
( |
| ) |
|
|
inline |
◆ NotFound() [2/3]
| G4bool BesTruthTrack::NotFound |
( |
| ) |
|
|
inline |
◆ NotFound() [3/3]
| G4bool BesTruthTrack::NotFound |
( |
| ) |
|
|
inline |
◆ SetBarcodeEndVtx() [1/3]
| void BesTruthTrack::SetBarcodeEndVtx |
( |
G4int | vtx | ) |
|
|
inline |
◆ SetBarcodeEndVtx() [2/3]
| void BesTruthTrack::SetBarcodeEndVtx |
( |
G4int | vtx | ) |
|
|
inline |
◆ SetBarcodeEndVtx() [3/3]
| void BesTruthTrack::SetBarcodeEndVtx |
( |
G4int | vtx | ) |
|
|
inline |
◆ SetG4TrackId() [1/3]
| void BesTruthTrack::SetG4TrackId |
( |
G4int | trackId | ) |
|
|
inline |
◆ SetG4TrackId() [2/3]
| void BesTruthTrack::SetG4TrackId |
( |
G4int | trackId | ) |
|
|
inline |
◆ SetG4TrackId() [3/3]
| void BesTruthTrack::SetG4TrackId |
( |
G4int | trackId | ) |
|
|
inline |
◆ SetIndex() [1/3]
| void BesTruthTrack::SetIndex |
( |
G4int | index | ) |
|
|
inline |
◆ SetIndex() [2/3]
| void BesTruthTrack::SetIndex |
( |
G4int | index | ) |
|
|
inline |
◆ SetIndex() [3/3]
| void BesTruthTrack::SetIndex |
( |
G4int | index | ) |
|
|
inline |
◆ SetP4() [1/3]
| void BesTruthTrack::SetP4 |
( |
const HepLorentzVector & | p4 | ) |
|
|
inline |
◆ SetP4() [2/3]
| void BesTruthTrack::SetP4 |
( |
const HepLorentzVector & | p4 | ) |
|
|
inline |
◆ SetP4() [3/3]
| void BesTruthTrack::SetP4 |
( |
const HepLorentzVector & | p4 | ) |
|
|
inline |
◆ SetParticleName() [1/3]
| void BesTruthTrack::SetParticleName |
( |
G4String | name | ) |
|
|
inline |
◆ SetParticleName() [2/3]
| void BesTruthTrack::SetParticleName |
( |
G4String | name | ) |
|
|
inline |
◆ SetParticleName() [3/3]
| void BesTruthTrack::SetParticleName |
( |
G4String | name | ) |
|
|
inline |
◆ SetPDGCharge() [1/3]
| void BesTruthTrack::SetPDGCharge |
( |
G4double | charge | ) |
|
|
inline |
◆ SetPDGCharge() [2/3]
| void BesTruthTrack::SetPDGCharge |
( |
G4double | charge | ) |
|
|
inline |
◆ SetPDGCharge() [3/3]
| void BesTruthTrack::SetPDGCharge |
( |
G4double | charge | ) |
|
|
inline |
◆ SetPDGCode() [1/3]
| void BesTruthTrack::SetPDGCode |
( |
G4int | code | ) |
|
|
inline |
◆ SetPDGCode() [2/3]
| void BesTruthTrack::SetPDGCode |
( |
G4int | code | ) |
|
|
inline |
◆ SetPDGCode() [3/3]
| void BesTruthTrack::SetPDGCode |
( |
G4int | code | ) |
|
|
inline |
◆ SetSource() [1/3]
| void BesTruthTrack::SetSource |
( |
G4String | source | ) |
|
|
inline |
◆ SetSource() [2/3]
| void BesTruthTrack::SetSource |
( |
G4String | source | ) |
|
|
inline |
◆ SetSource() [3/3]
| void BesTruthTrack::SetSource |
( |
G4String | source | ) |
|
|
inline |
◆ SetTerminalVertex() [1/3]
◆ SetTerminalVertex() [2/3]
◆ SetTerminalVertex() [3/3]
◆ SetVertex() [1/3]
◆ SetVertex() [2/3]
◆ SetVertex() [3/3]
◆ operator<< [1/6]
| ostream & operator<< |
( |
ostream & | stream, |
|
|
const BesTruthTrack & | track ) |
|
friend |
Definition at line 31 of file BesTruthTrack.cc.
31 {
32
34 else stream << setw( 4 ) << track.
GetIndex() <<
" ";
35
36
38 else stream << " --";
39
40
42 else stream << " --";
43
44
46 else stream << " --";
47
48
51 else stream << " --";
52
53
54 stream << " " << setiosflags( ios::fixed ) << setprecision( 4 ) << setw( 11 )
55 << track.
GetP4().x() << setprecision( 4 ) << setw( 11 ) << track.
GetP4().y()
56 << setprecision( 4 ) << setw( 11 ) << track.
GetP4().z() << setprecision( 4 )
57 << setw( 11 ) << track.
GetP4().e();
58
59
61 {
63 for ( G4int i = 0; i < nDaughter; i++ )
65 }
66 return stream;
67}
HepLorentzVector GetP4() const
BesTruthVertex * GetTerminalVertex() const
BesTruthVertex * GetVertex() const
vector< int > GetDaughterIndexes() const
G4String GetParticleName() const
◆ operator<< [2/6]
| ostream & operator<< |
( |
ostream & | stream, |
|
|
const BesTruthTrack & | track ) |
|
friend |
Definition at line 31 of file BesTruthTrack.cc.
31 {
32
34 else stream << setw( 4 ) << track.
GetIndex() <<
" ";
35
36
38 else stream << " --";
39
40
42 else stream << " --";
43
44
46 else stream << " --";
47
48
51 else stream << " --";
52
53
54 stream << " " << setiosflags( ios::fixed ) << setprecision( 4 ) << setw( 11 )
55 << track.
GetP4().x() << setprecision( 4 ) << setw( 11 ) << track.
GetP4().y()
56 << setprecision( 4 ) << setw( 11 ) << track.
GetP4().z() << setprecision( 4 )
57 << setw( 11 ) << track.
GetP4().e();
58
59
61 {
63 for ( G4int i = 0; i < nDaughter; i++ )
65 }
66 return stream;
67}
◆ operator<< [3/6]
| ostream & operator<< |
( |
ostream & | stream, |
|
|
const BesTruthTrack & | track ) |
|
friend |
Definition at line 31 of file BesTruthTrack.cc.
31 {
32
34 else stream << setw( 4 ) << track.
GetIndex() <<
" ";
35
36
38 else stream << " --";
39
40
42 else stream << " --";
43
44
46 else stream << " --";
47
48
51 else stream << " --";
52
53
54 stream << " " << setiosflags( ios::fixed ) << setprecision( 4 ) << setw( 11 )
55 << track.
GetP4().x() << setprecision( 4 ) << setw( 11 ) << track.
GetP4().y()
56 << setprecision( 4 ) << setw( 11 ) << track.
GetP4().z() << setprecision( 4 )
57 << setw( 11 ) << track.
GetP4().e();
58
59
61 {
63 for ( G4int i = 0; i < nDaughter; i++ )
65 }
66 return stream;
67}
◆ operator<< [4/6]
| ostream & operator<< |
( |
ostream & | stream, |
|
|
const BesTruthTrack * | track ) |
|
friend |
Definition at line 69 of file BesTruthTrack.cc.
69 {
70 stream << *track;
71 return stream;
72}
◆ operator<< [5/6]
| ostream & operator<< |
( |
ostream & | stream, |
|
|
const BesTruthTrack * | track ) |
|
friend |
Definition at line 69 of file BesTruthTrack.cc.
69 {
70 stream << *track;
71 return stream;
72}
◆ operator<< [6/6]
| ostream & operator<< |
( |
ostream & | stream, |
|
|
const BesTruthTrack * | track ) |
|
friend |
Definition at line 69 of file BesTruthTrack.cc.
69 {
70 stream << *track;
71 return stream;
72}
The documentation for this class was generated from the following files: