Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
G4INCL::BinaryCollisionAvatar Class Reference

#include <G4INCLBinaryCollisionAvatar.hh>

Inheritance diagram for G4INCL::BinaryCollisionAvatar:
Inheritance graph
[legend]
Collaboration diagram for G4INCL::BinaryCollisionAvatar:
Collaboration graph
[legend]

Public Member Functions

 BinaryCollisionAvatar (G4double, G4double, G4INCL::Nucleus *, G4INCL::Particle *, G4INCL::Particle *)
 
virtual ~BinaryCollisionAvatar ()
 
G4INCL::IChannelgetChannel () const
 
ParticleList getParticles () const
 
virtual void preInteraction ()
 
virtual FinalStatepostInteraction (FinalState *)
 
std::string dump () const
 
- Public Member Functions inherited from G4INCL::InteractionAvatar
 InteractionAvatar (G4double, G4INCL::Nucleus *, G4INCL::Particle *)
 
 InteractionAvatar (G4double, G4INCL::Nucleus *, G4INCL::Particle *, G4INCL::Particle *)
 
virtual ~InteractionAvatar ()
 
- Public Member Functions inherited from G4INCL::IAvatar
 IAvatar ()
 
 IAvatar (G4double time)
 
virtual ~IAvatar ()
 
G4INCL::FinalStategetFinalState ()
 
G4double getTime () const
 
AvatarType getType () const
 
G4bool isACollision () const
 
G4bool isADecay () const
 
void setType (AvatarType t)
 
long getID () const
 
std::string toString ()
 

Static Public Attributes

static const G4double cutNN = 1910
 
static const G4double cutNNSquared = cutNN*cutNN
 
- Static Public Attributes inherited from G4INCL::InteractionAvatar
static const G4double locEAccuracy = 1.E-4
 Target accuracy in the determination of the local-energy Q-value. More...
 
static const G4int maxIterLocE = 50
 Max number of iterations for the determination of the local-energy Q-value. More...
 

Additional Inherited Members

- Protected Member Functions inherited from G4INCL::InteractionAvatar
G4bool bringParticleInside (Particle *const p)
 
void preInteractionLocalEnergy (Particle *const p)
 Apply local-energy transformation, if appropriate. More...
 
void preInteractionBlocking ()
 Store the state of the particles before the interaction. More...
 
void preInteraction ()
 
FinalStatepostInteraction (FinalState *)
 
void restoreParticles () const
 Restore the state of both particles. More...
 
G4bool shouldUseLocalEnergy () const
 true if the given avatar should use local energy More...
 
G4bool enforceEnergyConservation (FinalState *const fs)
 Enforce energy conservation. More...
 
- Protected Attributes inherited from G4INCL::InteractionAvatar
G4INCL::NucleustheNucleus
 
G4INCL::Particleparticle1
 
G4INCL::Particleparticle2
 
ThreeVector boostVector
 
ParticleType oldParticle1Type
 
ParticleType oldParticle2Type
 
G4double oldParticle1Energy
 
G4double oldParticle2Energy
 
G4double oldTotalEnergy
 
G4double oldXSec
 
G4double oldParticle1Potential
 
G4double oldParticle2Potential
 
G4double oldParticle1Mass
 
G4double oldParticle2Mass
 
G4double oldParticle1Helicity
 
G4double oldParticle2Helicity
 
ThreeVector oldParticle1Momentum
 
ThreeVector oldParticle2Momentum
 
ThreeVector oldParticle1Position
 
ThreeVector oldParticle2Position
 
G4bool isPiN
 

Detailed Description

Definition at line 54 of file G4INCLBinaryCollisionAvatar.hh.

Constructor & Destructor Documentation

G4INCL::BinaryCollisionAvatar::BinaryCollisionAvatar ( G4double  time,
G4double  crossSection,
G4INCL::Nucleus n,
G4INCL::Particle p1,
G4INCL::Particle p2 
)

Definition at line 66 of file G4INCLBinaryCollisionAvatar.cc.

Here is the call graph for this function:

G4INCL::BinaryCollisionAvatar::~BinaryCollisionAvatar ( )
virtual

Definition at line 73 of file G4INCLBinaryCollisionAvatar.cc.

Member Function Documentation

std::string G4INCL::BinaryCollisionAvatar::dump ( ) const
virtual

Implements G4INCL::IAvatar.

Definition at line 209 of file G4INCLBinaryCollisionAvatar.cc.

Here is the call graph for this function:

G4INCL::IChannel * G4INCL::BinaryCollisionAvatar::getChannel ( ) const
virtual

Check again the distance of approach. In order for the avatar to be realised, we have to perform a check in the CM system. We define a distance four-vector as

\[ (0, \Delta\vec{x}), \]

where $\Delta\vec{x}$ is the distance vector of the particles at their minimum distance of approach (i.e. at the avatar time). By boosting this four-vector to the CM frame of the two particles and we obtain a new four vector

\[ (\Delta t', \Delta\vec{x}'), \]

with a non-zero time component (the collision happens simultaneously for the two particles in the lab system, but not in the CM system). In order for the avatar to be realised, we require that

\[ |\Delta\vec{x}'| \leq \sqrt{\sigma/\pi}.\]

Note that $|\Delta\vec{x}'|\leq|\Delta\vec{x}|$; thus, the condition above is more restrictive than the check that we perform in G4INCL::Propagation::StandardPropagationModel::generateBinaryCollisionAvatar. In other words, the avatar generation cannot miss any physical collision avatars.

Implements G4INCL::InteractionAvatar.

Definition at line 76 of file G4INCLBinaryCollisionAvatar.cc.

Here is the call graph for this function:

ParticleList G4INCL::BinaryCollisionAvatar::getParticles ( ) const
inlinevirtual

Implements G4INCL::IAvatar.

Definition at line 59 of file G4INCLBinaryCollisionAvatar.hh.

FinalState * G4INCL::BinaryCollisionAvatar::postInteraction ( FinalState fs)
virtual

Implements G4INCL::IAvatar.

Definition at line 185 of file G4INCLBinaryCollisionAvatar.cc.

Here is the call graph for this function:

void G4INCL::BinaryCollisionAvatar::preInteraction ( )
virtual

Implements G4INCL::IAvatar.

Definition at line 181 of file G4INCLBinaryCollisionAvatar.cc.

Here is the call graph for this function:

Member Data Documentation

const G4double G4INCL::BinaryCollisionAvatar::cutNN = 1910
static

Definition at line 71 of file G4INCLBinaryCollisionAvatar.hh.

const G4double G4INCL::BinaryCollisionAvatar::cutNNSquared = cutNN*cutNN
static

Definition at line 72 of file G4INCLBinaryCollisionAvatar.hh.


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