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,52 @@
//
// ********************************************************************
// * 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: ActionInitialization.hh 70266 2013-05-28 12:57:34Z jjacquem $
//
/// \file persistency/P03/include/ExTGActionInitialization.hh
/// \brief Definition of the ActionInitialization class
#ifndef ExTGActionInitialization_h
#define ExTGActionInitialization_h 1
#include "G4VUserActionInitialization.hh"
/// Action initialization class.
///
class ExTGActionInitialization : public G4VUserActionInitialization
{
public:
ExTGActionInitialization();
virtual ~ExTGActionInitialization();
virtual void BuildForMaster() const;
virtual void Build() const;
};
#endif
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGDetectorConstruction.hh
/// \brief Definition of the ExTGDetectorConstruction class
//
// $Id$
// $Id: ExTGDetectorConstruction.hh 68025 2013-03-13 13:43:46Z gcosmo $
#ifndef ExTGDetectorConstruction_HH
#define ExTGDetectorConstruction_HH
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGDetectorConstructionWithCpp.hh
/// \brief Definition of the ExTGDetectorConstructionWithCpp class
//
// $Id$
// $Id: ExTGDetectorConstructionWithCpp.hh 68025 2013-03-13 13:43:46Z gcosmo $
#ifndef ExTGDetectorConstructionWithCpp_HH
#define ExTGDetectorConstructionWithCpp_HH
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGDetectorConstructionWithCuts.hh
/// \brief Definition of the ExTGDetectorConstructionWithCuts class
//
// $Id$
// $Id: ExTGDetectorConstructionWithCuts.hh 68025 2013-03-13 13:43:46Z gcosmo $
#ifndef ExTGDetectorConstructionWithCuts_HH
#define ExTGDetectorConstructionWithCuts_HH
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGDetectorConstructionWithSD.hh
/// \brief Definition of the ExTGDetectorConstructionWithSD class
//
// $Id$
// $Id: ExTGDetectorConstructionWithSD.hh 76481 2013-11-11 10:49:21Z gcosmo $
#ifndef ExTGDetectorConstructionWithSD_h
#define ExTGDetectorConstructionWithSD_h 1
@@ -46,6 +46,7 @@ class ExTGDetectorConstructionWithSD : public G4VUserDetectorConstruction
~ExTGDetectorConstructionWithSD();
G4VPhysicalVolume* Construct();
void ConstructSDandField();
private:
@@ -23,44 +23,33 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: ExTGPhysicsList.hh 76943 2013-11-19 09:57:34Z gcosmo $
//
/// \file persistency/P03/include/ExTGPhysicsList.hh
/// \brief Definition of the ExTGPhysicsList class
//
// $Id$
#ifndef ExTGPhysicsList_h
#define ExTGPhysicsList_h 1
#include "G4VUserPhysicsList.hh"
#include "G4VModularPhysicsList.hh"
/// Example of physics list
/// Modular physics list
///
/// It includes the folowing physics builders
/// - G4DecayPhysics
/// - G4RadioactiveDecayPhysics
/// - G4EmStandardPhysics
class ExTGPhysicsList : public G4VUserPhysicsList
class ExTGPhysicsList: public G4VModularPhysicsList
{
public:
public:
ExTGPhysicsList();
virtual ~ExTGPhysicsList();
ExTGPhysicsList();
~ExTGPhysicsList();
protected:
// Construct particle and physics
void ConstructParticle();
void ConstructProcess();
void SetCuts();
void ConstructBosons();
void ConstructLeptons();
void ConstructMesons();
void ConstructBaryons();
// Construct physics processes and register them
void ConstructGeneral();
void ConstructEM();
virtual void SetCuts();
};
// ---------------------------------------------------------------------------
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGPrimaryGeneratorAction.hh
/// \brief Definition of the ExTGPrimaryGeneratorAction class
//
// $Id$
// $Id: ExTGPrimaryGeneratorAction.hh 68025 2013-03-13 13:43:46Z gcosmo $
#ifndef ExTGPrimaryGeneratorAction_h
#define ExTGPrimaryGeneratorAction_h 1
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGRCDetectorBuilder.hh
/// \brief Definition of the ExTGRCDetectorBuilder class
//
// $Id$
// $Id: ExTGRCDetectorBuilder.hh 68025 2013-03-13 13:43:46Z gcosmo $
#ifndef ExTGRCDetectorBuilder_h
#define ExTGRCDetectorBuilder_h
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGRCLineProcessor.hh
/// \brief Definition of the ExTGRCLineProcessor class
//
// $Id$
// $Id: ExTGRCLineProcessor.hh 68025 2013-03-13 13:43:46Z gcosmo $
#ifndef ExTGRCLineProcessor_H
#define ExTGRCLineProcessor_H 1
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGRCRegionCutsMgr.hh
/// \brief Definition of the ExTGRCRegionCutsMgr class
//
// $Id$
// $Id: ExTGRCRegionCutsMgr.hh 68025 2013-03-13 13:43:46Z gcosmo $
#ifndef ExTGRCRegionCutsMgr_h
#define ExTGRCRegionCutsMgr_h
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGRCRegionData.hh
/// \brief Definition of the ExTGRCRegionData class
//
// $Id$
// $Id: ExTGRCRegionData.hh 68025 2013-03-13 13:43:46Z gcosmo $
#ifndef ExTGRCRegionData_h
#define ExTGRCRegionData_h
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGRunAction.hh
/// \brief Definition of the ExTGRunAction class
//
// $Id$
// $Id: ExTGRunAction.hh 68025 2013-03-13 13:43:46Z gcosmo $
#ifndef ExTGRunAction_h
#define ExTGRunAction_h 1
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGTrackerHit.hh
/// \brief Definition of the ExTGTrackerHit class
//
// $Id$
// $Id: ExTGTrackerHit.hh 76481 2013-11-11 10:49:21Z gcosmo $
#ifndef ExTGTrackerHit_h
#define ExTGTrackerHit_h 1
@@ -76,22 +76,22 @@ class ExTGTrackerHit : public G4VHit
typedef G4THitsCollection<ExTGTrackerHit> ExTGTrackerHitsCollection;
extern G4Allocator<ExTGTrackerHit> ExTGTrackerHitAllocator;
extern G4ThreadLocal G4Allocator<ExTGTrackerHit>* ExTGTrackerHitAllocator;
// ---------------------------------------------------------------------------
inline void* ExTGTrackerHit::operator new(size_t)
{
void *aHit;
aHit = (void *) ExTGTrackerHitAllocator.MallocSingle();
return aHit;
if(!ExTGTrackerHitAllocator)
ExTGTrackerHitAllocator = new G4Allocator<ExTGTrackerHit>;
return (void *) ExTGTrackerHitAllocator->MallocSingle();
}
// ---------------------------------------------------------------------------
inline void ExTGTrackerHit::operator delete(void *aHit)
inline void ExTGTrackerHit::operator delete(void *hit)
{
ExTGTrackerHitAllocator.FreeSingle((ExTGTrackerHit*) aHit);
ExTGTrackerHitAllocator->FreeSingle((ExTGTrackerHit*) hit);
}
// ---------------------------------------------------------------------------
@@ -26,7 +26,7 @@
/// \file persistency/P03/include/ExTGTrackerSD.hh
/// \brief Definition of the ExTGTrackerSD class
//
// $Id$
// $Id: ExTGTrackerSD.hh 68025 2013-03-13 13:43:46Z gcosmo $
#ifndef ExTGTrackerSD_h
#define ExTGTrackerSD_h 1