Geant4  10.00.p02
G4INCL::DecayAvatar Class Reference

Decay avatar. More...

#include <G4INCLDecayAvatar.hh>

+ Inheritance diagram for G4INCL::DecayAvatar:
+ Collaboration diagram for G4INCL::DecayAvatar:

Public Member Functions

 DecayAvatar (G4INCL::Particle *aParticle, G4double time, G4INCL::Nucleus *aNucleus, G4bool force=false)
 
virtual ~DecayAvatar ()
 
G4INCL::IChannelgetChannel ()
 
G4INCL::FinalStategetFinalState ()
 
virtual void preInteraction ()
 
virtual FinalStatepostInteraction (FinalState *)
 
ParticleList getParticles () const
 
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 ()
 

Private Attributes

G4bool forced
 
ThreeVector const & incidentDirection
 

Additional Inherited Members

- Static Public Member Functions inherited from G4INCL::InteractionAvatar
static void deleteBackupParticles ()
 Release the memory allocated for the backup particles. More...
 
- 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...
 
- 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
NucleustheNucleus
 
Particleparticle1
 
Particleparticle2
 
ThreeVector boostVector
 
G4double oldTotalEnergy
 
G4double oldXSec
 
G4bool isPiN
 
- Protected Attributes inherited from G4INCL::IAvatar
G4double theTime
 
- Static Protected Attributes inherited from G4INCL::InteractionAvatar
static G4ThreadLocal ParticlebackupParticle1 = NULL
 
static G4ThreadLocal ParticlebackupParticle2 = NULL
 

Detailed Description

Decay avatar.

The reflection avatar is created when a particle reaches the boundary of the nucleus. At this point it can either be reflected from the boundary or exit the nucleus.

Definition at line 53 of file G4INCLDecayAvatar.hh.

Constructor & Destructor Documentation

G4INCL::DecayAvatar::DecayAvatar ( G4INCL::Particle aParticle,
G4double  time,
G4INCL::Nucleus aNucleus,
G4bool  force = false 
)

Definition at line 47 of file G4INCLDecayAvatar.cc.

References G4INCL::DecayAvatarType, and G4INCL::IAvatar::setType().

+ Here is the call graph for this function:

G4INCL::DecayAvatar::~DecayAvatar ( )
virtual

Definition at line 54 of file G4INCLDecayAvatar.cc.

Member Function Documentation

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

Implements G4INCL::IAvatar.

Definition at line 183 of file G4INCLDecayAvatar.cc.

References G4INCL::Particle::dump(), G4INCL::InteractionAvatar::particle1, and G4INCL::IAvatar::theTime.

+ Here is the call graph for this function:

G4INCL::IChannel * G4INCL::DecayAvatar::getChannel ( )
virtual

Implements G4INCL::InteractionAvatar.

Definition at line 58 of file G4INCLDecayAvatar.cc.

References incidentDirection, INCL_DEBUG, G4INCL::Particle::isDelta(), and G4INCL::InteractionAvatar::particle1.

+ Here is the call graph for this function:

G4INCL::FinalState* G4INCL::DecayAvatar::getFinalState ( )
ParticleList G4INCL::DecayAvatar::getParticles ( ) const
inlinevirtual

Implements G4INCL::IAvatar.

Definition at line 64 of file G4INCLDecayAvatar.hh.

References G4INCL::InteractionAvatar::particle1.

void G4INCL::DecayAvatar::preInteraction ( )
virtual

Implements G4INCL::IAvatar.

Definition at line 67 of file G4INCLDecayAvatar.cc.

References G4INCL::InteractionAvatar::preInteraction().

+ Here is the call graph for this function:

Member Data Documentation

G4bool G4INCL::DecayAvatar::forced
private

Definition at line 72 of file G4INCLDecayAvatar.hh.

Referenced by postInteraction().

ThreeVector const& G4INCL::DecayAvatar::incidentDirection
private

Definition at line 73 of file G4INCLDecayAvatar.hh.

Referenced by getChannel().


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