Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -49,8 +49,6 @@ class WLSActionInitialization : public G4VUserActionInitialization
virtual void BuildForMaster() const;
virtual void Build() const;
virtual G4VSteppingVerbose* InitializeSteppingVerbose() const;
private:
WLSDetectorConstruction* fDetector;
@@ -1,53 +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 optical/wls/include/WLSExtraPhysics.hh
/// \brief Definition of the WLSExtraPhysics class
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef WLSExtraPhysics_h
#define WLSExtraPhysics_h 1
#include "globals.hh"
#include "G4VPhysicsConstructor.hh"
class WLSExtraPhysics : public G4VPhysicsConstructor
{
public:
WLSExtraPhysics();
virtual ~WLSExtraPhysics();
virtual void ConstructParticle();
virtual void ConstructProcess();
};
#endif
@@ -1,83 +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 optical/wls/include/WLSOpticalPhysics.hh
/// \brief Definition of the WLSOpticalPhysics class
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef WLSOpticalPhysics_h
#define WLSOpticalPhysics_h 1
#include "globals.hh"
#include "G4OpWLS.hh"
#include "G4Cerenkov.hh"
#include "G4Scintillation.hh"
#include "G4OpMieHG.hh"
#include "G4OpRayleigh.hh"
#include "G4OpAbsorption.hh"
#include "G4OpBoundaryProcess.hh"
#include "G4VPhysicsConstructor.hh"
class WLSOpticalPhysics : public G4VPhysicsConstructor
{
public:
WLSOpticalPhysics(G4bool toggle=true);
virtual ~WLSOpticalPhysics();
virtual void ConstructParticle();
virtual void ConstructProcess();
G4OpWLS* GetWLSProcess() {return fWLSProcess;}
G4Cerenkov* GetCerenkovProcess() {return fCerenkovProcess;}
G4Scintillation* GetScintillationProcess() {return fScintProcess;}
G4OpAbsorption* GetAbsorptionProcess() {return fAbsorptionProcess;}
G4OpRayleigh* GetRayleighScatteringProcess() {return fRayleighScattering;}
G4OpMieHG* GetMieHGScatteringProcess() {return fMieHGScatteringProcess;}
G4OpBoundaryProcess* GetBoundaryProcess() { return fBoundaryProcess;}
void SetNbOfPhotonsCerenkov(G4int);
private:
G4OpWLS* fWLSProcess;
G4Cerenkov* fCerenkovProcess;
G4Scintillation* fScintProcess;
G4OpAbsorption* fAbsorptionProcess;
G4OpRayleigh* fRayleighScattering;
G4OpMieHG* fMieHGScatteringProcess;
G4OpBoundaryProcess* fBoundaryProcess;
G4bool fAbsorptionOn;
};
#endif
@@ -1,96 +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 optical/wls/include/WLSPhysicsList.hh
/// \brief Definition of the WLSPhysicsList class
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef WLSPhysicsList_h
#define WLSPhysicsList_h 1
#include "globals.hh"
#include "G4VModularPhysicsList.hh"
class G4VPhysicsConstructor;
class WLSPhysicsListMessenger;
class WLSStepMax;
class WLSOpticalPhysics;
class WLSPhysicsList: public G4VModularPhysicsList
{
public:
WLSPhysicsList(G4String);
virtual ~WLSPhysicsList();
void SetCuts();
void SetCutForGamma(G4double);
void SetCutForElectron(G4double);
void SetCutForPositron(G4double);
void SetStepMax(G4double);
WLSStepMax* GetStepMaxProcess();
void AddStepMax();
/// Remove specific physics from physics list.
void RemoveFromPhysicsList(const G4String&);
/// Make sure that the physics list is empty.
void ClearPhysics();
virtual void ConstructParticle();
virtual void ConstructProcess();
// Turn on or off the absorption process
void SetAbsorption(G4bool);
void SetNbOfPhotonsCerenkov(G4int);
void SetVerbose(G4int);
private:
G4double fCutForGamma;
G4double fCutForElectron;
G4double fCutForPositron;
WLSStepMax* fStepMaxProcess;
WLSOpticalPhysics* fOpticalPhysics;
WLSPhysicsListMessenger* fMessenger;
G4bool fAbsorptionOn;
G4VMPLData::G4PhysConstVectorData* fPhysicsVector;
};
#endif
@@ -1,94 +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 optical/wls/include/WLSPhysicsListMessenger.hh
/// \brief Definition of the WLSPhysicsListMessenger class
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef WLSPhysicsListMessenger_h
#define WLSPhysicsListMessenger_h 1
#include "globals.hh"
#include "G4UImessenger.hh"
#include "G4ParticleTable.hh"
#include "G4ParticleDefinition.hh"
#include "G4DecayTable.hh"
#include "G4VDecayChannel.hh"
class WLSPhysicsList;
class G4UIdirectory;
class G4UIcmdWithABool;
class G4UIcmdWithAString;
class G4UIcmdWithAnInteger;
class G4UIcmdWithoutParameter;
class G4UIcmdWithADoubleAndUnit;
/// Provide control of the physics list and cut parameters
class WLSPhysicsListMessenger : public G4UImessenger
{
public:
WLSPhysicsListMessenger(WLSPhysicsList* );
virtual ~WLSPhysicsListMessenger();
virtual void SetNewValue(G4UIcommand*, G4String);
private:
WLSPhysicsList* fPhysicsList;
G4UIdirectory* fDirectory;
G4UIdirectory* fDecayDirectory;
G4UIcmdWithABool* fSetAbsorptionCMD;
G4UIcmdWithAnInteger* fVerboseCmd;
G4UIcmdWithAnInteger* fCerenkovCmd;
G4UIcmdWithADoubleAndUnit* fGammaCutCMD;
G4UIcmdWithADoubleAndUnit* fElectCutCMD;
G4UIcmdWithADoubleAndUnit* fPosCutCMD;
G4UIcmdWithADoubleAndUnit* fAllCutCMD;
G4UIcmdWithADoubleAndUnit* fStepMaxCMD;
G4UIcmdWithAString* fRemovePhysicsCMD;
G4UIcmdWithoutParameter* fClearPhysicsCMD;
G4UIcmdWithoutParameter* fListCMD;
G4UIcmdWithoutParameter* fPienuCMD;
G4UIcmdWithoutParameter* fPimunuCMD;
};
#endif
@@ -1,80 +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 optical/wls/include/WLSStepMax.hh
/// \brief Definition of the WLSStepMax class
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef WLSStepMax_h
#define WLSStepMax_h 1
#include "globals.hh"
#include "G4Step.hh"
#include "G4VDiscreteProcess.hh"
#include "G4ParticleDefinition.hh"
class WLSStepMax : public G4VDiscreteProcess
{
public:
WLSStepMax(const G4String& processName = "UserStepMax");
WLSStepMax(WLSStepMax &);
virtual ~WLSStepMax();
virtual G4bool IsApplicable(const G4ParticleDefinition&);
void SetStepMax(G4double);
G4double GetStepMax() {return fMaxChargedStep;};
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track& track,
G4double previousStepSize,
G4ForceCondition* condition);
virtual G4VParticleChange* PostStepDoIt(const G4Track&, const G4Step&);
protected:
G4double GetMeanFreePath(const G4Track&, G4double, G4ForceCondition*);
private:
// hide assignment operator as private
WLSStepMax & operator=(const WLSStepMax &right);
WLSStepMax(const WLSStepMax&);
private:
G4double fMaxChargedStep;
};
#endif
@@ -1,50 +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 optical/wls/include/WLSSteppingVerbose.hh
/// \brief Definition of the WLSSteppingVerbose class
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef WLSSteppingVerbose_h
#define WLSSteppingVerbose_h 1
#include "G4SteppingVerbose.hh"
class WLSSteppingVerbose : public G4SteppingVerbose
{
public:
WLSSteppingVerbose();
virtual ~WLSSteppingVerbose();
virtual void StepInfo();
virtual void TrackingStarted();
};
#endif