#include <G4INCLInteractionAvatar.hh>
Definition at line 61 of file G4INCLInteractionAvatar.hh.
◆ InteractionAvatar() [1/2]
◆ InteractionAvatar() [2/2]
◆ ~InteractionAvatar()
virtual G4INCL::InteractionAvatar::~InteractionAvatar |
( |
| ) |
|
|
virtual |
◆ bringParticleInside()
G4bool G4INCL::InteractionAvatar::bringParticleInside |
( |
Particle *const |
p | ) |
|
|
protected |
◆ deleteBackupParticles()
static void G4INCL::InteractionAvatar::deleteBackupParticles |
( |
| ) |
|
|
static |
Release the memory allocated for the backup particles.
◆ enforceEnergyConservation()
G4bool G4INCL::InteractionAvatar::enforceEnergyConservation |
( |
FinalState *const |
fs | ) |
|
|
protected |
Enforce energy conservation.
Final states generated by the channels might violate energy conservation because of different reasons (energy-dependent potentials, local energy...). This conservation law must therefore be enforced by hand. We do so by rescaling the momenta of the final-state particles in the CM frame. If this turns out to be impossible, this method returns false.
- Returns
- true if the algorithm succeeded
◆ getChannel()
◆ INCL_DECLARE_ALLOCATION_POOL()
◆ postInteraction()
void G4INCL::InteractionAvatar::postInteraction |
( |
FinalState * |
| ) |
|
|
protectedvirtual |
◆ preInteraction()
void G4INCL::InteractionAvatar::preInteraction |
( |
| ) |
|
|
protectedvirtual |
◆ preInteractionBlocking()
void G4INCL::InteractionAvatar::preInteractionBlocking |
( |
| ) |
|
|
protected |
Store the state of the particles before the interaction.
If the interaction cannot be realised for any reason, we will need to restore the particle state as it was before. This is done by calling the restoreParticles() method.
◆ preInteractionLocalEnergy()
void G4INCL::InteractionAvatar::preInteractionLocalEnergy |
( |
Particle *const |
p | ) |
|
|
protected |
Apply local-energy transformation, if appropriate.
- Parameters
-
p | particle to apply the transformation to |
◆ restoreParticles()
void G4INCL::InteractionAvatar::restoreParticles |
( |
| ) |
const |
|
protected |
◆ shouldUseLocalEnergy()
G4bool G4INCL::InteractionAvatar::shouldUseLocalEnergy |
( |
| ) |
const |
|
protected |
true if the given avatar should use local energy
◆ backupParticle1
◆ backupParticle2
◆ boostVector
◆ created
◆ isPiN
G4bool G4INCL::InteractionAvatar::isPiN |
|
protected |
◆ locEAccuracy
const G4double G4INCL::InteractionAvatar::locEAccuracy |
|
static |
◆ maxIterLocE
const G4int G4INCL::InteractionAvatar::maxIterLocE |
|
static |
◆ modified
◆ modifiedAndCreated
◆ oldTotalEnergy
G4double G4INCL::InteractionAvatar::oldTotalEnergy |
|
protected |
◆ oldXSec
G4double G4INCL::InteractionAvatar::oldXSec |
|
protected |
◆ particle1
Particle* G4INCL::InteractionAvatar::particle1 |
|
protected |
◆ particle2
Particle * G4INCL::InteractionAvatar::particle2 |
|
protected |
◆ theNucleus
Nucleus* G4INCL::InteractionAvatar::theNucleus |
|
protected |
◆ violationEFunctor
RootFunctor* G4INCL::InteractionAvatar::violationEFunctor |
|
private |
The documentation for this class was generated from the following file: