Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PolarizedGammaConversionModel Class Reference

#include <G4PolarizedGammaConversionModel.hh>

+ Inheritance diagram for G4PolarizedGammaConversionModel:

Public Member Functions

 G4PolarizedGammaConversionModel (const G4ParticleDefinition *p=0, const G4String &nam="polConv")
 
virtual ~G4PolarizedGammaConversionModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
 
const G4ElementSelectedAtom ()
 
- Public Member Functions inherited from G4BetheHeitlerModel
 G4BetheHeitlerModel (const G4ParticleDefinition *p=0, const G4String &nam="BetheHeitler")
 
virtual ~G4BetheHeitlerModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cut=0., G4double emax=DBL_MAX)
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
 
- Public Member Functions inherited from G4VEmModel
 G4VEmModel (const G4String &nam)
 
virtual ~G4VEmModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)=0
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin=0.0, G4double tmax=DBL_MAX)=0
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double ChargeSquareRatio (const G4Track &)
 
virtual G4double GetChargeSquareRatio (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual G4double GetParticleCharge (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void StartTracking (G4Track *)
 
virtual void CorrectionsAlongStep (const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double &eloss, G4double &niel, G4double length)
 
virtual G4double Value (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy)
 
virtual G4double MinPrimaryEnergy (const G4Material *, const G4ParticleDefinition *)
 
virtual void SetupForMaterial (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void DefineForRegion (const G4Region *)
 
void InitialiseElementSelectors (const G4ParticleDefinition *, const G4DataVector &)
 
G4double ComputeDEDX (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
G4double CrossSection (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4double ComputeMeanFreePath (const G4ParticleDefinition *, G4double kineticEnergy, const G4Material *, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, const G4Element *, G4double kinEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4int SelectIsotopeNumber (const G4Element *)
 
const G4ElementSelectRandomAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectRandomAtom (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
void SetParticleChange (G4VParticleChange *, G4VEmFluctuationModel *f=0)
 
void SetCrossSectionTable (G4PhysicsTable *)
 
G4PhysicsTableGetCrossSectionTable ()
 
G4VEmFluctuationModelGetModelOfFluctuations ()
 
G4VEmAngularDistributionGetAngularDistribution ()
 
void SetAngularDistribution (G4VEmAngularDistribution *)
 
G4double HighEnergyLimit () const
 
G4double LowEnergyLimit () const
 
G4double HighEnergyActivationLimit () const
 
G4double LowEnergyActivationLimit () const
 
G4double PolarAngleLimit () const
 
G4double SecondaryThreshold () const
 
G4bool LPMFlag () const
 
G4bool DeexcitationFlag () const
 
G4bool ForceBuildTableFlag () const
 
void SetHighEnergyLimit (G4double)
 
void SetLowEnergyLimit (G4double)
 
void SetActivationHighEnergyLimit (G4double)
 
void SetActivationLowEnergyLimit (G4double)
 
G4bool IsActive (G4double kinEnergy)
 
void SetPolarAngleLimit (G4double)
 
void SetSecondaryThreshold (G4double)
 
void SetLPMFlag (G4bool val)
 
void SetDeexcitationFlag (G4bool val)
 
void ForceBuildTable (G4bool val)
 
G4double MaxSecondaryKinEnergy (const G4DynamicParticle *dynParticle)
 
const G4StringGetName () const
 
void SetCurrentCouple (const G4MaterialCutsCouple *)
 
const G4ElementGetCurrentElement () const
 

Protected Attributes

G4VPolarizedCrossSectioncrossSectionCalculator
 
- Protected Attributes inherited from G4VEmModel
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 

Additional Inherited Members

- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy)
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 

Detailed Description

Definition at line 58 of file G4PolarizedGammaConversionModel.hh.

Constructor & Destructor Documentation

◆ G4PolarizedGammaConversionModel()

G4PolarizedGammaConversionModel::G4PolarizedGammaConversionModel ( const G4ParticleDefinition p = 0,
const G4String nam = "polConv" 
)

◆ ~G4PolarizedGammaConversionModel()

G4PolarizedGammaConversionModel::~G4PolarizedGammaConversionModel ( )
virtual

Definition at line 76 of file G4PolarizedGammaConversionModel.cc.

Member Function Documentation

◆ Initialise()

void G4PolarizedGammaConversionModel::Initialise ( const G4ParticleDefinition pd,
const G4DataVector dv 
)
virtual

◆ SampleSecondaries()

void G4PolarizedGammaConversionModel::SampleSecondaries ( std::vector< G4DynamicParticle * > *  vdp,
const G4MaterialCutsCouple couple,
const G4DynamicParticle dp,
G4double  tmin,
G4double  maxEnergy 
)
virtual

Reimplemented from G4BetheHeitlerModel.

Definition at line 93 of file G4PolarizedGammaConversionModel.cc.

98{
99 G4BetheHeitlerModel::SampleSecondaries(vdp, couple, dp, tmin, maxEnergy);
100
101 if(vdp && vdp->size()>0) {
102 G4double gamEnergy0 = dp->GetKineticEnergy();
103 G4double lepEnergy1 = (*vdp)[0]->GetKineticEnergy();
104 G4double sintheta = dp->GetMomentumDirection().cross((*vdp)[0]->GetMomentumDirection()).mag();
105 if (sintheta>1.) sintheta=1.;
106
107 G4StokesVector beamPol = dp->GetPolarization();
108 beamPol.SetPhoton();
109
110 // determine interaction plane
111 G4ThreeVector nInteractionFrame =
113 (*vdp)[0]->GetMomentumDirection());
114
115 // transform polarization into interaction frame
116 beamPol.InvRotateAz(nInteractionFrame,dp->GetMomentumDirection());
117
118 // calulcate polarization transfer
119 crossSectionCalculator->SetMaterial(GetCurrentElement()->GetN(), // number of nucleons
120 GetCurrentElement()->GetZ(),
121 GetCurrentElement()->GetfCoulomb());
122 crossSectionCalculator->Initialize(gamEnergy0, lepEnergy1, sintheta,
123 beamPol, G4StokesVector::ZERO);
124
125 // deterimine final state polarization
127 lep1Pol.RotateAz(nInteractionFrame,(*vdp)[0]->GetMomentumDirection());
128 (*vdp)[0]->SetPolarization(lep1Pol.p1(),
129 lep1Pol.p2(),
130 lep1Pol.p3());
131
132 size_t num = vdp->size();
133 if (num!=2) G4cout<<" WARNING "<<num<<" secondaries in polarized pairproduction not supported!\n";
134 for (size_t i =1; i<num; ++i) {
136 lep2Pol.RotateAz(nInteractionFrame,(*vdp)[i]->GetMomentumDirection());
137 (*vdp)[i]->SetPolarization(lep2Pol.p1(),
138 lep2Pol.p2(),
139 lep2Pol.p3());
140
141 }
142 }
143}
double G4double
Definition: G4Types.hh:64
G4DLLIMPORT std::ostream G4cout
Hep3Vector cross(const Hep3Vector &) const
double mag() const
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
const G4ThreeVector & GetPolarization() const
static G4ThreeVector GetFrame(const G4ThreeVector &, const G4ThreeVector &)
G4double p3() const
G4double p1() const
static const G4StokesVector ZERO
void InvRotateAz(G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection)
G4double p2() const
void RotateAz(G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection)
const G4Element * GetCurrentElement() const
Definition: G4VEmModel.hh:391
void SetMaterial(G4double A, G4double Z, G4double coul)
virtual G4StokesVector GetPol3()
virtual G4StokesVector GetPol2()
virtual void Initialize(G4double, G4double, G4double, const G4StokesVector &p0, const G4StokesVector &p1, G4int flag=0)

◆ SelectedAtom()

const G4Element * G4PolarizedGammaConversionModel::SelectedAtom ( )
inline

Definition at line 87 of file G4PolarizedGammaConversionModel.hh.

88{
89 return GetCurrentElement();
90}

Member Data Documentation

◆ crossSectionCalculator

G4VPolarizedCrossSection* G4PolarizedGammaConversionModel::crossSectionCalculator
protected

The documentation for this class was generated from the following files: