Import Geant4 10.4.1 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Cerenkov.hh 98002 2016-06-30 13:03:36Z gcosmo $
|
||||
// $Id: G4Cerenkov.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
//
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
@@ -265,18 +265,6 @@ G4int G4Cerenkov::GetNumPhotons() const
|
||||
return fNumPhotons;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Cerenkov::DumpPhysicsTable() const
|
||||
{
|
||||
G4int PhysicsTableSize = thePhysicsTable->entries();
|
||||
G4PhysicsOrderedFreeVector *v;
|
||||
|
||||
for (G4int i = 0 ; i < PhysicsTableSize ; i++ ) {
|
||||
v = (G4PhysicsOrderedFreeVector*)(*thePhysicsTable)[i];
|
||||
v->DumpValues();
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
G4PhysicsTable* G4Cerenkov::GetPhysicsTable() const
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ForwardXrayTR.hh 97385 2016-06-02 09:59:53Z gcosmo $
|
||||
// $Id: G4ForwardXrayTR.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
//
|
||||
// G4ForwardXrayTR
|
||||
//
|
||||
@@ -125,15 +125,15 @@ G4double EnergySum( G4double energy1,
|
||||
|
||||
/////////////////////////// Access functions ////////////////////////////
|
||||
|
||||
G4PhysicsTable* GetAngleDistrTable() { return fAngleDistrTable; };
|
||||
G4PhysicsTable* GetEnergyDistrTable() { return fEnergyDistrTable; };
|
||||
G4PhysicsTable* GetAngleDistrTable();
|
||||
G4PhysicsTable* GetEnergyDistrTable();
|
||||
|
||||
static G4int GetSympsonNumber() { return fSympsonNumber; };
|
||||
static G4int GetBinTR() { return fBinTR; };
|
||||
static G4int GetSympsonNumber();
|
||||
static G4int GetBinTR();
|
||||
|
||||
static G4double GetMinProtonTkin() { return fMinProtonTkin; };
|
||||
static G4double GetMaxProtonTkin() { return fMaxProtonTkin; };
|
||||
static G4int GetTotBin() { return fTotBin; };
|
||||
static G4double GetMinProtonTkin();
|
||||
static G4double GetMaxProtonTkin();
|
||||
static G4int GetTotBin();
|
||||
|
||||
|
||||
protected: // for access from X-ray TR fast simulation models
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Scintillation.hh 98002 2016-06-30 13:03:36Z gcosmo $
|
||||
// $Id: G4Scintillation.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
//
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
@@ -276,15 +276,6 @@ private:
|
||||
// Inline methods
|
||||
////////////////////
|
||||
|
||||
inline
|
||||
G4bool G4Scintillation::IsApplicable(const G4ParticleDefinition& aParticleType)
|
||||
{
|
||||
if (aParticleType.GetParticleName() == "opticalphoton") return false;
|
||||
if (aParticleType.IsShortLived()) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Scintillation::SetTrackSecondariesFirst(const G4bool state)
|
||||
{
|
||||
@@ -399,31 +390,6 @@ G4int G4Scintillation::GetNumPhotons() const
|
||||
return fNumPhotons;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Scintillation::DumpPhysicsTable() const
|
||||
{
|
||||
if (fFastIntegralTable) {
|
||||
G4int PhysicsTableSize = fFastIntegralTable->entries();
|
||||
G4PhysicsOrderedFreeVector *v;
|
||||
|
||||
for (G4int i = 0 ; i < PhysicsTableSize ; i++ )
|
||||
{
|
||||
v = (G4PhysicsOrderedFreeVector*)(*fFastIntegralTable)[i];
|
||||
v->DumpValues();
|
||||
}
|
||||
}
|
||||
|
||||
if (fSlowIntegralTable) {
|
||||
G4int PhysicsTableSize = fSlowIntegralTable->entries();
|
||||
G4PhysicsOrderedFreeVector *v;
|
||||
|
||||
for (G4int i = 0 ; i < PhysicsTableSize ; i++ )
|
||||
{
|
||||
v = (G4PhysicsOrderedFreeVector*)(*fSlowIntegralTable)[i];
|
||||
v->DumpValues();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Scintillation::single_exp(G4double t, G4double tau2)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4SynchrotronRadiationInMat.hh 97385 2016-06-02 09:59:53Z gcosmo $
|
||||
// $Id: G4SynchrotronRadiationInMat.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
@@ -107,8 +107,8 @@ public: ///////////////// Post Step functions //////////////////////////
|
||||
|
||||
G4bool IsApplicable(const G4ParticleDefinition&) override;
|
||||
|
||||
static G4double GetLambdaConst(){ return fLambdaConst; };
|
||||
static G4double GetEnergyConst(){ return fEnergyConst; };
|
||||
static G4double GetLambdaConst();
|
||||
static G4double GetEnergyConst();
|
||||
|
||||
void SetRootNumber(G4int rn){ fRootNumber = rn; };
|
||||
void SetVerboseLevel(G4int v){ fVerboseLevel = v; };
|
||||
@@ -128,23 +128,12 @@ private:
|
||||
const G4double
|
||||
LowestKineticEnergy; // low energy limit of the cross-section formula
|
||||
|
||||
//const G4double
|
||||
//HighestKineticEnergy; // high energy limit of the cross-section formula
|
||||
|
||||
//G4int TotBin; // number of bins in the tables
|
||||
|
||||
G4double CutInRange;
|
||||
|
||||
const G4ParticleDefinition* theGamma;
|
||||
const G4ParticleDefinition* theElectron;
|
||||
const G4ParticleDefinition* thePositron;
|
||||
|
||||
//const G4double* GammaCutInKineticEnergy;
|
||||
//const G4double* ElectronCutInKineticEnergy;
|
||||
//const G4double* PositronCutInKineticEnergy;
|
||||
//const G4double* ParticleCutInKineticEnergy;
|
||||
|
||||
|
||||
G4double GammaCutInKineticEnergyNow;
|
||||
G4double ElectronCutInKineticEnergyNow;
|
||||
G4double PositronCutInKineticEnergyNow;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4TransitionRadiation.hh 97385 2016-06-02 09:59:53Z gcosmo $
|
||||
// $Id: G4TransitionRadiation.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
//
|
||||
// G4TransitionRadiation -- header file
|
||||
//
|
||||
@@ -52,7 +52,6 @@
|
||||
|
||||
#include "G4VDiscreteProcess.hh"
|
||||
#include "G4Material.hh"
|
||||
// #include "G4OpBoundaryProcess.hh"
|
||||
|
||||
class G4TransitionRadiation : public G4VDiscreteProcess
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTRModel.hh 97385 2016-06-02 09:59:53Z gcosmo $
|
||||
// $Id: G4VTRModel.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
//
|
||||
// G4VTRModel -- header file
|
||||
//
|
||||
@@ -38,24 +38,24 @@
|
||||
#ifndef G4VTRModel_h
|
||||
#define G4VTRModel_h
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "globals.hh"
|
||||
#include <vector>
|
||||
#include "G4ThreeVector.hh"
|
||||
|
||||
class G4Material;
|
||||
class G4Track;
|
||||
class G4VParticleChange;
|
||||
|
||||
|
||||
class G4VTRModel
|
||||
{
|
||||
public:
|
||||
|
||||
// Constructors
|
||||
// Constructors
|
||||
|
||||
explicit G4VTRModel( const G4String& modelName) {fName = modelName;};
|
||||
|
||||
// Destructor
|
||||
// Destructor
|
||||
|
||||
virtual ~G4VTRModel() {};
|
||||
|
||||
@@ -70,19 +70,14 @@ public:
|
||||
|
||||
virtual void PrintInfo() { return; };
|
||||
|
||||
// private :
|
||||
|
||||
// hide assignment operator
|
||||
// disable assignment operator & copy constructor
|
||||
|
||||
G4VTRModel & operator=(const G4VTRModel &right) = delete;
|
||||
G4VTRModel(const G4VTRModel&) = delete;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
G4String fName;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // G4VTRModel_h
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTransitionRadiation.hh 97385 2016-06-02 09:59:53Z gcosmo $
|
||||
// $Id: G4VTransitionRadiation.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
//
|
||||
// G4VTransitionRadiation -- header file
|
||||
//
|
||||
@@ -102,21 +102,4 @@ public:
|
||||
|
||||
};
|
||||
|
||||
inline G4double G4VTransitionRadiation::GetMeanFreePath(
|
||||
const G4Track& track, G4double,
|
||||
G4ForceCondition* condition)
|
||||
{
|
||||
if(nSteps > 0) {
|
||||
*condition = StronglyForced;
|
||||
} else {
|
||||
*condition = NotForced;
|
||||
if(track.GetKineticEnergy()/track.GetDefinition()->GetPDGMass() + 1.0 > gammaMin &&
|
||||
track.GetVolume()->GetLogicalVolume()->GetRegion() == region) {
|
||||
*condition = StronglyForced;
|
||||
}
|
||||
}
|
||||
return DBL_MAX; // so TR doesn't limit mean free path
|
||||
}
|
||||
|
||||
|
||||
#endif // G4VTransitionRadiation_h
|
||||
|
||||
Reference in New Issue
Block a user