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
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: PersEx02DetectorConstruction.cc,v 1.3 1999/11/29 18:33:27 morita Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: PersEx02DetectorConstruction.cc,v 1.3.4.1 1999/12/08 17:33:09 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#include "PersEx02DetectorConstruction.hh"
@@ -32,7 +32,7 @@ PersEx02DetectorConstruction::~PersEx02DetectorConstruction()
G4VPhysicalVolume* PersEx02DetectorConstruction::Construct()
{
G4cout << " -- Tracker type sensitive detector" << endl;
G4cout << " -- Tracker type sensitive detector" << G4endl;
//--------- Material definition ---------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: PersEx02EventAction.cc,v 1.3 1999/11/29 18:33:28 morita Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: PersEx02EventAction.cc,v 1.3.4.1 1999/12/08 17:33:09 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#include "PersEx02EventAction.hh"
@@ -46,7 +46,7 @@ void PersEx02EventAction::BeginOfEventAction(const G4Event* )
void PersEx02EventAction::EndOfEventAction(const G4Event* evt)
{
G4cout << ">>> Event " << evt->GetEventID() << endl;
G4cout << ">>> Event " << evt->GetEventID() << G4endl;
G4PHCofThisEvent* pHCE = G4PersistentHitMan::GetPersistentHitMan()
->GetCurrentPHCofThisEvent();
@@ -55,21 +55,21 @@ void PersEx02EventAction::EndOfEventAction(const G4Event* evt)
HepRef(PersEx02TrackerHitsCollection) pTHC2
= (HepRef(PersEx02TrackerHitsCollection))(pHCE->GetHC(colID2));
G4cout << "Event : " << evt->GetEventID() << endl
G4cout << "Event : " << evt->GetEventID() << G4endl
<< pTHC1->GetSDname() << "/" << pTHC1->GetName() << " "
<< "Number of hits " << pTHC1->size() << endl;
<< "Number of hits " << pTHC1->size() << G4endl;
if( pTHC1->size() > 0 )
{
HepRef(PersEx02TrackerHit) aHit = pTHC1->element(0);
G4cout << " Edep of the first Hit " << aHit->GetEdep() << endl;
G4cout << " Edep of the first Hit " << aHit->GetEdep() << G4endl;
}
G4cout << pTHC2->GetSDname() << "/" << pTHC2->GetName() << " "
<< "Number of hits " << pTHC2->size() << endl;
<< "Number of hits " << pTHC2->size() << G4endl;
if( pTHC2->size() > 0 )
{
HepRef(PersEx02TrackerHit) aHit = pTHC2->element(0);
assert(aHit!=NULL);
G4cout << " Edep of the first Hit " << aHit->GetEdep() << endl;
G4cout << " Edep of the first Hit " << aHit->GetEdep() << G4endl;
}
G4PersistencyManager* persM
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: PersEx02PhysicsList.cc,v 1.3 1999/11/29 18:33:28 morita Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: PersEx02PhysicsList.cc,v 1.3.4.3 1999/12/14 07:07:43 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#include "globals.hh"
@@ -25,7 +25,7 @@
#include "G4Material.hh"
#include "G4MaterialTable.hh"
#include "G4ios.hh"
#include <iomanip.h>
#include "g4std/iomanip"
PersEx02PhysicsList::PersEx02PhysicsList(): G4VUserPhysicsList()
@@ -186,7 +186,7 @@ void PersEx02PhysicsList::SetCuts()
{
if (verboseLevel >0){
G4cout << "PersEx02PhysicsList::SetCuts:";
G4cout << "CutLength : " << defaultCutValue/mm << " (mm)" << endl;
G4cout << "CutLength : " << defaultCutValue/mm << " (mm)" << G4endl;
}
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: PersEx02PrimaryGeneratorAction.cc,v 1.3 1999/11/29 18:33:28 morita Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#include "PersEx02PrimaryGeneratorAction.hh"
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: PersEx02RunAction.cc,v 1.3 1999/11/29 18:33:28 morita Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#include "PersEx02RunAction.hh"
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: PersEx02StackingAction.cc,v 1.2 1999/11/29 18:33:29 morita Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#include "PersEx02StackingAction.hh"
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: PersEx02TrackerHit.cc,v 1.3 1999/11/29 18:33:29 morita Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#include "PersEx02TrackerHit.hh"
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: PersEx02TrackerHitsCollection.cc,v 1.3 1999/11/29 18:33:29 morita Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#include "PersEx02TrackerHitsCollection.hh"
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: PersEx02TrackerSD.cc,v 1.4 1999/12/02 17:05:17 morita Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#include <assert.h>