Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
+8 -8
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05PiModel.cc,v 1.1.10.1 1999/12/07 20:47:37 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: ExN05PiModel.cc,v 1.2 1999/12/15 14:49:31 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#include "ExN05PiModel.hh"
@@ -38,10 +38,10 @@ G4bool ExN05PiModel::ModelTrigger(const G4FastTrack& fastTrack) {
// are available at this level via the fastTrack parameter (allowing
// to check distance from boundaries, see below to allow the decision)
//--------------------------------------------------------------
G4cout << "\nExN05PiModel::ModelTrigger() called:" << endl;
G4cout << "--------------------------------" << endl;
G4cout << "\nExN05PiModel::ModelTrigger() called:" << G4endl;
G4cout << "--------------------------------" << G4endl;
G4cout << "(particle is a " << fastTrack.GetPrimaryTrack()->
GetDefinition()->GetParticleName() << " )\n" << endl;
GetDefinition()->GetParticleName() << " )\n" << G4endl;
// -- Examples of available informations:
@@ -49,14 +49,14 @@ G4bool ExN05PiModel::ModelTrigger(const G4FastTrack& fastTrack) {
G4cout << " Track position: " <<
fastTrack.GetPrimaryTrack()->GetPosition() << "(global coord.)" <<
fastTrack.GetPrimaryTrackLocalPosition() << "(in envelope coord.)"
<< endl;
<< G4endl;
// -- direction:
G4cout << " Track direction:" <<
fastTrack.GetPrimaryTrack()->GetMomentum().unit() <<
"(global coord.)" <<
fastTrack.GetPrimaryTrackLocalDirection() << "(in envelope coord.)" <<
endl;
G4endl;
return true;
}
@@ -75,7 +75,7 @@ void ExN05PiModel::DoIt(const G4FastTrack& fastTrack,
// The primary track continues along its direction.
// One secondary (a photon) is added:
//------------------------------------------------
G4cout << " Pion `model' applied\n" << endl;
G4cout << " Pion `model' applied\n" << G4endl;
//------------------------------
// Primary: