13#ifndef BesTruthTrack_h
14#define BesTruthTrack_h 1
20#include "CLHEP/Vector/LorentzVector.h"
35 HepLorentzVector
GetP4()
const {
return m_fourMomentum; }
36 void SetP4(
const HepLorentzVector& p4 ) { m_fourMomentum = p4; }
64 void SetIndex( G4int index ) { m_index = index; }
73 if ( m_vertex == 0 )
return 0;
83 void Found() { m_found =
true; }
87 void SetSource( G4String source ) { m_source = source; }
92 HepLorentzVector m_fourMomentum;
100 G4int m_barcodeEndVtx;
106 G4double m_PDGCharge;
109 G4String m_particleName;
118 vector<int> m_daughterIndexes;
void SetSource(G4String source)
HepLorentzVector GetP4() const
BesTruthVertex * GetTerminalVertex() const
BesTruthVertex * GetVertex() const
void SetPDGCode(G4int code)
void SetTerminalVertex(BesTruthVertex *vertex)
BesTruthTrack * GetParentTrack()
void SetIndex(G4int index)
G4int GetG4TrackId() const
friend ostream & operator<<(ostream &, const BesTruthTrack &)
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)