Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields
G4VParticipants Class Reference

#include <G4VParticipants.hh>

Inheritance diagram for G4VParticipants:
G4FTFParticipants G4QGSParticipants G4GammaParticipants

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
 

Data Fields

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),
45  theProjectileNucleus(NULL) // Uzhi Nov. 2012
46 {}
G4V3DNucleus * theProjectileNucleus
G4V3DNucleus * theNucleus
G4VParticipants::G4VParticipants ( const G4VParticipants right)
G4VParticipants::~G4VParticipants ( )
virtual

Definition at line 49 of file G4VParticipants.cc.

References theNucleus, and theProjectileNucleus.

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

Member Function Documentation

G4V3DNucleus * G4VParticipants::GetProjectileNucleus ( ) const
inlinevirtual

Definition at line 81 of file G4VParticipants.hh.

References theProjectileNucleus.

Referenced by G4FTFModel::GetProjectileNucleus().

82 {
83  return theProjectileNucleus;
84 }
G4V3DNucleus * theProjectileNucleus
G4V3DNucleus * G4VParticipants::GetWoundedNucleus ( ) const
inlinevirtual

Definition at line 76 of file G4VParticipants.hh.

References theNucleus.

Referenced by G4FTFModel::GetTargetNucleus(), and G4FTFModel::GetWoundedNucleus().

77 {
78  return theNucleus;
79 }
G4V3DNucleus * theNucleus
void G4VParticipants::Init ( G4int  theZ,
G4int  theA 
)
inlinevirtual

Definition at line 57 of file G4VParticipants.cc.

References G4V3DNucleus::Init(), G4V3DNucleus::SortNucleonsIncZ(), and theNucleus.

Referenced by G4FTFModel::Init().

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
void G4VParticipants::InitProjectileNucleus ( G4int  theZ,
G4int  theA 
)
inlinevirtual

Definition at line 71 of file G4VParticipants.cc.

References G4V3DNucleus::Init(), G4V3DNucleus::SortNucleonsDecZ(), and theProjectileNucleus.

Referenced by G4FTFModel::Init().

72 {
74  theProjectileNucleus->Init(theA, theZ);
76 }
virtual void Init(G4int theA, G4int theZ)=0
G4V3DNucleus * theProjectileNucleus
virtual void SortNucleonsDecZ()=0
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)
inlinevirtual

Definition at line 65 of file G4VParticipants.cc.

References theNucleus.

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

Definition at line 79 of file G4VParticipants.cc.

References theProjectileNucleus.

Referenced by G4FTFModel::Init().

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

Field Documentation

G4V3DNucleus* G4VParticipants::theNucleus
G4V3DNucleus* G4VParticipants::theProjectileNucleus

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