70 G4cout <<
"\nPar01PiModel::ModelTrigger() called:" <<
G4endl;
73 GetDefinition()->GetParticleName() <<
" )\n" <<
G4endl;
78 G4cout <<
" Track position: " <<
84 G4cout <<
" Track direction:" <<
138 direction.
setZ(direction.z()*0.5);
139 direction.setY(direction.y()+direction.z()*0.1);
140 direction = direction.unit();
147 GetKineticEnergy()/2.);
virtual G4bool IsApplicable(const G4ParticleDefinition &)
G4VSolid * GetEnvelopeSolid() const
const G4Track * GetPrimaryTrack() const
static G4PionPlus * PionPlusDefinition()
void SetNumberOfSecondaryTracks(G4int)
virtual G4bool ModelTrigger(const G4FastTrack &)
G4ThreeVector GetPrimaryTrackLocalPosition() const
G4ThreeVector GetMomentum() const
Par01PiModel(G4Region *anEnvelope)
G4ThreeVector GetPrimaryTrackLocalDirection() const
G4double GetGlobalTime() const
G4Track * CreateSecondaryTrack(const G4DynamicParticle &, G4ThreeVector, G4ThreeVector, G4double, G4bool localCoordinates=true)
const G4ThreeVector & GetPosition() const
static G4PionMinus * PionMinusDefinition()
virtual void DoIt(const G4FastTrack &, G4FastStep &)
static G4Gamma * GammaDefinition()
Definition of the Par01PiModel class.
G4GLOB_DLL std::ostream G4cout
void ProposePrimaryTrackFinalPosition(const G4ThreeVector &, G4bool localCoordinates=true)