Geant4-11
|
#include <G4ITReactionChange.hh>
Public Member Functions | |
void | AddSecondary (G4Track *aSecondary) |
G4ITReactionChange () | |
std::vector< G4Track * > * | GetfSecondary () |
G4int | GetNumberOfSecondaries () const |
G4VParticleChange * | GetParticleChange (const G4Track *) |
G4Track * | GetSecondary (G4int) const |
const G4Track * | GetTrackA () |
const G4Track * | GetTrackB () |
void | Initialize (const G4Track &, const G4Track &, G4VParticleChange *particleChangeA=0, G4VParticleChange *particleChangeB=0) |
void | KillParents (G4bool) |
void | UpdateStepInfo (G4Step *, G4Step *) |
G4bool | WereParentsKilled () const |
virtual | ~G4ITReactionChange () |
Protected Member Functions | |
G4ITReactionChange (const G4ITReactionChange &other) | |
G4bool | operator!= (const G4ITReactionChange &right) const |
G4ITReactionChange & | operator= (const G4ITReactionChange &other) |
G4bool | operator== (const G4ITReactionChange &right) const |
Protected Attributes | |
G4bool | fKillParents |
G4int | fNumberOfSecondaries |
std::map< const G4Track *, G4VParticleChange * > | fParticleChange |
G4bool | fParticleChangeIsSet |
std::vector< G4Track * > * | fSecondaries |
Similar to G4ParticleChange, but deal with two tracks rather than one.
Definition at line 58 of file G4ITReactionChange.hh.
G4ITReactionChange::G4ITReactionChange | ( | ) |
Default constructor
Definition at line 37 of file G4ITReactionChange.cc.
|
virtual |
|
protected |
Copy constructor
other | Object to copy from |
Definition at line 54 of file G4ITReactionChange.cc.
void G4ITReactionChange::AddSecondary | ( | G4Track * | aSecondary | ) |
Definition at line 108 of file G4ITReactionChange.cc.
References fNumberOfSecondaries, and fSecondaries.
|
inline |
Definition at line 138 of file G4ITReactionChange.hh.
References fSecondaries.
|
inline |
Definition at line 123 of file G4ITReactionChange.hh.
References fNumberOfSecondaries.
G4VParticleChange * G4ITReactionChange::GetParticleChange | ( | const G4Track * | track | ) |
Definition at line 121 of file G4ITReactionChange.cc.
References fParticleChange.
Definition at line 117 of file G4ITReactionChange.hh.
References fSecondaries.
const G4Track * G4ITReactionChange::GetTrackA | ( | ) |
Definition at line 130 of file G4ITReactionChange.cc.
References FatalErrorInArgument, fParticleChange, and G4Exception().
const G4Track * G4ITReactionChange::GetTrackB | ( | ) |
Definition at line 146 of file G4ITReactionChange.cc.
References FatalErrorInArgument, fParticleChange, and G4Exception().
void G4ITReactionChange::Initialize | ( | const G4Track & | trackA, |
const G4Track & | trackB, | ||
G4VParticleChange * | particleChangeA = 0 , |
||
G4VParticleChange * | particleChangeB = 0 |
||
) |
Definition at line 71 of file G4ITReactionChange.cc.
References FatalErrorInArgument, fKillParents, fNumberOfSecondaries, fParticleChange, fParticleChangeIsSet, fSecondaries, and G4Exception().
|
inline |
Definition at line 128 of file G4ITReactionChange.hh.
References fKillParents.
|
protected |
|
protected |
Assignment operator
other | Object to assign from |
Definition at line 64 of file G4ITReactionChange.cc.
|
protected |
Definition at line 115 of file G4ITReactionChange.cc.
References fParticleChange, and G4Step::GetTrack().
|
inline |
Definition at line 133 of file G4ITReactionChange.hh.
References fKillParents.
|
protected |
Definition at line 113 of file G4ITReactionChange.hh.
Referenced by Initialize(), KillParents(), and WereParentsKilled().
|
protected |
Definition at line 112 of file G4ITReactionChange.hh.
Referenced by AddSecondary(), GetNumberOfSecondaries(), and Initialize().
|
protected |
Definition at line 110 of file G4ITReactionChange.hh.
Referenced by GetParticleChange(), GetTrackA(), GetTrackB(), Initialize(), and UpdateStepInfo().
|
protected |
Definition at line 114 of file G4ITReactionChange.hh.
Referenced by Initialize().
|
protected |
Definition at line 111 of file G4ITReactionChange.hh.
Referenced by AddSecondary(), GetfSecondary(), GetSecondary(), Initialize(), and ~G4ITReactionChange().