Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VParticipants Class Reference

#include <G4VParticipants.hh>

+ Inheritance diagram for G4VParticipants:

Public Member Functions

 G4VParticipants ()
 
 G4VParticipants (const G4VParticipants &right)
 
virtual ~G4VParticipants ()
 
const G4VParticipantsoperator= (const G4VParticipants &right)
 
int operator== (const G4VParticipants &right) const
 
int operator!= (const G4VParticipants &right) const
 
virtual void Init (G4int theZ, G4int theA)
 
virtual void SetNucleus (G4V3DNucleus *aNucleus)
 
virtual G4V3DNucleusGetWoundedNucleus () const
 

Public Attributes

G4V3DNucleustheNucleus
 

Detailed Description

Definition at line 48 of file G4VParticipants.hh.

Constructor & Destructor Documentation

◆ G4VParticipants() [1/2]

G4VParticipants::G4VParticipants ( )

Definition at line 44 of file G4VParticipants.cc.

44 : theNucleus(NULL)
45{}
G4V3DNucleus * theNucleus

◆ G4VParticipants() [2/2]

G4VParticipants::G4VParticipants ( const G4VParticipants right)

◆ ~G4VParticipants()

G4VParticipants::~G4VParticipants ( )
virtual

Definition at line 48 of file G4VParticipants.cc.

49{
50// G4cout << "G4VParticipants::~G4VParticipants()" << G4endl;
51 if ( theNucleus != NULL ) delete theNucleus;
52}

Member Function Documentation

◆ GetWoundedNucleus()

G4V3DNucleus * G4VParticipants::GetWoundedNucleus ( ) const
inlinevirtual

Definition at line 73 of file G4VParticipants.hh.

74{
75 return theNucleus;
76}

Referenced by G4FTFModel::GetWoundedNucleus().

◆ Init()

void G4VParticipants::Init ( G4int  theZ,
G4int  theA 
)
inlinevirtual

Definition at line 55 of file G4VParticipants.cc.

56{
57 if ( theNucleus == NULL ) theNucleus = new G4Fancy3DNucleus();
58 theNucleus->Init(theA, theZ);
60}
virtual void SortNucleonsIncZ()=0
virtual void Init(G4int theA, G4int theZ)=0

Referenced by G4FTFModel::Init().

◆ operator!=()

int G4VParticipants::operator!= ( const G4VParticipants right) const

◆ operator=()

const G4VParticipants & G4VParticipants::operator= ( const G4VParticipants right)

◆ operator==()

int G4VParticipants::operator== ( const G4VParticipants right) const

◆ SetNucleus()

void G4VParticipants::SetNucleus ( G4V3DNucleus aNucleus)
inlinevirtual

Definition at line 63 of file G4VParticipants.cc.

64{
65 if (theNucleus != NULL) delete theNucleus;
66 theNucleus = aNucleus;
67}

Member Data Documentation

◆ theNucleus


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