Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VParticipants Class Reference

#include <G4VParticipants.hh>

Inheritance diagram for G4VParticipants:
Collaboration 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
 
virtual void InitProjectileNucleus (G4int theZ, G4int theA)
 
virtual void SetProjectileNucleus (G4V3DNucleus *aNucleus)
 
virtual G4V3DNucleusGetProjectileNucleus () const
 

Public Attributes

G4V3DNucleustheNucleus
 
G4V3DNucleustheProjectileNucleus
 

Detailed Description

Definition at line 48 of file G4VParticipants.hh.

Constructor & Destructor Documentation

G4VParticipants::G4VParticipants ( )

Definition at line 44 of file G4VParticipants.cc.

44  : theNucleus(NULL),
46 {}
G4V3DNucleus * theProjectileNucleus
G4V3DNucleus * theNucleus
G4VParticipants::G4VParticipants ( const G4VParticipants right)
G4VParticipants::~G4VParticipants ( )
virtual

Definition at line 49 of file G4VParticipants.cc.

50 {
51  // G4cout << "G4VParticipants::~G4VParticipants()" << G4endl;
52  if ( theNucleus != NULL ) delete theNucleus;
53  if ( theProjectileNucleus != NULL ) delete theProjectileNucleus;
54 }
G4V3DNucleus * theProjectileNucleus
G4V3DNucleus * theNucleus

Member Function Documentation

G4V3DNucleus * G4VParticipants::GetProjectileNucleus ( ) const
inlinevirtual

Definition at line 80 of file G4VParticipants.hh.

81 {
82  return theProjectileNucleus;
83 }
G4V3DNucleus * theProjectileNucleus

Here is the caller graph for this function:

G4V3DNucleus * G4VParticipants::GetWoundedNucleus ( ) const
inlinevirtual

Definition at line 75 of file G4VParticipants.hh.

76 {
77  return theNucleus;
78 }
G4V3DNucleus * theNucleus

Here is the caller graph for this function:

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

Definition at line 57 of file G4VParticipants.cc.

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

Here is the call graph for this function:

Here is the caller graph for this function:

void G4VParticipants::InitProjectileNucleus ( G4int  theZ,
G4int  theA 
)
virtual

Definition at line 71 of file G4VParticipants.cc.

72 {
74  theProjectileNucleus->Init(theA, theZ);
76 }
virtual void Init(G4int theA, G4int theZ)=0
G4V3DNucleus * theProjectileNucleus
virtual void SortNucleonsDecZ()=0

Here is the call graph for this function:

Here is the caller graph for this function:

int G4VParticipants::operator!= ( const G4VParticipants right) const
const G4VParticipants& G4VParticipants::operator= ( const G4VParticipants right)
int G4VParticipants::operator== ( const G4VParticipants right) const
void G4VParticipants::SetNucleus ( G4V3DNucleus aNucleus)
virtual

Definition at line 65 of file G4VParticipants.cc.

66 {
67  if (theNucleus != NULL) delete theNucleus;
68  theNucleus = aNucleus;
69 }
G4V3DNucleus * theNucleus
void G4VParticipants::SetProjectileNucleus ( G4V3DNucleus aNucleus)
virtual

Definition at line 79 of file G4VParticipants.cc.

80 {
81  if (theProjectileNucleus != NULL) delete theProjectileNucleus;
82  theProjectileNucleus = aNucleus;
83 }
G4V3DNucleus * theProjectileNucleus

Here is the caller graph for this function:

Member Data Documentation

G4V3DNucleus* G4VParticipants::theNucleus

Definition at line 67 of file G4VParticipants.hh.

G4V3DNucleus* G4VParticipants::theProjectileNucleus

Definition at line 68 of file G4VParticipants.hh.


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