Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -0,0 +1,56 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: B3ActionInitialization.hh 68058 2013-03-13 14:47:43Z gcosmo $
//
/// \file B3ActionInitialization.hh
/// \brief Definition of the B3ActionInitialization class
#ifndef B3ActionInitialization_h
#define B3ActionInitialization_h 1
#include "G4VUserActionInitialization.hh"
/// Action initialization class.
///
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class B3ActionInitialization : public G4VUserActionInitialization
{
public:
B3ActionInitialization();
virtual ~B3ActionInitialization();
virtual void BuildForMaster() const;
virtual void Build() const;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: B3DetectorConstruction.hh 71323 2013-06-13 16:54:23Z gcosmo $
//
/// \file B3DetectorConstruction.hh
/// \brief Definition of the B3DetectorConstruction class
@@ -50,14 +50,11 @@ class B3DetectorConstruction : public G4VUserDetectorConstruction
public:
virtual G4VPhysicalVolume* Construct();
virtual void ConstructSDandField();
private:
void DefineMaterials();
void CreateScorers();
G4LogicalVolume* fLogicCryst;
G4LogicalVolume* fLogicPatient;
G4bool fCheckOverlaps;
};
+1 -1
View File
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: B3PhysicsList.hh 68058 2013-03-13 14:47:43Z gcosmo $
//
/// \file B3PhysicsList.hh
/// \brief Definition of the B3PhysicsList class
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: B3PrimaryGeneratorAction.hh 68058 2013-03-13 14:47:43Z gcosmo $
//
/// \file B3PrimaryGeneratorAction.hh
/// \brief Definition of the B3PrimaryGeneratorAction class
@@ -23,39 +23,41 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: B3Run.hh 68058 2013-03-13 14:47:43Z gcosmo $
//
/// \file B3EventAction.hh
/// \brief Definition of the B3EventAction class
/// \file B3Run.hh
/// \brief Definition of the B3Run class
#ifndef B3EventAction_h
#define B3EventAction_h 1
#ifndef B3Run_h
#define B3Run_h 1
#include "G4UserEventAction.hh"
#include "G4Run.hh"
#include "globals.hh"
class B3RunAction;
/// Event action class
/// Run class
///
/// In EndOfEventAction() there is collected information event per event
/// from Hits Collections, and accumulated statistic for
/// B3RunAction::EndOfRunAction().
/// In RecordEvent() there is collected information event per event
/// from Hits Collections, and accumulated statistic for the run
class B3EventAction : public G4UserEventAction
class B3Run : public G4Run
{
public:
B3EventAction(B3RunAction* runAction);
virtual ~B3EventAction();
B3Run();
virtual ~B3Run();
virtual void BeginOfEventAction(const G4Event*);
virtual void EndOfEventAction(const G4Event*);
virtual void RecordEvent(const G4Event*);
virtual void Merge(const G4Run*);
public:
G4int GetNbGoodEvents() const { return fGoodEvents; }
G4double GetSumDose() const { return fSumDose; }
private:
B3RunAction* fRunAct;
G4int fCollID_cryst;
G4int fCollID_patient;
G4int fPrintModulo;
G4int fPrintModulo;
G4int fGoodEvents;
G4double fSumDose;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+3 -9
View File
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: B3RunAction.hh 70599 2013-06-03 11:14:56Z gcosmo $
//
/// \file B3RunAction.hh
/// \brief Definition of the B3RunAction class
@@ -43,16 +43,10 @@ class B3RunAction : public G4UserRunAction
public:
B3RunAction();
virtual ~B3RunAction();
virtual G4Run* GenerateRun();
virtual void BeginOfRunAction(const G4Run*);
virtual void EndOfRunAction(const G4Run*);
void CountEvents() { fGoodEvents++;};
void SumDose(G4double dose) { fSumDose += dose;};
public:
G4int fGoodEvents;
G4double fSumDose;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: B3StackingAction.hh 68058 2013-03-13 14:47:43Z gcosmo $
//
/// \file B3StackingAction.hh
/// \brief Definition of the B3StackingAction class