Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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() [1/3]

G4QInteraction::G4QInteraction ( G4QHadron aPrimaryParticipant)

Definition at line 43 of file G4QInteraction.cc.

43 :
44 theProjectile(aProjectile), theTarget(0), theNumberOfDINR(0),
45 theNumberOfHard(0),theNumberOfSoft(0),theNumberOfDiffractive(0)
46{}

◆ ~G4QInteraction()

G4QInteraction::~G4QInteraction ( )

Definition at line 53 of file G4QInteraction.cc.

54{
55 //delete theProjectile;
56 //if(theTarget) delete theTarget;
57}

◆ G4QInteraction() [2/3]

G4QInteraction::G4QInteraction ( )
inline

Definition at line 72 of file G4QInteraction.hh.

72{}

◆ G4QInteraction() [3/3]

G4QInteraction::G4QInteraction ( const G4QInteraction right)

Definition at line 48 of file G4QInteraction.cc.

48 :
49 theProjectile(right.GetProjectile()), theTarget(right.GetTarget()),
50 theNumberOfDINR(0), theNumberOfHard(0), theNumberOfSoft(0), theNumberOfDiffractive(0)
51{}
G4QHadron * GetProjectile() const
G4QHadron * GetTarget() const

Member Function Documentation

◆ GetNumberOfDiffractiveCollisions()

G4int G4QInteraction::GetNumberOfDiffractiveCollisions ( )
inline

Definition at line 62 of file G4QInteraction.hh.

62{return theNumberOfDiffractive;}

◆ GetNumberOfDINRCollisions()

G4int G4QInteraction::GetNumberOfDINRCollisions ( )
inline

Definition at line 60 of file G4QInteraction.hh.

60{return theNumberOfDINR;}

◆ GetNumberOfHardCollisions()

G4int G4QInteraction::GetNumberOfHardCollisions ( )
inline

Definition at line 61 of file G4QInteraction.hh.

61{return theNumberOfHard;}

◆ GetNumberOfSoftCollisions()

G4int G4QInteraction::GetNumberOfSoftCollisions ( )
inline

Definition at line 59 of file G4QInteraction.hh.

59{return theNumberOfSoft;}

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

◆ GetProjectile()

G4QHadron * G4QInteraction::GetProjectile ( ) const
inline

Definition at line 57 of file G4QInteraction.hh.

57{return theProjectile;}

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

◆ GetTarget()

G4QHadron * G4QInteraction::GetTarget ( ) const
inline

Definition at line 58 of file G4QInteraction.hh.

58{return theTarget;}

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

◆ operator!=()

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

Definition at line 56 of file G4QInteraction.hh.

56{return this!=&right;}

◆ operator=()

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

◆ operator==()

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

Definition at line 55 of file G4QInteraction.hh.

55{return this==&right;}

◆ SetNumberOfDiffractiveCollisions()

void G4QInteraction::SetNumberOfDiffractiveCollisions ( G4int  nofDiff)
inline

Definition at line 68 of file G4QInteraction.hh.

68{theNumberOfDiffractive = nofDiff;}

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

◆ SetNumberOfDINRCollisions()

void G4QInteraction::SetNumberOfDINRCollisions ( G4int  nofDINR)
inline

Definition at line 66 of file G4QInteraction.hh.

66{theNumberOfDINR = nofDINR;}

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

◆ SetNumberOfHardCollisions()

void G4QInteraction::SetNumberOfHardCollisions ( G4int  nofHard)
inline

Definition at line 67 of file G4QInteraction.hh.

67{theNumberOfHard = nofHard;}

◆ SetNumberOfSoftCollisions()

void G4QInteraction::SetNumberOfSoftCollisions ( G4int  nofSoft)
inline

Definition at line 65 of file G4QInteraction.hh.

65{theNumberOfSoft = nofSoft;}

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

◆ SetProjectile()

void G4QInteraction::SetProjectile ( G4QHadron aProjectile)
inline

Definition at line 64 of file G4QInteraction.hh.

64{theProjectile = aProjectile;}

◆ SetTarget()

void G4QInteraction::SetTarget ( G4QHadron aTarget)
inline

Definition at line 63 of file G4QInteraction.hh.

63{theTarget = aTarget;}

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

◆ SplitHadrons()

void G4QInteraction::SplitHadrons ( )
inline

Definition at line 69 of file G4QInteraction.hh.

70 {if(theProjectile)theProjectile->SplitUp(); if(theTarget)theTarget->SplitUp();}
void SplitUp()
Definition: G4QHadron.cc:1087

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