Geant4.10
|
#include <Par01PiModel.hh>
Public Member Functions | |
Par01PiModel (G4Region *anEnvelope) | |
~Par01PiModel () | |
virtual G4bool | IsApplicable (const G4ParticleDefinition &) |
virtual G4bool | ModelTrigger (const G4FastTrack &) |
virtual void | DoIt (const G4FastTrack &, G4FastStep &) |
Public Member Functions inherited from G4VFastSimulationModel | |
G4VFastSimulationModel (const G4String &aName) | |
G4VFastSimulationModel (const G4String &aName, G4Envelope *, G4bool IsUnique=FALSE) | |
virtual | ~G4VFastSimulationModel () |
virtual G4bool | AtRestModelTrigger (const G4FastTrack &) |
virtual void | AtRestDoIt (const G4FastTrack &, G4FastStep &) |
const G4String | GetName () const |
G4bool | operator== (const G4VFastSimulationModel &) const |
Definition at line 38 of file Par01PiModel.hh.
Par01PiModel::Par01PiModel | ( | G4Region * | anEnvelope | ) |
Definition at line 35 of file Par01PiModel.cc.
Par01PiModel::~Par01PiModel | ( | ) |
Definition at line 39 of file Par01PiModel.cc.
|
virtual |
Implements G4VFastSimulationModel.
Definition at line 82 of file Par01PiModel.cc.
References G4FastStep::CreateSecondaryTrack(), G4cout, G4endl, G4Gamma::GammaDefinition(), G4FastTrack::GetEnvelopeSolid(), G4Track::GetGlobalTime(), G4FastTrack::GetPrimaryTrack(), G4FastTrack::GetPrimaryTrackLocalDirection(), G4FastTrack::GetPrimaryTrackLocalPosition(), position, G4FastStep::ProposePrimaryTrackFinalPosition(), G4FastStep::SetNumberOfSecondaryTracks(), and CLHEP::Hep3Vector::setZ().
|
virtual |
Implements G4VFastSimulationModel.
Definition at line 42 of file Par01PiModel.cc.
References G4PionMinus::PionMinusDefinition(), and G4PionPlus::PionPlusDefinition().
|
virtual |
Implements G4VFastSimulationModel.
Definition at line 49 of file Par01PiModel.cc.
References G4cout, G4endl, G4Track::GetMomentum(), G4Track::GetPosition(), G4FastTrack::GetPrimaryTrack(), G4FastTrack::GetPrimaryTrackLocalDirection(), G4FastTrack::GetPrimaryTrackLocalPosition(), and CLHEP::Hep3Vector::unit().