59 G4cout <<
"\nPar01PiModel::ModelTrigger() called:" <<
G4endl;
62 GetDefinition()->GetParticleName() <<
" )\n" <<
G4endl;
67 G4cout <<
" Track position: " <<
73 G4cout <<
" Track direction:" <<
126 direction.setZ(direction.z()*0.5);
127 direction.setY(direction.y()+direction.z()*0.1);
128 direction = direction.unit();
135 GetKineticEnergy()/2.);
G4ThreeVector GetPrimaryTrackLocalPosition() const
const G4Track * GetPrimaryTrack() const
G4ThreeVector GetPrimaryTrackLocalDirection() const
CLHEP::Hep3Vector G4ThreeVector
virtual G4bool IsApplicable(const G4ParticleDefinition &)
const G4ThreeVector & GetPosition() const
void SetNumberOfSecondaryTracks(G4int)
virtual G4bool ModelTrigger(const G4FastTrack &)
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)
G4ThreeVector G4ParticleMomentum
static G4Gamma * GammaDefinition()