Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
@@ -25,7 +25,7 @@
//
//
// $Id: F02CalorHit.cc,v 1.4 2006/06/29 17:17:50 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: F02CalorimeterSD.cc,v 1.6 2006/06/29 17:17:52 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: F02DetectorConstruction.cc,v 1.12 2006/06/29 17:17:55 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: F02DetectorMessenger.cc,v 1.5 2006/06/29 17:17:57 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: F02ElectricFieldSetup.cc,v 1.2 2006/06/29 17:17:59 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: F02ElectricFieldSetup.cc,v 1.4 2008/05/14 15:27:29 tnikitin Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
//
// User Field class implementation.
@@ -230,7 +230,7 @@ void F02ElectricFieldSetup::SetFieldValue(G4ThreeVector fieldVector)
fEquation->SetFieldObj(fEMfield); // As a double check ...
G4MagneticField* fEMfield = 0;
fieldMgr->SetDetectorField(fEMfield);
fieldMgr->SetDetectorField(fEMfield);
}
}
@@ -25,7 +25,7 @@
//
//
// $Id: F02EventAction.cc,v 1.6 2006/06/29 17:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: F02EventActionMessenger.cc,v 1.5 2006/06/29 17:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: F02FieldMessenger.cc,v 1.6 2006/06/29 17:18:08 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: F02FieldMessenger.cc,v 1.8 2008/05/14 15:27:13 tnikitin Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -35,6 +35,7 @@
#include "G4UIdirectory.hh"
#include "G4UIcmdWithAString.hh"
#include "G4UIcmdWithAnInteger.hh"
#include "G4UIcmdWithADouble.hh"
#include "G4UIcmdWithADoubleAndUnit.hh"
#include "G4UIcmdWithoutParameter.hh"
@@ -59,16 +60,16 @@ F02FieldMessenger::F02FieldMessenger(F02ElectricFieldSetup* pEMfield)
UpdateCmd->SetGuidance("if you changed geometrical value(s).");
UpdateCmd->AvailableForStates(G4State_Idle);
MagFieldCmd = new G4UIcmdWithADoubleAndUnit("/field/setFieldZ",this);
MagFieldCmd->SetGuidance("Define magnetic field.");
MagFieldCmd->SetGuidance("Magnetic field will be in Z direction.");
MagFieldCmd->SetParameterName("Bz",false,false);
MagFieldCmd->SetDefaultUnit("tesla");
MagFieldCmd->AvailableForStates(G4State_Idle);
ElFieldCmd = new G4UIcmdWithADoubleAndUnit("/field/setFieldZ",this);
ElFieldCmd->SetGuidance("Define uniform Electric field.");
ElFieldCmd->SetGuidance("Electric field will be in Z direction.");
ElFieldCmd->SetGuidance("Value of Electric field has to be given in volt/m");
ElFieldCmd->SetParameterName("Ez",false,false);
ElFieldCmd->SetDefaultUnit("volt/m");
ElFieldCmd->AvailableForStates(G4State_Idle);
MinStepCmd = new G4UIcmdWithADoubleAndUnit("/field/setMinStep",this);
MinStepCmd->SetGuidance("Define minimal step");
MinStepCmd->SetGuidance("Magnetic field will be in Z direction.");
MinStepCmd->SetParameterName("min step",false,false);
MinStepCmd->SetDefaultUnit("mm");
MinStepCmd->AvailableForStates(G4State_Idle);
@@ -87,7 +88,7 @@ F02FieldMessenger::F02FieldMessenger(F02ElectricFieldSetup* pEMfield)
F02FieldMessenger::~F02FieldMessenger()
{
delete StepperCmd;
delete MagFieldCmd;
delete ElFieldCmd;
delete MinStepCmd;
delete F02detDir;
delete UpdateCmd;
@@ -109,9 +110,9 @@ void F02FieldMessenger::SetNewValue( G4UIcommand* command, G4String newValue)
{
fEFieldSetup->UpdateField();
}
if( command == MagFieldCmd )
if( command == ElFieldCmd )
{
fEFieldSetup->SetFieldValue(MagFieldCmd->GetNewDoubleValue(newValue));
fEFieldSetup->SetFieldValue(ElFieldCmd->GetNewDoubleValue(newValue));
}
if( command == MinStepCmd )
{
@@ -25,7 +25,7 @@
//
//
// $Id: F02PhysicsList.cc,v 1.11 2007/05/23 13:40:28 tnikitin Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
#include "G4Timer.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: F02PhysicsListMessenger.cc,v 1.6 2006/06/29 17:18:13 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: F02PrimaryGeneratorAction.cc,v 1.5 2006/06/29 17:18:15 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: F02PrimaryGeneratorMessenger.cc,v 1.5 2006/06/29 17:18:17 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: F02RunAction.cc,v 1.8 2006/06/29 17:18:20 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: F02RunMessenger.cc,v 1.6 2006/06/29 17:18:23 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: F02StepCut.cc,v 1.3 2006/06/29 17:18:25 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
#include "F02StepCut.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: F02SteppingAction.cc,v 1.6 2006/06/29 17:18:27 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: F02SteppingMessenger.cc,v 1.4 2006/06/29 17:18:29 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -25,7 +25,7 @@
//
//
// $Id: F02SteppingVerbose.cc,v 1.6 2006/06/29 17:18:31 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
//
//---------------------------------------------------------------