ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4ITReactionChange Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/dna/management/include/G4ITReactionChange.hh>

+ Collaboration diagram for G4ITReactionChange:

Public Member Functions

 G4ITReactionChange ()
 
virtual ~G4ITReactionChange ()
 
void Initialize (const G4Track &, const G4Track &, G4VParticleChange *particleChangeA=0, G4VParticleChange *particleChangeB=0)
 
void AddSecondary (G4Track *aSecondary)
 
void KillParents (G4bool)
 
G4VParticleChangeGetParticleChange (const G4Track *)
 
void UpdateStepInfo (G4Step *, G4Step *)
 
G4TrackGetSecondary (G4int) const
 
std::vector< G4Track * > * GetfSecondary ()
 
G4int GetNumberOfSecondaries () const
 
G4bool WereParentsKilled () const
 
const G4TrackGetTrackA ()
 
const G4TrackGetTrackB ()
 

Protected Member Functions

 G4ITReactionChange (const G4ITReactionChange &other)
 
G4ITReactionChangeoperator= (const G4ITReactionChange &other)
 
G4bool operator== (const G4ITReactionChange &right) const
 
G4bool operator!= (const G4ITReactionChange &right) const
 

Protected Attributes

std::map< const G4Track
*, G4VParticleChange * > 
fParticleChange
 
std::vector< G4Track * > * fSecondaries
 
G4int fNumberOfSecondaries
 
G4bool fKillParents
 
G4bool fParticleChangeIsSet
 

Detailed Description

Similar to G4ParticleChange, but deal with two tracks rather than one.

Definition at line 58 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 58 of file G4ITReactionChange.hh

Constructor & Destructor Documentation

G4ITReactionChange::G4ITReactionChange ( )

Default constructor

Definition at line 37 of file G4ITReactionChange.cc.

View newest version in sPHENIX GitHub at line 37 of file G4ITReactionChange.cc

G4ITReactionChange::~G4ITReactionChange ( )
virtual

Default destructor

Definition at line 46 of file G4ITReactionChange.cc.

View newest version in sPHENIX GitHub at line 46 of file G4ITReactionChange.cc

References fSecondaries.

G4ITReactionChange::G4ITReactionChange ( const G4ITReactionChange other)
protected

Copy constructor

Parameters
otherObject to copy from

Definition at line 54 of file G4ITReactionChange.cc.

View newest version in sPHENIX GitHub at line 54 of file G4ITReactionChange.cc

Member Function Documentation

void G4ITReactionChange::AddSecondary ( G4Track aSecondary)

Definition at line 108 of file G4ITReactionChange.cc.

View newest version in sPHENIX GitHub at line 108 of file G4ITReactionChange.cc

References fNumberOfSecondaries, and fSecondaries.

Referenced by G4DNAMolecularReaction::MakeReaction().

+ Here is the caller graph for this function:

std::vector< G4Track * > * G4ITReactionChange::GetfSecondary ( )
inline

Definition at line 138 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 138 of file G4ITReactionChange.hh

References fSecondaries.

G4int G4ITReactionChange::GetNumberOfSecondaries ( ) const
inline

Definition at line 123 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 123 of file G4ITReactionChange.hh

References fNumberOfSecondaries.

G4VParticleChange * G4ITReactionChange::GetParticleChange ( const G4Track track)

Definition at line 121 of file G4ITReactionChange.cc.

View newest version in sPHENIX GitHub at line 121 of file G4ITReactionChange.cc

References fParticleChange, and it.

G4Track * G4ITReactionChange::GetSecondary ( G4int  anIndex) const
inline

Definition at line 117 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 117 of file G4ITReactionChange.hh

References fSecondaries.

const G4Track * G4ITReactionChange::GetTrackA ( )

Definition at line 130 of file G4ITReactionChange.cc.

View newest version in sPHENIX GitHub at line 130 of file G4ITReactionChange.cc

References FatalErrorInArgument, fParticleChange, G4Exception(), and it.

+ Here is the call graph for this function:

const G4Track * G4ITReactionChange::GetTrackB ( )

Definition at line 146 of file G4ITReactionChange.cc.

View newest version in sPHENIX GitHub at line 146 of file G4ITReactionChange.cc

References FatalErrorInArgument, fParticleChange, G4Exception(), and it.

+ Here is the call graph for this function:

void G4ITReactionChange::Initialize ( const G4Track trackA,
const G4Track trackB,
G4VParticleChange particleChangeA = 0,
G4VParticleChange particleChangeB = 0 
)

Definition at line 71 of file G4ITReactionChange.cc.

View newest version in sPHENIX GitHub at line 71 of file G4ITReactionChange.cc

References FatalErrorInArgument, fKillParents, fNumberOfSecondaries, fParticleChange, fParticleChangeIsSet, fSecondaries, G4Exception(), and test().

Referenced by G4DNAMolecularReaction::MakeReaction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ITReactionChange::KillParents ( G4bool  kill)
inline

Definition at line 128 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 128 of file G4ITReactionChange.hh

References fKillParents.

Referenced by G4DNAMolecularReaction::MakeReaction().

+ Here is the caller graph for this function:

G4bool G4ITReactionChange::operator!= ( const G4ITReactionChange right) const
protected
G4ITReactionChange & G4ITReactionChange::operator= ( const G4ITReactionChange other)
protected

Assignment operator

Parameters
otherObject to assign from
Returns
A reference to this

Definition at line 64 of file G4ITReactionChange.cc.

View newest version in sPHENIX GitHub at line 64 of file G4ITReactionChange.cc

G4bool G4ITReactionChange::operator== ( const G4ITReactionChange right) const
protected
void G4ITReactionChange::UpdateStepInfo ( G4Step stepA,
G4Step stepB 
)

Definition at line 115 of file G4ITReactionChange.cc.

View newest version in sPHENIX GitHub at line 115 of file G4ITReactionChange.cc

References fParticleChange, and G4Step::GetTrack().

+ Here is the call graph for this function:

G4bool G4ITReactionChange::WereParentsKilled ( ) const
inline

Definition at line 133 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 133 of file G4ITReactionChange.hh

References fKillParents.

Member Data Documentation

G4bool G4ITReactionChange::fKillParents
protected

Definition at line 113 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 113 of file G4ITReactionChange.hh

Referenced by Initialize(), KillParents(), and WereParentsKilled().

G4int G4ITReactionChange::fNumberOfSecondaries
protected

Definition at line 112 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 112 of file G4ITReactionChange.hh

Referenced by AddSecondary(), GetNumberOfSecondaries(), and Initialize().

std::map<const G4Track*, G4VParticleChange*> G4ITReactionChange::fParticleChange
protected

Definition at line 110 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 110 of file G4ITReactionChange.hh

Referenced by GetParticleChange(), GetTrackA(), GetTrackB(), Initialize(), and UpdateStepInfo().

G4bool G4ITReactionChange::fParticleChangeIsSet
protected

Definition at line 114 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 114 of file G4ITReactionChange.hh

Referenced by Initialize().

std::vector<G4Track*>* G4ITReactionChange::fSecondaries
protected

Definition at line 111 of file G4ITReactionChange.hh.

View newest version in sPHENIX GitHub at line 111 of file G4ITReactionChange.hh

Referenced by AddSecondary(), GetfSecondary(), GetSecondary(), Initialize(), and ~G4ITReactionChange().


The documentation for this class was generated from the following files: