83 G4cout <<
" >>> G4CascadeHistory::FillDaughters " << iEntry <<
G4endl;
86 theHistory[iEntry].clear();
88 theHistory[iEntry].n = nDaug;
89 for (
G4int i=0; i<nDaug; i++) {
91 theHistory[iEntry].dId[i] = id;
95 G4cout <<
" got " << theHistory[iEntry].n <<
" daughters:";
96 for (
G4int i=0; i<theHistory[iEntry].n; i++) {
97 G4cout <<
" " << theHistory[iEntry].dId[i];
std::ostream & operator<<(std::ostream &os, const G4CascadeHistory &history)
G4int getHistoryId() const
G4int getGeneration() const
const G4InuclElementaryParticle & getParticle() const
void setHistoryId(G4int id)
G4LorentzVector getMomentum() const
G4int getCurrentZone() const
const G4ThreeVector & getPosition() const
void PrintEntry(std::ostream &os, G4int iEntry) const
void FillDaughters(G4int iEntry, std::vector< G4CascadParticle > &daug)
void Print(std::ostream &os) const
G4int AddVertex(G4CascadParticle &cpart, std::vector< G4CascadParticle > &daug)
void DropEntry(const G4CascadParticle &cpart)
G4int AddEntry(G4CascadParticle &cpart)
void AssignHistoryID(G4CascadParticle &cpart)
G4bool PrintingDone(G4int iEntry) const
const char * GuessTarget(const HistoryEntry &entry) const
const G4ParticleDefinition * getDefinition() const
G4double getCharge() const
const G4String & GetParticleName() const