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.);
G4ThreeVector GetPrimaryTrackLocalPosition() const
const G4Track * GetPrimaryTrack() const
G4ThreeVector GetPrimaryTrackLocalDirection() const
virtual G4bool IsApplicable(const G4ParticleDefinition &)
const G4ThreeVector & GetPosition() const
void SetNumberOfSecondaryTracks(G4int)
virtual G4bool ModelTrigger(const G4FastTrack &)
Definition of the Par01PiModel class.
G4Track * CreateSecondaryTrack(const G4DynamicParticle &, G4ThreeVector, G4ThreeVector, G4double, G4bool localCoordinates=true)
virtual void DoIt(const G4FastTrack &, G4FastStep &)
void ProposePrimaryTrackFinalPosition(const G4ThreeVector &, G4bool localCoordinates=true)
G4GLOB_DLL std::ostream G4cout
static G4PionMinus * PionMinusDefinition()
static G4PionPlus * PionPlusDefinition()
G4double GetGlobalTime() const
G4VSolid * GetEnvelopeSolid() const
G4ThreeVector GetMomentum() const
Par01PiModel(G4Region *anEnvelope)
static G4Gamma * GammaDefinition()