Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// Geant4 header G4EmBuilder
|
||||
//
|
||||
// Author V.Ivanchenko 22.05.2020
|
||||
//
|
||||
// EM physics for HEP hadrons and light ions
|
||||
//
|
||||
|
||||
#ifndef G4EmBuilder_h
|
||||
#define G4EmBuilder_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include <vector>
|
||||
|
||||
class G4hMultipleScattering;
|
||||
class G4ParticleDefinition;
|
||||
class G4NuclearStopping;
|
||||
|
||||
class G4EmBuilder
|
||||
{
|
||||
public:
|
||||
|
||||
static void ConstructBasicEmPhysics(G4hMultipleScattering* hmsc,
|
||||
const std::vector<G4int>& listHadrons);
|
||||
|
||||
static void ConstructLightHadrons(G4ParticleDefinition* part1,
|
||||
G4ParticleDefinition* part2,
|
||||
G4bool isHEP, G4bool isProton,
|
||||
G4bool isWVI);
|
||||
|
||||
static void ConstructIonEmPhysics(G4hMultipleScattering* hmsc,
|
||||
G4NuclearStopping* nucStopping);
|
||||
|
||||
// main method to be called from EM constructors to construct
|
||||
// EM physics for the list of leptons and hadrons common for
|
||||
// EM constructors
|
||||
static void ConstructCharged(G4hMultipleScattering* hmsc,
|
||||
G4NuclearStopping* nucStopping,
|
||||
G4bool isWVI = true);
|
||||
|
||||
// minimal set of particles for EM physics
|
||||
static void ConstructMinimalEmSet();
|
||||
|
||||
// prepare EM physics for construction
|
||||
static void PrepareEMPhysics();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/*
|
||||
* G4EmDNAChemistry_option3.hh
|
||||
*
|
||||
* Created on: Jul 23, 2019
|
||||
* Author: W. G. Shin
|
||||
* J. Ramos-Mendez and B. Faddegon
|
||||
*/
|
||||
|
||||
#ifndef G4EmDNAChemistry_option3_hh
|
||||
#define G4EmDNAChemistry_option3_hh 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4VUserChemistryList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
class G4DNAMolecularReactionTable;
|
||||
|
||||
class G4EmDNAChemistry_option3 : public G4VUserChemistryList,
|
||||
public G4VPhysicsConstructor
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
G4EmDNAChemistry_option3();
|
||||
virtual ~G4EmDNAChemistry_option3();
|
||||
|
||||
virtual void ConstructParticle()
|
||||
{
|
||||
ConstructMolecule();
|
||||
}
|
||||
virtual void ConstructMolecule();
|
||||
virtual void ConstructProcess();
|
||||
|
||||
virtual void ConstructDissociationChannels();
|
||||
virtual void ConstructReactionTable(G4DNAMolecularReactionTable* reactionTable);
|
||||
virtual void ConstructTimeStepModel(G4DNAMolecularReactionTable* reactionTable);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
+12
-12
@@ -35,24 +35,28 @@
|
||||
|
||||
class G4EmParameters;
|
||||
class G4ProcessManager;
|
||||
class G4LowECapture;
|
||||
|
||||
class G4EmDNAPhysicsActivator : public G4VPhysicsConstructor
|
||||
{
|
||||
public:
|
||||
|
||||
G4EmDNAPhysicsActivator(G4int ver = 1);
|
||||
explicit G4EmDNAPhysicsActivator(G4int ver = 1);
|
||||
|
||||
virtual ~G4EmDNAPhysicsActivator();
|
||||
~G4EmDNAPhysicsActivator() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
|
||||
void AddElectronModels0(const G4String& region, G4LowECapture* ecap,
|
||||
G4bool emsc, G4double elowest, G4double elimel);
|
||||
|
||||
void AddElectronModels0(const G4String& region, G4bool emsc, G4double elimel);
|
||||
void AddElectronModels2(const G4String& region, G4bool emsc, G4double elimel);
|
||||
void AddElectronModels4(const G4String& region, G4bool emsc, G4double elimel);
|
||||
void AddElectronModels4a(const G4String& region, G4bool emsc, G4double elimel);
|
||||
void AddElectronModels6(const G4String& region, G4bool emsc, G4double elimel);
|
||||
void AddElectronModels6a(const G4String& region, G4bool emsc, G4double elimel);
|
||||
void AddElectronModels7(const G4String& region, G4bool emsc, G4double elimel);
|
||||
|
||||
void AddProtonModels0(const G4String& region, G4bool pmsc,
|
||||
G4double elimel, G4double pminbb, G4double pmax);
|
||||
|
||||
@@ -76,7 +80,3 @@ private:
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#define G4EmLivermorePhysics_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -37,16 +36,15 @@ class G4EmLivermorePhysics : public G4VPhysicsConstructor
|
||||
{
|
||||
public:
|
||||
|
||||
explicit G4EmLivermorePhysics(G4int ver=1, const G4String& name="");
|
||||
explicit G4EmLivermorePhysics(G4int ver=1, const G4String& name = "G4EmLivermore");
|
||||
|
||||
virtual ~G4EmLivermorePhysics();
|
||||
~G4EmLivermorePhysics() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
+4
-8
@@ -27,26 +27,22 @@
|
||||
#ifndef G4EmLivermorePolarizedPhysics_h
|
||||
#define G4EmLivermorePolarizedPhysics_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
#include "G4EmLivermorePhysics.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class G4EmLivermorePolarizedPhysics : public G4VPhysicsConstructor
|
||||
class G4EmLivermorePolarizedPhysics : public G4EmLivermorePhysics
|
||||
{
|
||||
public:
|
||||
|
||||
explicit G4EmLivermorePolarizedPhysics(G4int ver=1, const G4String& name="");
|
||||
|
||||
virtual ~G4EmLivermorePolarizedPhysics();
|
||||
~G4EmLivermorePolarizedPhysics() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#define G4EmLowEPPhysics_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -39,14 +38,13 @@ public:
|
||||
|
||||
explicit G4EmLowEPPhysics(G4int ver=1, const G4String& name= "");
|
||||
|
||||
virtual ~G4EmLowEPPhysics();
|
||||
~G4EmLowEPPhysics() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#define G4EmPenelopePhysics_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -39,14 +38,13 @@ public:
|
||||
|
||||
explicit G4EmPenelopePhysics(G4int ver=1, const G4String& name="");
|
||||
|
||||
virtual ~G4EmPenelopePhysics();
|
||||
~G4EmPenelopePhysics() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#define G4EmStandardPhysics_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -55,14 +54,13 @@ public:
|
||||
|
||||
explicit G4EmStandardPhysics(G4int ver=0, const G4String& name="");
|
||||
|
||||
virtual ~G4EmStandardPhysics();
|
||||
~G4EmStandardPhysics() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#define G4EmStandardPhysicsGS_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -55,14 +54,13 @@ public:
|
||||
|
||||
explicit G4EmStandardPhysicsGS(G4int ver=0, const G4String& name="");
|
||||
|
||||
virtual ~G4EmStandardPhysicsGS();
|
||||
~G4EmStandardPhysicsGS() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -53,14 +53,14 @@ public:
|
||||
|
||||
explicit G4EmStandardPhysicsSS(G4int ver = 1);
|
||||
|
||||
virtual ~G4EmStandardPhysicsSS();
|
||||
~G4EmStandardPhysicsSS() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
G4int verbose;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
#define G4EmStandardPhysicsWVI_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -56,14 +55,13 @@ public:
|
||||
|
||||
explicit G4EmStandardPhysicsWVI(G4int ver = 1);
|
||||
|
||||
virtual ~G4EmStandardPhysicsWVI();
|
||||
~G4EmStandardPhysicsWVI() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
+3
-5
@@ -46,7 +46,6 @@
|
||||
#define G4EmStandardPhysics_option1_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -57,14 +56,13 @@ public:
|
||||
|
||||
explicit G4EmStandardPhysics_option1(G4int ver=1, const G4String& name="");
|
||||
|
||||
virtual ~G4EmStandardPhysics_option1();
|
||||
~G4EmStandardPhysics_option1() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
+3
-5
@@ -47,7 +47,6 @@
|
||||
#define G4EmStandardPhysics_option2_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -58,14 +57,13 @@ public:
|
||||
|
||||
explicit G4EmStandardPhysics_option2(G4int ver=1, const G4String& name="");
|
||||
|
||||
virtual ~G4EmStandardPhysics_option2();
|
||||
~G4EmStandardPhysics_option2() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
+3
-5
@@ -44,7 +44,6 @@
|
||||
#define G4EmStandardPhysics_option3_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -55,14 +54,13 @@ public:
|
||||
|
||||
explicit G4EmStandardPhysics_option3(G4int ver=1, const G4String& name="");
|
||||
|
||||
virtual ~G4EmStandardPhysics_option3();
|
||||
~G4EmStandardPhysics_option3() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
+3
-5
@@ -45,7 +45,6 @@
|
||||
#define G4EmStandardPhysics_option4_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4EmParticleList.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -56,14 +55,13 @@ public:
|
||||
|
||||
explicit G4EmStandardPhysics_option4(G4int ver=1, const G4String& name="");
|
||||
|
||||
virtual ~G4EmStandardPhysics_option4();
|
||||
~G4EmStandardPhysics_option4() override;
|
||||
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4int verbose;
|
||||
G4EmParticleList partList;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -56,6 +56,7 @@ class G4EmSaturation;
|
||||
class G4Scintillation;
|
||||
class G4Cerenkov;
|
||||
class G4OpWLS;
|
||||
class G4OpWLS2;
|
||||
class G4OpRayleigh;
|
||||
class G4OpMieHG;
|
||||
class G4OpBoundaryProcess;
|
||||
@@ -78,10 +79,8 @@ class G4OpticalPhysics : public G4VPhysicsConstructor
|
||||
|
||||
private:
|
||||
|
||||
/// Not implemented
|
||||
G4OpticalPhysics(const G4OpticalPhysics& right);
|
||||
/// Not implemented
|
||||
G4OpticalPhysics& operator=(const G4OpticalPhysics& right);
|
||||
G4OpticalPhysics(const G4OpticalPhysics& right) = delete;
|
||||
G4OpticalPhysics& operator=(const G4OpticalPhysics& right) = delete;
|
||||
|
||||
public:
|
||||
|
||||
@@ -106,12 +105,17 @@ class G4OpticalPhysics : public G4VPhysicsConstructor
|
||||
void SetFiniteRiseTime(G4bool );
|
||||
void SetScintillationStackPhotons(G4bool );
|
||||
void SetScintillationVerbosity(G4int);
|
||||
void SetScintillationEnhancedTimeConstants(G4bool);
|
||||
//void AddScintillationSaturation(G4EmSaturation* );
|
||||
|
||||
// WLS
|
||||
void SetWLSTimeProfile(G4String );
|
||||
void SetWLSVerbosity(G4int);
|
||||
|
||||
// WLS2
|
||||
void SetWLS2TimeProfile(G4String );
|
||||
void SetWLS2Verbosity(G4int);
|
||||
|
||||
//boundary
|
||||
void SetBoundaryVerbosity(G4int);
|
||||
void SetInvokeSD(G4bool );
|
||||
@@ -141,6 +145,8 @@ class G4OpticalPhysics : public G4VPhysicsConstructor
|
||||
G4double fYieldFactor;
|
||||
|
||||
/// scintillation excitation ratio
|
||||
/// Note: this is to be removed in the next major release.
|
||||
/// Use material properties SCINTILLATIONYIELD1, 2, 3 instead
|
||||
G4double fExcitationRatio;
|
||||
|
||||
/// option to set a finite rise-time; Note: the G4Scintillation
|
||||
@@ -160,6 +166,10 @@ class G4OpticalPhysics : public G4VPhysicsConstructor
|
||||
/// option to allow stacking of secondary Scintillation photons
|
||||
G4bool fScintillationStackPhotons;
|
||||
|
||||
/// new in version 10.7; allow > 2 time constants, and > 1 time
|
||||
/// constant for scintillation by particle type
|
||||
G4bool fScintillationEnhancedTimeConstants;
|
||||
|
||||
G4int fScintillationVerbosity;
|
||||
|
||||
////////////////// Cerenkov
|
||||
@@ -177,6 +187,11 @@ class G4OpticalPhysics : public G4VPhysicsConstructor
|
||||
G4String fWLSTimeProfileName;
|
||||
G4int fWLSVerbosity;
|
||||
|
||||
///////////////// WLS2
|
||||
static G4ThreadLocal G4OpWLS2* fWLS2Process;
|
||||
G4String fWLS2TimeProfileName;
|
||||
G4int fWLS2Verbosity;
|
||||
|
||||
static G4ThreadLocal G4OpAbsorption* fAbsorptionProcess;
|
||||
G4int fAbsorptionVerbosity;
|
||||
|
||||
|
||||
@@ -145,6 +145,9 @@ private:
|
||||
G4UIcmdWithABool* fScintFiniteRiseTimeCmd;
|
||||
G4UIcmdWithABool* fScintFiniteRiseTime1Cmd;
|
||||
|
||||
// setEnhancedTimeConstants commnad
|
||||
G4UIcmdWithABool* fScintEnhancedTimeConstantsCmd;
|
||||
|
||||
G4UIcmdWithAnInteger* fScintVerbosityCmd;
|
||||
|
||||
// WLS
|
||||
@@ -154,6 +157,12 @@ private:
|
||||
G4UIcmdWithAString* fWLSTimeProfile1Cmd;
|
||||
G4UIcmdWithAnInteger* fWLSVerbosityCmd;
|
||||
|
||||
// WLS2
|
||||
|
||||
/// setWLS2TimeProfile command
|
||||
G4UIcmdWithAString* fWLS2TimeProfileCmd;
|
||||
G4UIcmdWithAnInteger* fWLS2VerbosityCmd;
|
||||
|
||||
/// setInvokeSD command
|
||||
G4UIcmdWithABool* fBoundaryInvokeSDCmd;
|
||||
G4UIcmdWithABool* fBoundaryInvokeSD1Cmd;
|
||||
|
||||
@@ -56,6 +56,7 @@ enum G4OpticalProcessIndex {
|
||||
kMieHG, ///< Mie scattering process index
|
||||
kBoundary, ///< Boundary process index
|
||||
kWLS, ///< Wave Length Shifting process index
|
||||
kWLS2, ///< Second Wave Length Shifting process index
|
||||
kNoProcess ///< Number of processes, no selected process
|
||||
};
|
||||
|
||||
@@ -77,6 +78,7 @@ G4String G4OpticalProcessName(G4int processNumber)
|
||||
case kMieHG: return "OpMieHG";
|
||||
case kBoundary: return "OpBoundary";
|
||||
case kWLS: return "OpWLS";
|
||||
case kWLS2: return "OpWLS2";
|
||||
default: return "NoProcess";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user