13#ifndef BesTruthTrack_h
14#define BesTruthTrack_h 1
19#include "CLHEP/Vector/LorentzVector.h"
36 HepLorentzVector
GetP4()
const {
return m_fourMomentum; }
37 void SetP4(
const HepLorentzVector &p4 ) { m_fourMomentum = p4; }
75 if (m_vertex == 0)
return 0;
95 HepLorentzVector m_fourMomentum;
103 G4int m_barcodeEndVtx;
109 G4double m_PDGCharge;
112 G4String m_particleName;
121 vector<int> m_daughterIndexes;
void SetSource(G4String source)
HepLorentzVector GetP4() const
BesTruthVertex * GetTerminalVertex() const
BesTruthVertex * GetVertex() const
friend ostream & operator<<(ostream &, const BesTruthTrack &)
void SetPDGCode(G4int code)
void SetTerminalVertex(BesTruthVertex *vertex)
BesTruthTrack * GetParentTrack()
void SetIndex(G4int index)
G4int GetG4TrackId() const
G4double GetPDGCharge() const
void SetVertex(BesTruthVertex *vertex)
void SetBarcodeEndVtx(G4int vtx)
void SetParticleName(G4String name)
vector< int > GetDaughterIndexes() const
void SetP4(const HepLorentzVector &p4)
G4String GetParticleName() const
void SetG4TrackId(G4int trackId)
void SetPDGCharge(G4double charge)
void AddDaughterIndex(G4int index)
BesTruthTrack * GetParentTrack() const