Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -23,124 +23,82 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
// Class: G4IonIonisationModel
|
||||
// Author: L. Desorgher
|
||||
// Organisation: SpaceIT GmbH
|
||||
// Contract: ESA contract 21435/08/NL/AT
|
||||
// Customer: ESA/ESTEC
|
||||
// Class: G4IonIonisationModel
|
||||
// Author: L. Desorgher
|
||||
// Organisation: SpaceIT GmbH
|
||||
//
|
||||
// Adjoint EM model for discrete reverse ion ionisation
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// CHANGE HISTORY
|
||||
// --------------
|
||||
// ChangeHistory:
|
||||
// 26th August 2009 creation by L. Desorgher
|
||||
//
|
||||
//-------------------------------------------------------------
|
||||
// Documentation:
|
||||
// Adjoint EM model for discrete reverse ion ionisation
|
||||
//
|
||||
|
||||
#ifndef G4AdjointIonIonisationModel_h
|
||||
#define G4AdjointIonIonisationModel_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4DynamicParticle.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4MaterialCutsCouple.hh"
|
||||
#include "G4Material.hh"
|
||||
#include "G4Element.hh"
|
||||
#include "G4ElementVector.hh"
|
||||
#include "Randomize.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4VEmModel.hh"
|
||||
#include "G4Electron.hh"
|
||||
#include "G4Gamma.hh"
|
||||
#include "G4ProductionCutsTable.hh"
|
||||
#include "G4VEmAdjointModel.hh"
|
||||
class G4PhysicsTable;
|
||||
class G4Region;
|
||||
class G4VParticleChange;
|
||||
class G4ParticleChange;
|
||||
|
||||
class G4Track;
|
||||
class G4AdjointCSMatrix;
|
||||
class G4ParticleChange;
|
||||
class G4ParticleDefinition;
|
||||
class G4VEmModel;
|
||||
class G4VParticleChange;
|
||||
|
||||
|
||||
class G4AdjointIonIonisationModel: public G4VEmAdjointModel
|
||||
class G4AdjointIonIonisationModel : public G4VEmAdjointModel
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
public:
|
||||
G4AdjointIonIonisationModel();
|
||||
|
||||
virtual ~G4AdjointIonIonisationModel();
|
||||
|
||||
|
||||
virtual void SampleSecondaries(const G4Track& aTrack,
|
||||
G4bool IsScatProjToProjCase,
|
||||
G4ParticleChange* fParticleChange);
|
||||
~G4AdjointIonIonisationModel() override;
|
||||
|
||||
void SampleSecondaries(const G4Track& aTrack, G4bool isScatProjToProj,
|
||||
G4ParticleChange* fParticleChange) override;
|
||||
|
||||
G4double DiffCrossSectionPerAtomPrimToSecond(
|
||||
G4double kinEnergyProj, // kin energy of primary before interaction
|
||||
G4double kinEnergyProd, // kinetic energy of the secondary particle
|
||||
G4double Z, G4double A = 0.) override;
|
||||
|
||||
void CorrectPostStepWeight(G4ParticleChange* fParticleChange,
|
||||
G4double old_weight, G4double adjointPrimKinEnergy,
|
||||
G4double projectileKinEnergy,
|
||||
G4bool isScatProjToProj) override;
|
||||
|
||||
G4double GetSecondAdjEnergyMaxForScatProjToProj(
|
||||
G4double primAdjEnergy) override;
|
||||
|
||||
G4double GetSecondAdjEnergyMinForScatProjToProj(G4double primAdjEnergy,
|
||||
G4double tcut = 0.) override;
|
||||
|
||||
G4double GetSecondAdjEnergyMaxForProdToProj(G4double primAdjEnergy) override;
|
||||
|
||||
G4double GetSecondAdjEnergyMinForProdToProj(G4double primAdjEnergy) override;
|
||||
|
||||
inline void SetUseOnlyBragg(G4bool aBool) { fUseOnlyBragg = aBool; }
|
||||
|
||||
virtual G4double DiffCrossSectionPerAtomPrimToSecond(
|
||||
G4double kinEnergyProj, // kinetic energy of the primary particle before the interaction
|
||||
G4double kinEnergyProd, // kinetic energy of the secondary particle
|
||||
G4double Z,
|
||||
G4double A = 0.);
|
||||
|
||||
virtual void CorrectPostStepWeight(G4ParticleChange* fParticleChange,
|
||||
G4double old_weight,
|
||||
G4double adjointPrimKinEnergy,
|
||||
G4double projectileKinEnergy,
|
||||
G4bool IsScatProjToProjCase);
|
||||
|
||||
//Set/Get methods
|
||||
//------------------
|
||||
|
||||
virtual G4double GetSecondAdjEnergyMaxForScatProjToProjCase(G4double PrimAdjEnergy);
|
||||
virtual G4double GetSecondAdjEnergyMinForScatProjToProjCase(G4double PrimAdjEnergy,G4double Tcut=0);
|
||||
virtual G4double GetSecondAdjEnergyMaxForProdToProjCase(G4double PrimAdjEnergy);
|
||||
virtual G4double GetSecondAdjEnergyMinForProdToProjCase(G4double PrimAdjEnergy);
|
||||
|
||||
inline void SetUseOnlyBragg(G4bool aBool){use_only_bragg =aBool;}
|
||||
|
||||
|
||||
void SetIon(G4ParticleDefinition* adj_ion, G4ParticleDefinition* fwd_ion);
|
||||
|
||||
|
||||
private: //Methods
|
||||
|
||||
|
||||
G4AdjointIonIonisationModel(G4AdjointIonIonisationModel&) = delete;
|
||||
G4AdjointIonIonisationModel& operator=(
|
||||
const G4AdjointIonIonisationModel& right) = delete;
|
||||
|
||||
private:
|
||||
void DefineProjectileProperty();
|
||||
|
||||
//projectile property
|
||||
G4double mass;
|
||||
G4double tlimit;
|
||||
G4double spin;
|
||||
G4double magMoment2;
|
||||
G4double chargeSquare;
|
||||
G4double massRatio;
|
||||
|
||||
G4double ratio, ratio2;
|
||||
G4double one_plus_ratio_2;
|
||||
G4double formfact;
|
||||
G4bool isIon;
|
||||
G4double one_minus_ratio_2;
|
||||
|
||||
G4bool use_only_bragg;
|
||||
|
||||
|
||||
G4VEmModel* theBraggIonDirectEMModel;
|
||||
G4VEmModel* theBetheBlochDirectEMModel;
|
||||
|
||||
|
||||
G4VEmModel* fBraggIonDirectEMModel;
|
||||
G4VEmModel* fBetheBlochDirectEMModel;
|
||||
|
||||
|
||||
|
||||
// projectile properties
|
||||
G4double fMass = 0.;
|
||||
G4double fSpin = 0.;
|
||||
G4double fMagMoment2 = 0.;
|
||||
G4double fChargeSquare = 0.;
|
||||
G4double fMassRatio = 0.;
|
||||
G4double fRatio = 0.;
|
||||
G4double fOnePlusRatio2 = 0.;
|
||||
G4double fOneMinusRatio2 = 0.;
|
||||
G4double fFormFact = 0.;
|
||||
|
||||
|
||||
G4bool fUseOnlyBragg = false;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user