G4QInteraction Class Reference

#include <G4QInteraction.hh>


Public Member Functions

 G4QInteraction (G4QHadron *aPrimaryParticipant)
 ~G4QInteraction ()
int operator== (const G4QInteraction &right) const
int operator!= (const G4QInteraction &right) const
G4QHadronGetProjectile () const
G4QHadronGetTarget () const
G4int GetNumberOfSoftCollisions ()
G4int GetNumberOfDINRCollisions ()
G4int GetNumberOfHardCollisions ()
G4int GetNumberOfDiffractiveCollisions ()
void SetTarget (G4QHadron *aTarget)
void SetProjectile (G4QHadron *aProjectile)
void SetNumberOfSoftCollisions (G4int nofSoft)
void SetNumberOfDINRCollisions (G4int nofDINR)
void SetNumberOfHardCollisions (G4int nofHard)
void SetNumberOfDiffractiveCollisions (G4int nofDiff)
void SplitHadrons ()
 G4QInteraction ()
 G4QInteraction (const G4QInteraction &right)
const G4QInteractionoperator= (const G4QInteraction &right)


Detailed Description

Definition at line 50 of file G4QInteraction.hh.


Constructor & Destructor Documentation

G4QInteraction::G4QInteraction ( G4QHadron aPrimaryParticipant  ) 

Definition at line 43 of file G4QInteraction.cc.

00043                                                      :
00044   theProjectile(aProjectile), theTarget(0), theNumberOfDINR(0),
00045   theNumberOfHard(0),theNumberOfSoft(0),theNumberOfDiffractive(0)
00046 {}

G4QInteraction::~G4QInteraction (  ) 

Definition at line 53 of file G4QInteraction.cc.

00054 {
00055   //delete theProjectile;
00056   //if(theTarget) delete theTarget;
00057 }

G4QInteraction::G4QInteraction (  )  [inline]

Definition at line 72 of file G4QInteraction.hh.

00072 {}

G4QInteraction::G4QInteraction ( const G4QInteraction right  ) 

Definition at line 48 of file G4QInteraction.cc.

00048                                                           :
00049   theProjectile(right.GetProjectile()), theTarget(right.GetTarget()),
00050   theNumberOfDINR(0), theNumberOfHard(0), theNumberOfSoft(0), theNumberOfDiffractive(0)
00051 {}


Member Function Documentation

G4int G4QInteraction::GetNumberOfDiffractiveCollisions (  )  [inline]

Definition at line 62 of file G4QInteraction.hh.

00062 {return theNumberOfDiffractive;}

G4int G4QInteraction::GetNumberOfDINRCollisions (  )  [inline]

Definition at line 60 of file G4QInteraction.hh.

00060 {return theNumberOfDINR;}

G4int G4QInteraction::GetNumberOfHardCollisions (  )  [inline]

Definition at line 61 of file G4QInteraction.hh.

00061 {return theNumberOfHard;}

G4int G4QInteraction::GetNumberOfSoftCollisions (  )  [inline]

Definition at line 59 of file G4QInteraction.hh.

00059 {return theNumberOfSoft;}

G4QHadron* G4QInteraction::GetProjectile (  )  const [inline]

Definition at line 57 of file G4QInteraction.hh.

00057 {return theProjectile;}

G4QHadron* G4QInteraction::GetTarget (  )  const [inline]

Definition at line 58 of file G4QInteraction.hh.

00058 {return theTarget;}

int G4QInteraction::operator!= ( const G4QInteraction right  )  const [inline]

Definition at line 56 of file G4QInteraction.hh.

00056 {return this!=&right;}

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

int G4QInteraction::operator== ( const G4QInteraction right  )  const [inline]

Definition at line 55 of file G4QInteraction.hh.

00055 {return this==&right;}

void G4QInteraction::SetNumberOfDiffractiveCollisions ( G4int  nofDiff  )  [inline]

Definition at line 68 of file G4QInteraction.hh.

Referenced by G4QFragmentation::G4QFragmentation(), and G4QIonIonCollision::G4QIonIonCollision().

00068 {theNumberOfDiffractive = nofDiff;}

void G4QInteraction::SetNumberOfDINRCollisions ( G4int  nofDINR  )  [inline]

Definition at line 66 of file G4QInteraction.hh.

Referenced by G4QFragmentation::G4QFragmentation(), and G4QIonIonCollision::G4QIonIonCollision().

00066 {theNumberOfDINR = nofDINR;}

void G4QInteraction::SetNumberOfHardCollisions ( G4int  nofHard  )  [inline]

Definition at line 67 of file G4QInteraction.hh.

00067 {theNumberOfHard = nofHard;}

void G4QInteraction::SetNumberOfSoftCollisions ( G4int  nofSoft  )  [inline]

Definition at line 65 of file G4QInteraction.hh.

Referenced by G4QFragmentation::G4QFragmentation(), and G4QIonIonCollision::G4QIonIonCollision().

00065 {theNumberOfSoft = nofSoft;}

void G4QInteraction::SetProjectile ( G4QHadron aProjectile  )  [inline]

Definition at line 64 of file G4QInteraction.hh.

00064 {theProjectile = aProjectile;}

void G4QInteraction::SetTarget ( G4QHadron aTarget  )  [inline]

Definition at line 63 of file G4QInteraction.hh.

Referenced by G4QFragmentation::G4QFragmentation(), and G4QIonIonCollision::G4QIonIonCollision().

00063 {theTarget = aTarget;}

void G4QInteraction::SplitHadrons (  )  [inline]

Definition at line 69 of file G4QInteraction.hh.

References G4QHadron::SplitUp().

00070             {if(theProjectile)theProjectile->SplitUp(); if(theTarget)theTarget->SplitUp();}


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