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

Data Fields

G4V3DNucleustheNucleus

Detailed Description

Definition at line 48 of file G4VParticipants.hh.


Constructor & Destructor Documentation

G4VParticipants::G4VParticipants (  ) 

Definition at line 44 of file G4VParticipants.cc.

00044                                  : theNucleus(NULL)
00045 {}

G4VParticipants::G4VParticipants ( const G4VParticipants right  ) 

G4VParticipants::~G4VParticipants (  )  [virtual]

Definition at line 48 of file G4VParticipants.cc.

References theNucleus.

00049 {
00050 // G4cout << "G4VParticipants::~G4VParticipants()" << G4endl;
00051   if ( theNucleus != NULL ) delete theNucleus;
00052 }


Member Function Documentation

G4V3DNucleus * G4VParticipants::GetWoundedNucleus (  )  const [inline, virtual]

Definition at line 73 of file G4VParticipants.hh.

References theNucleus.

Referenced by G4FTFModel::GetWoundedNucleus().

00074 {
00075   return theNucleus;
00076 }

void G4VParticipants::Init ( G4int  theZ,
G4int  theA 
) [inline, virtual]

Definition at line 55 of file G4VParticipants.cc.

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

Referenced by G4FTFModel::Init().

00056 {
00057   if ( theNucleus == NULL ) theNucleus = new G4Fancy3DNucleus();
00058   theNucleus->Init(theA, theZ);
00059   theNucleus->SortNucleonsIncZ();
00060 }

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  )  [inline, virtual]

Definition at line 63 of file G4VParticipants.cc.

References theNucleus.

00064 {
00065   if (theNucleus != NULL) delete theNucleus;
00066   theNucleus = aNucleus;
00067 }


Field Documentation

G4V3DNucleus* G4VParticipants::theNucleus

Definition at line 65 of file G4VParticipants.hh.

Referenced by G4QGSParticipants::DoLorentzBoost(), G4FTFParticipants::GetList(), GetWoundedNucleus(), Init(), G4QGSParticipants::SelectInteractions(), SetNucleus(), and ~G4VParticipants().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:52 2013 for Geant4 by  doxygen 1.4.7