Geant4-11
Public Member Functions | Private Member Functions | Private Attributes
G4INCL::NeutralKaonDecayChannel Class Reference

#include <G4INCLNeutralKaonDecayChannel.hh>

Inheritance diagram for G4INCL::NeutralKaonDecayChannel:
G4INCL::IChannel

Public Member Functions

void fillFinalState (FinalState *fs)
 
FinalStategetFinalState ()
 
 NeutralKaonDecayChannel (Particle *)
 
virtual ~NeutralKaonDecayChannel ()
 

Private Member Functions

 INCL_DECLARE_ALLOCATION_POOL (NeutralKaonDecayChannel)
 

Private Attributes

ParticletheParticle
 

Detailed Description

Definition at line 48 of file G4INCLNeutralKaonDecayChannel.hh.

Constructor & Destructor Documentation

◆ NeutralKaonDecayChannel()

G4INCL::NeutralKaonDecayChannel::NeutralKaonDecayChannel ( Particle p)

◆ ~NeutralKaonDecayChannel()

G4INCL::NeutralKaonDecayChannel::~NeutralKaonDecayChannel ( )
virtual

Definition at line 51 of file G4INCLNeutralKaonDecayChannel.cc.

51{}

Member Function Documentation

◆ fillFinalState()

void G4INCL::NeutralKaonDecayChannel::fillFinalState ( FinalState fs)
virtual

Implements G4INCL::IChannel.

Definition at line 53 of file G4INCLNeutralKaonDecayChannel.cc.

53 {
54
55// assert( theParticle->getType() == KZero || theParticle->getType() == KZeroBar);
56
59
60
61 fs->addModifiedParticle(theParticle);
62 }
void setType(ParticleType t)
G4double shoot()
Definition: G4INCLRandom.cc:93

References G4INCL::FinalState::addModifiedParticle(), G4INCL::KLong, G4INCL::KShort, G4INCL::Particle::setType(), G4INCL::Random::shoot(), and theParticle.

◆ getFinalState()

FinalState * G4INCL::IChannel::getFinalState ( )
inherited

Definition at line 50 of file G4INCLIChannel.cc.

50 {
51 FinalState *fs = new FinalState;
53 return fs;
54 }
virtual void fillFinalState(FinalState *fs)=0

References G4INCL::IChannel::fillFinalState().

◆ INCL_DECLARE_ALLOCATION_POOL()

G4INCL::NeutralKaonDecayChannel::INCL_DECLARE_ALLOCATION_POOL ( NeutralKaonDecayChannel  )
private

Field Documentation

◆ theParticle

Particle* G4INCL::NeutralKaonDecayChannel::theParticle
private

Definition at line 57 of file G4INCLNeutralKaonDecayChannel.hh.

Referenced by fillFinalState().


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