Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
@@ -26,23 +26,23 @@
/// \file runAndEvent/RE01/include/RE01CalorimeterROGeometry.hh
/// \brief Definition of the RE01CalorimeterROGeometry class
//
// $Id: RE01CalorimeterROGeometry.hh 66379 2012-12-18 09:46:33Z gcosmo $
// $Id: RE01CalorimeterROGeometry.hh 97383 2016-06-02 09:56:35Z gcosmo $
//
#ifndef RE01CalorimeterROGeometry_h
#define RE01CalorimeterROGeometry_h 1
#include "G4VReadOutGeometry.hh"
#include "G4VUserParallelWorld.hh"
class RE01CalorimeterROGeometry : public G4VReadOutGeometry
class RE01CalorimeterROGeometry : public G4VUserParallelWorld
{
public:
RE01CalorimeterROGeometry();
RE01CalorimeterROGeometry(G4String);
RE01CalorimeterROGeometry(G4String&);
virtual ~RE01CalorimeterROGeometry();
protected:
virtual G4VPhysicalVolume* Build();
virtual void Construct();
virtual void ConstructSD();
private:
#include "RE01DetectorParameterDef.hh"
@@ -26,7 +26,7 @@
/// \file runAndEvent/RE01/include/RE01DetectorConstruction.hh
/// \brief Definition of the RE01DetectorConstruction class
//
// $Id: RE01DetectorConstruction.hh 75295 2013-10-30 09:32:52Z gcosmo $
// $Id: RE01DetectorConstruction.hh 97383 2016-06-02 09:56:35Z gcosmo $
//
#ifndef RE01DetectorConstruction_h
@@ -37,7 +37,6 @@
class G4VPhysicalVolume;
class G4LogicalVolume;
class G4VReadOutGeometry;
class RE01DetectorConstruction : public G4VUserDetectorConstruction
{
@@ -54,7 +53,6 @@ private:
G4LogicalVolume * fTrackerLayer_log;
G4LogicalVolume * fCalorimeter_log;
G4VReadOutGeometry * fCalorimeterRO;
};
#endif
@@ -1,45 +0,0 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
/// \file runAndEvent/RE01/include/RE01PhysicsList.hh
/// \brief Definition of the RE01PhysicsList class
//
// $Id: RE01PhysicsList.hh 66379 2012-12-18 09:46:33Z gcosmo $
//
//
#ifndef RE01PhysicsList_h
#define RE01PhysicsList_h 1
#include "G4VModularPhysicsList.hh"
class RE01PhysicsList: public G4VModularPhysicsList
{
public:
RE01PhysicsList();
virtual ~RE01PhysicsList();
virtual void SetCuts();
};
#endif
@@ -27,7 +27,7 @@
/// \brief Definition of the RE01TrackInformation class
//
//
// $Id: RE01TrackInformation.hh 75295 2013-10-30 09:32:52Z gcosmo $
// $Id: RE01TrackInformation.hh 97671 2016-06-07 08:25:00Z gcosmo $
//
#ifndef RE01TrackInformation_h
@@ -60,6 +60,8 @@ public:
inline G4int GetTrackingStatus() const {return fTrackingStatus;}
inline void SetTrackingStatus(G4int i) {fTrackingStatus = i;}
inline G4int GetSourceTrackID() const {return fSourceTrackID;}
inline void SetSuspendedStepID(G4int i) {fSuspendedStepID = i;}
inline G4int GetSuspendedStepID() const {return fSuspendedStepID;}
private:
// Information of the primary track at the primary vertex
@@ -75,7 +77,7 @@ private:
// to calorimeter
// = 0 : track which or ancester of which has reached to
// calorimeter
// = 2 : track or its ancester had once reached to calorimeter
// = 2 : track or its ancester had reached to calorimeter
// and then escaped from it
// Information of the track which reached to the calorimeter boundary at the
// boundary surface.
@@ -86,11 +88,11 @@ private:
G4ThreeVector fSourceMomentum;
G4double fSourceEnergy;
G4double fSourceTime;
G4int fSuspendedStepID;
};
extern G4ThreadLocal G4Allocator<RE01TrackInformation> * aTrackInformationAllocator;
//extern G4Allocator<RE01TrackInformation> aTrackInformationAllocator;
extern G4ThreadLocal
G4Allocator<RE01TrackInformation> * aTrackInformationAllocator;
inline void* RE01TrackInformation::operator new(size_t)
{
@@ -1,59 +0,0 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
/// \file runAndEvent/RE01/include/RE01UnknownDecayPhysics.hh
/// \brief Definition of the RE01UnknownDecayPhysics class
//
// $Id: RE01UnknownDecayPhysics.hh 66379 2012-12-18 09:46:33Z gcosmo $
//
//
#ifndef RE01UnknownDecayPhysics_h
#define RE01UnknownDecayPhysics_h 1
#include "G4VPhysicsConstructor.hh"
#include "G4Decay.hh"
#include "G4UnknownDecay.hh"
class RE01UnknownDecayPhysics : public G4VPhysicsConstructor
{
public:
RE01UnknownDecayPhysics(const G4String& name = "decay");
virtual ~RE01UnknownDecayPhysics();
// This method will be invoked in the Construct() method.
// each particle type will be instantiated
virtual void ConstructParticle();
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
protected:
G4Decay fDecayProcess;
G4UnknownDecay fUnknownDecay;
};
#endif