Import Geant4 10.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2018-12-07 15:15:39 +01:00
parent 6aa23be517
commit db49709b53
11370 changed files with 187480 additions and 160142 deletions
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeActionInitialization.hh 68058 2013-03-13 14:47:43Z gcosmo $
//
/// \file LXeActionInitialization.hh
/// \brief Definition of the LXeActionInitialization class
@@ -33,7 +32,7 @@
#include "G4VUserActionInitialization.hh"
class B4DetectorConstruction;
class LXeDetectorConstruction;
/// Action initialization class.
///
@@ -41,13 +40,15 @@ class B4DetectorConstruction;
class LXeActionInitialization : public G4VUserActionInitialization
{
public:
LXeActionInitialization();
LXeActionInitialization(const LXeDetectorConstruction* det);
virtual ~LXeActionInitialization();
virtual void BuildForMaster() const;
virtual void Build() const;
private:
const LXeDetectorConstruction* fDetector;
};
#endif
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeDetectorConstruction.hh 77486 2013-11-25 10:14:16Z gcosmo $
//
/// \file optical/LXe/include/LXeDetectorConstruction.hh
/// \brief Definition of the LXeDetectorConstruction class
@@ -68,32 +67,34 @@ class LXeDetectorConstruction : public G4VUserDetectorConstruction
void SetNZ(G4int );
void SetPMTRadius(G4double );
void SetDefaults();
void SetSaveThreshold(G4int );
//Get values
G4int GetNX(){return fNx;}
G4int GetNY(){return fNy;}
G4int GetNZ(){return fNz;}
G4double GetScintX(){return fScint_x;}
G4double GetScintY(){return fScint_y;}
G4double GetScintZ(){return fScint_z;}
G4double GetHousingThickness(){return fD_mtl;}
G4double GetPMTRadius(){return fOuterRadius_pmt;}
G4double GetSlabZ(){return fSlab_z;}
G4int GetNX() const {return fNx;};
G4int GetNY() const {return fNy;};
G4int GetNZ() const {return fNz;};
G4int GetSaveThreshold() const {return fSaveThreshold;};
G4double GetScintX() const {return fScint_x;}
G4double GetScintY() const {return fScint_y;}
G4double GetScintZ() const {return fScint_z;}
G4double GetHousingThickness() const {return fD_mtl;}
G4double GetPMTRadius() const {return fOuterRadius_pmt;}
G4double GetSlabZ() const {return fSlab_z;}
void SetSphereOn(G4bool );
static G4bool GetSphereOn(){return fSphereOn;}
void SetHousingReflectivity(G4double );
G4double GetHousingReflectivity(){return fRefl;}
G4double GetHousingReflectivity() const {return fRefl;}
void SetWLSSlabOn(G4bool b);
G4bool GetWLSSlabOn(){return fWLSslab;}
G4bool GetWLSSlabOn() const {return fWLSslab;}
void SetMainVolumeOn(G4bool b);
G4bool GetMainVolumeOn(){return fMainVolumeOn;}
G4bool GetMainVolumeOn() const {return fMainVolumeOn;}
void SetNFibers(G4int n);
G4int GetNFibers(){return fNfibers;}
G4int GetNFibers() const {return fNfibers;}
void SetMainScintYield(G4double );
void SetWLSScintYield(G4double );
@@ -101,7 +102,6 @@ class LXeDetectorConstruction : public G4VUserDetectorConstruction
private:
void DefineMaterials();
G4VPhysicalVolume* ConstructDetector();
LXeDetectorMessenger* fDetectorMessenger;
@@ -132,6 +132,7 @@ class LXeDetectorConstruction : public G4VUserDetectorConstruction
G4int fNx;
G4int fNy;
G4int fNz;
G4int fSaveThreshold;
G4double fOuterRadius_pmt;
G4int fNfibers;
static G4bool fSphereOn;
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeDetectorMessenger.hh 77486 2013-11-25 10:14:16Z gcosmo $
//
/// \file optical/LXe/include/LXeDetectorMessenger.hh
/// \brief Definition of the LXeDetectorMessenger class
@@ -72,6 +71,7 @@ class LXeDetectorMessenger: public G4UImessenger
G4UIcommand* fDefaultsCmd;
G4UIcmdWithADouble* fMainScintYield;
G4UIcmdWithADouble* fWLSScintYield;
G4UIcmdWithAnInteger* fSaveThresholdCmd;
};
#endif
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeEventAction.hh 109784 2018-05-09 08:14:08Z gcosmo $
//
/// \file optical/LXe/include/LXeEventAction.hh
/// \brief Definition of the LXeEventAction class
@@ -38,12 +37,13 @@
#include "G4ThreeVector.hh"
class G4Event;
class LXeDetectorConstruction;
class LXeEventAction : public G4UserEventAction
{
public:
LXeEventAction();
LXeEventAction(const LXeDetectorConstruction*);
virtual ~LXeEventAction();
public:
@@ -51,8 +51,6 @@ class LXeEventAction : public G4UserEventAction
virtual void BeginOfEventAction(const G4Event*);
virtual void EndOfEventAction(const G4Event*);
void SetSaveThreshold(G4int );
void SetEventVerbose(G4int v){fVerbose=v;}
void SetPMTThreshold(G4int t){fPMTThreshold=t;}
@@ -95,25 +93,21 @@ class LXeEventAction : public G4UserEventAction
void IncPMTSAboveThreshold(){fPMTsAboveThreshold++;}
G4int GetPMTSAboveThreshold(){return fPMTsAboveThreshold;}
private:
LXeEventMessenger* fEventMessenger;
const LXeDetectorConstruction* fDetector;
G4int fSaveThreshold;
G4int fScintCollID;
G4int fPMTCollID;
G4int fScintCollID;
G4int fPMTCollID;
G4int fVerbose;
G4int fVerbose;
G4int fPMTThreshold;
G4int fPMTThreshold;
G4bool fForcedrawphotons;
G4bool fForcenophotons;
G4int fHitCount;
G4int fPhotonCount_Scint;
G4int fPhotonCount_Ceren;
@@ -132,9 +126,6 @@ class LXeEventAction : public G4UserEventAction
G4double fEdepMax;
G4int fPMTsAboveThreshold;
};
#endif
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeEventMessenger.hh 68752 2013-04-05 10:23:47Z gcosmo $
//
/// \file optical/LXe/include/LXeEventMessenger.hh
/// \brief Definition of the LXeEventMessenger class
@@ -51,7 +50,6 @@ class LXeEventMessenger: public G4UImessenger
private:
LXeEventAction* fLXeEvent;
G4UIcmdWithAnInteger* fSaveThresholdCmd;
G4UIcmdWithAnInteger* fVerboseCmd;
G4UIcmdWithAnInteger* fPmtThresholdCmd;
G4UIcmdWithABool* fForceDrawPhotonsCmd;
@@ -27,7 +27,6 @@
/// \brief Definition of the LXeHistoManager class
//
//
// $Id: LXeHistoManager.hh
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeMainVolume.hh 77486 2013-11-25 10:14:16Z gcosmo $
//
/// \file optical/LXe/include/LXeMainVolume.hh
/// \brief Definition of the LXeMainVolume class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXePMTHit.hh 72250 2013-07-12 08:59:26Z gcosmo $
//
/// \file optical/LXe/include/LXePMTHit.hh
/// \brief Definition of the LXePMTHit class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXePMTSD.hh 73915 2013-09-17 07:32:26Z gcosmo $
//
/// \file optical/LXe/include/LXePMTSD.hh
/// \brief Definition of the LXePMTSD class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXePrimaryGeneratorAction.hh 68752 2013-04-05 10:23:47Z gcosmo $
//
/// \file optical/LXe/include/LXePrimaryGeneratorAction.hh
/// \brief Definition of the LXePrimaryGeneratorAction class
@@ -26,7 +26,6 @@
/// \file optical/LXe/include/Run.hh
/// \brief Definition of the Run class
//
// $Id: Run.hh 71375 2013-06-14 07:39:33Z maire $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeRunAction.hh 109784 2018-05-09 08:14:08Z gcosmo $
//
/// \file optical/LXe/include/LXeRunAction.hh
/// \brief Definition of the LXeRunAction class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeScintHit.hh 72250 2013-07-12 08:59:26Z gcosmo $
//
/// \file optical/LXe/include/LXeScintHit.hh
/// \brief Definition of the LXeScintHit class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeScintSD.hh 68752 2013-04-05 10:23:47Z gcosmo $
//
/// \file optical/LXe/include/LXeScintSD.hh
/// \brief Definition of the LXeScintSD class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeStackingAction.hh 109652 2018-05-04 08:49:34Z gcosmo $
//
/// \file optical/LXe/include/LXeStackingAction.hh
/// \brief Definition of the LXeStackingAction class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeSteppingAction.hh 109784 2018-05-09 08:14:08Z gcosmo $
//
/// \file optical/LXe/include/LXeSteppingAction.hh
/// \brief Definition of the LXeSteppingAction class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeSteppingMessenger.hh 68752 2013-04-05 10:23:47Z gcosmo $
//
/// \file optical/LXe/include/LXeSteppingMessenger.hh
/// \brief Definition of the LXeSteppingMessenger class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeTrackingAction.hh 109784 2018-05-09 08:14:08Z gcosmo $
//
/// \file optical/LXe/include/LXeTrackingAction.hh
/// \brief Definition of the LXeTrackingAction class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeTrajectory.hh 72349 2013-07-16 12:13:16Z gcosmo $
//
/// \file optical/LXe/include/LXeTrajectory.hh
/// \brief Definition of the LXeTrajectory class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeUserTrackInformation.hh 68752 2013-04-05 10:23:47Z gcosmo $
//
/// \file optical/LXe/include/LXeUserTrackInformation.hh
/// \brief Definition of the LXeUserTrackInformation class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeWLSFiber.hh 108789 2018-03-07 08:42:56Z gcosmo $
//
/// \file optical/LXe/include/LXeWLSFiber.hh
/// \brief Definition of the LXeWLSFiber class
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LXeWLSSlab.hh 77664 2013-11-27 10:13:53Z gcosmo $
//
/// \file optical/LXe/include/LXeWLSSlab.hh
/// \brief Definition of the LXeWLSSlab class