Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PolarizedGammaConversionModel Class Reference

#include <G4PolarizedGammaConversionModel.hh>

Inheritance diagram for G4PolarizedGammaConversionModel:
Collaboration diagram for G4PolarizedGammaConversionModel:

Public Member Functions

 G4PolarizedGammaConversionModel (const G4ParticleDefinition *p=nullptr, const G4String &nam="polConv")
 
virtual ~G4PolarizedGammaConversionModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &) override
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override
 
const G4ElementSelectedAtom ()
 
- Public Member Functions inherited from G4BetheHeitlerModel
 G4BetheHeitlerModel (const G4ParticleDefinition *p=0, const G4String &nam="BetheHeitler")
 
virtual ~G4BetheHeitlerModel ()
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel) override
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cut=0., G4double emax=DBL_MAX) override
 
- Public Member Functions inherited from G4VEmModel
 G4VEmModel (const G4String &nam)
 
virtual ~G4VEmModel ()
 
virtual void InitialiseForMaterial (const G4ParticleDefinition *, const G4Material *)
 
virtual void InitialiseForElement (const G4ParticleDefinition *, G4int Z)
 
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 GetPartialCrossSection (const G4Material *, G4int level, const G4ParticleDefinition *, G4double kineticEnergy)
 
virtual G4double ComputeCrossSectionPerShell (const G4ParticleDefinition *, G4int Z, G4int shellIdx, G4double kinEnergy, 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 *, G4double cut=0.0)
 
virtual G4double MinEnergyCut (const G4ParticleDefinition *, const G4MaterialCutsCouple *)
 
virtual void SetupForMaterial (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void DefineForRegion (const G4Region *)
 
virtual void ModelDescription (std::ostream &outFile) const
 
void InitialiseElementSelectors (const G4ParticleDefinition *, const G4DataVector &)
 
std::vector
< G4EmElementSelector * > * 
GetElementSelectors ()
 
void SetElementSelectors (std::vector< G4EmElementSelector * > *)
 
virtual 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)
 
G4int SelectRandomAtomNumber (const G4Material *)
 
void SetParticleChange (G4VParticleChange *, G4VEmFluctuationModel *f=nullptr)
 
void SetCrossSectionTable (G4PhysicsTable *, G4bool isLocal)
 
G4ElementDataGetElementData ()
 
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
 
G4bool UseAngularGeneratorFlag () const
 
void SetAngularGeneratorFlag (G4bool)
 
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 SetForceBuildTable (G4bool val)
 
void SetFluctuationFlag (G4bool val)
 
void SetMasterThread (G4bool val)
 
G4bool IsMaster () const
 
G4double MaxSecondaryKinEnergy (const G4DynamicParticle *dynParticle)
 
const G4StringGetName () const
 
void SetCurrentCouple (const G4MaterialCutsCouple *)
 
const G4ElementGetCurrentElement () const
 
const G4IsotopeGetCurrentIsotope () const
 
G4bool IsLocked () const
 
void SetLocked (G4bool)
 

Protected Attributes

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

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 *)
 
- Static Protected Attributes inherited from G4VEmModel
static const G4double inveplus = 1.0/CLHEP::eplus
 

Detailed Description

Definition at line 58 of file G4PolarizedGammaConversionModel.hh.

Constructor & Destructor Documentation

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

Definition at line 68 of file G4PolarizedGammaConversionModel.cc.

71 {
72 }
G4BetheHeitlerModel(const G4ParticleDefinition *p=0, const G4String &nam="BetheHeitler")
G4PolarizedGammaConversionModel::~G4PolarizedGammaConversionModel ( )
virtual

Definition at line 76 of file G4PolarizedGammaConversionModel.cc.

77 {
79 }

Member Function Documentation

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

Reimplemented from G4BetheHeitlerModel.

Definition at line 83 of file G4PolarizedGammaConversionModel.cc.

85 {
89 }
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &) override

Here is the call graph for this function:

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

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 }
G4double GetKineticEnergy() const
G4double p2() const
void SetMaterial(G4double A, G4double Z, G4double coul)
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override
G4double p3() const
virtual G4StokesVector GetPol2()
G4GLOB_DLL std::ostream G4cout
const G4ThreeVector & GetMomentumDirection() const
static G4ThreeVector GetFrame(const G4ThreeVector &, const G4ThreeVector &)
G4double p1() const
void InvRotateAz(G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection)
const G4ThreeVector & GetPolarization() const
virtual G4StokesVector GetPol3()
Hep3Vector cross(const Hep3Vector &) const
double G4double
Definition: G4Types.hh:76
static const G4StokesVector ZERO
double mag() const
void RotateAz(G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection)
virtual void Initialize(G4double, G4double, G4double, const G4StokesVector &p0, const G4StokesVector &p1, G4int flag=0)
const G4Element * GetCurrentElement() const
Definition: G4VEmModel.hh:469

Here is the call graph for this function:

const G4Element * G4PolarizedGammaConversionModel::SelectedAtom ( )
inline

Definition at line 87 of file G4PolarizedGammaConversionModel.hh.

88 {
89  return GetCurrentElement();
90 }
const G4Element * GetCurrentElement() const
Definition: G4VEmModel.hh:469

Here is the call graph for this function:

Member Data Documentation

G4VPolarizedCrossSection* G4PolarizedGammaConversionModel::crossSectionCalculator
protected

Definition at line 79 of file G4PolarizedGammaConversionModel.hh.


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