Import Geant4 9.1.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VXTRenergyLoss.hh,v 1.18 2006/06/29 19:55:55 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// $Id: G4VXTRenergyLoss.hh,v 1.24 2007/09/29 17:49:34 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -38,12 +38,11 @@
|
||||
// 06.10.05 V. Grichine first step to discrete process
|
||||
// 15.01.02 V. Grichine first version
|
||||
// 28.07.05, P.Gumplinger add G4ProcessType to constructor
|
||||
// 28.09.07, V.Ivanchenko general cleanup without change of algorithms
|
||||
//
|
||||
|
||||
|
||||
#ifndef G4XTRenergyLoss_h
|
||||
#define G4XTRenergyLoss_h 1
|
||||
|
||||
#ifndef G4VXTRenergyLoss_h
|
||||
#define G4VXTRenergyLoss_h 1
|
||||
|
||||
#include <complex>
|
||||
#include "globals.hh"
|
||||
@@ -68,38 +67,27 @@
|
||||
#include "G4Integrator.hh"
|
||||
#include "G4ParticleChange.hh"
|
||||
|
||||
|
||||
|
||||
class G4SandiaTable;
|
||||
class G4VParticleChange;
|
||||
class G4PhysicsFreeVector;
|
||||
|
||||
class G4XTRenergyLoss : public G4VDiscreteProcess // G4VContinuousProcess
|
||||
class G4VXTRenergyLoss : public G4VDiscreteProcess // G4VContinuousProcess
|
||||
{
|
||||
public:
|
||||
|
||||
G4XTRenergyLoss (G4LogicalVolume *anEnvelope,G4Material*,G4Material*,
|
||||
G4VXTRenergyLoss (G4LogicalVolume *anEnvelope,G4Material*,G4Material*,
|
||||
G4double,G4double,G4int,
|
||||
const G4String & processName = "XTRenergyLoss",
|
||||
G4ProcessType type = fElectromagnetic);
|
||||
virtual ~G4XTRenergyLoss ();
|
||||
virtual ~G4VXTRenergyLoss ();
|
||||
|
||||
// These virtual has to be implemented in inherited particular TR radiators
|
||||
|
||||
virtual G4double GetStackFactor( G4double energy, G4double gamma,
|
||||
G4double varAngle );
|
||||
|
||||
|
||||
G4bool IsApplicable(const G4ParticleDefinition&);
|
||||
|
||||
G4double GetContinuousStepLimit(const G4Track& aTrack,
|
||||
G4double ,
|
||||
G4double ,
|
||||
G4double& );
|
||||
// Returns the continuous step limit defined by the XTR process.
|
||||
|
||||
G4VParticleChange* AlongStepDoIt(const G4Track& aTrack,
|
||||
const G4Step& aStep);
|
||||
|
||||
G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
|
||||
const G4Step& aStep);
|
||||
|
||||
@@ -161,91 +149,89 @@ public:
|
||||
void GetGasZmuProduct();
|
||||
G4double GetGasZmuProduct(G4double,G4double,G4double);
|
||||
|
||||
G4double GetPlateCompton(G4double);
|
||||
G4double GetGasCompton(G4double);
|
||||
G4double GetComptonPerAtom(G4double,G4double);
|
||||
G4double GetPlateCompton(G4double);
|
||||
G4double GetGasCompton(G4double);
|
||||
G4double GetComptonPerAtom(G4double,G4double);
|
||||
|
||||
G4double GetXTRrandomEnergy( G4double scaledTkin, G4int iTkin );
|
||||
G4double GetXTRenergy( G4int iPlace, G4double position, G4int iTransfer );
|
||||
G4double GetXTRrandomEnergy( G4double scaledTkin, G4int iTkin );
|
||||
G4double GetXTRenergy( G4int iPlace, G4double position, G4int iTransfer );
|
||||
|
||||
G4double GetRandomAngle( G4double energyXTR, G4int iTkin );
|
||||
G4double GetAngleXTR(G4int iTR,G4double position,G4int iAngle);
|
||||
G4double GetRandomAngle( G4double energyXTR, G4int iTkin );
|
||||
G4double GetAngleXTR(G4int iTR,G4double position,G4int iAngle);
|
||||
|
||||
G4double GetGamma() {return fGamma;};
|
||||
G4double GetEnergy() {return fEnergy;};
|
||||
G4double GetVarAngle(){return fVarAngle;};
|
||||
G4double GetGamma() {return fGamma;};
|
||||
G4double GetEnergy() {return fEnergy;};
|
||||
G4double GetVarAngle(){return fVarAngle;};
|
||||
|
||||
void SetGamma(G4double gamma) {fGamma = gamma;};
|
||||
void SetEnergy(G4double energy) {fEnergy = energy;};
|
||||
void SetVarAngle(G4double varAngle){fVarAngle = varAngle;};
|
||||
void SetAngleRadDistr(G4bool pAngleRadDistr){fAngleRadDistr=pAngleRadDistr;};
|
||||
void SetCompton(G4bool pC){fCompton=pC;};
|
||||
void SetVerboseLevel(G4int verbose){fVerbose=verbose;};
|
||||
|
||||
|
||||
static G4PhysicsLogVector* GetProtonVector(){ return fProtonEnergyVector;};
|
||||
static G4int GetTotBin(){return fTotBin;};
|
||||
G4PhysicsLogVector* GetProtonVector(){ return fProtonEnergyVector;};
|
||||
G4int GetTotBin(){return fTotBin;};
|
||||
G4PhysicsFreeVector* GetAngleVector(G4double energy, G4int n);
|
||||
|
||||
protected:
|
||||
|
||||
G4ParticleDefinition* fPtrGamma ; // pointer to TR photon
|
||||
G4ParticleDefinition* fPtrGamma ; // pointer to TR photon
|
||||
|
||||
G4double* fGammaCutInKineticEnergy ; // TR photon cut in energy array
|
||||
G4double fGammaTkinCut ; // Tkin cut of TR photon in current mat.
|
||||
|
||||
G4double fGammaTkinCut ; // Tkin cut of TR photon in current mat.
|
||||
G4LogicalVolume* fEnvelope ;
|
||||
G4PhysicsTable* fAngleDistrTable ;
|
||||
G4PhysicsTable* fEnergyDistrTable ;
|
||||
G4PhysicsTable* fAngleDistrTable ;
|
||||
G4PhysicsTable* fEnergyDistrTable ;
|
||||
|
||||
static G4PhysicsLogVector* fProtonEnergyVector ;
|
||||
static G4PhysicsLogVector* fXTREnergyVector ;
|
||||
G4PhysicsLogVector* fProtonEnergyVector ;
|
||||
G4PhysicsLogVector* fXTREnergyVector ;
|
||||
|
||||
G4double fTheMinEnergyTR; // min TR energy
|
||||
G4double fTheMaxEnergyTR; // max TR energy
|
||||
G4double fMinEnergyTR; // min TR energy in material
|
||||
G4double fMaxEnergyTR; // max TR energy in material
|
||||
G4double fTheMaxAngle; // max theta of TR quanta
|
||||
G4double fTheMinAngle; // max theta of TR quanta
|
||||
G4double fMaxThetaTR; // max theta of TR quanta
|
||||
G4int fBinTR; // number of bins in TR vectors
|
||||
|
||||
static G4double fTheMinEnergyTR; // static min TR energy
|
||||
static G4double fTheMaxEnergyTR; // static max TR energy
|
||||
G4double fMinEnergyTR; // min TR energy in material
|
||||
G4double fMaxEnergyTR; // max TR energy in material
|
||||
static G4double fTheMaxAngle; // max theta of TR quanta
|
||||
static G4double fTheMinAngle; // max theta of TR quanta
|
||||
G4double fMaxThetaTR; // max theta of TR quanta
|
||||
static G4int fBinTR; // number of bins in TR vectors
|
||||
|
||||
static G4double fMinProtonTkin; // min Tkin of proton in tables
|
||||
static G4double fMaxProtonTkin; // max Tkin of proton in tables
|
||||
static G4int fTotBin; // number of bins in log scale
|
||||
G4double fGamma; // current Lorentz factor
|
||||
G4double fEnergy; // energy and
|
||||
G4double fVarAngle; // angle squared
|
||||
G4double fMinProtonTkin; // min Tkin of proton in tables
|
||||
G4double fMaxProtonTkin; // max Tkin of proton in tables
|
||||
G4int fTotBin; // number of bins in log scale
|
||||
G4double fGamma; // current Lorentz factor
|
||||
G4double fEnergy; // energy and
|
||||
G4double fVarAngle; // angle squared
|
||||
G4double fLambda;
|
||||
|
||||
static G4double fPlasmaCof ; // physical consts for plasma energy
|
||||
static G4double fCofTR ;
|
||||
G4double fPlasmaCof ; // physical consts for plasma energy
|
||||
G4double fCofTR ;
|
||||
|
||||
G4bool fExitFlux;
|
||||
G4bool fAngleRadDistr;
|
||||
G4bool fCompton;
|
||||
G4double fSigma1;
|
||||
G4double fSigma2; // plasma energy Sq of matter1/2
|
||||
|
||||
G4bool fExitFlux;
|
||||
G4bool fAngleRadDistr;
|
||||
G4bool fCompton;
|
||||
G4double fSigma1, fSigma2 ; // plasma energy Sq of matter1/2
|
||||
G4int fMatIndex1;
|
||||
G4int fMatIndex2;
|
||||
G4int fPlateNumber;
|
||||
|
||||
G4int fMatIndex1, fMatIndex2 ;
|
||||
G4double fTotalDist;
|
||||
G4double fPlateThick;
|
||||
G4double fGasThick;
|
||||
G4double fAlphaPlate;
|
||||
G4double fAlphaGas ;
|
||||
|
||||
G4int fPlateNumber ;
|
||||
G4double fTotalDist ;
|
||||
G4double** fPlatePhotoAbsCof ;
|
||||
G4int fPlateIntervalNumber ;
|
||||
G4double fPlateThick ;
|
||||
G4SandiaTable* fPlatePhotoAbsCof;
|
||||
|
||||
G4double** fGasPhotoAbsCof ;
|
||||
G4int fGasIntervalNumber ;
|
||||
G4double fGasThick ;
|
||||
G4double fAlphaPlate, fAlphaGas ;
|
||||
G4SandiaTable* fGasPhotoAbsCof;
|
||||
|
||||
G4ParticleChange fParticleChange;
|
||||
|
||||
G4PhysicsTable* fAngleForEnergyTable;
|
||||
std::vector<G4PhysicsTable*> fAngleBank;
|
||||
G4int fVerbose;
|
||||
|
||||
};
|
||||
|
||||
typedef G4XTRenergyLoss G4VXTRenergyLoss;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user