ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PolarizedAnnihilationModel Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/polarisation/include/G4PolarizedAnnihilationModel.hh>

+ Inheritance diagram for G4PolarizedAnnihilationModel:
+ Collaboration diagram for G4PolarizedAnnihilationModel:

Public Member Functions

 G4PolarizedAnnihilationModel (const G4ParticleDefinition *p=nullptr, const G4String &nam="Polarized-Annihilation")
 
virtual ~G4PolarizedAnnihilationModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &) final
 
virtual G4double ComputeCrossSectionPerElectron (G4double kinEnergy) final
 
void ComputeAsymmetriesPerElectron (G4double gammaEnergy, G4double &valueX, G4double &valueA, G4double &valueT)
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) final
 
void SetTargetPolarization (const G4ThreeVector &pTarget)
 
void SetBeamPolarization (const G4ThreeVector &pBeam)
 
const G4ThreeVectorGetTargetPolarization () const
 
const G4ThreeVectorGetBeamPolarization () const
 
const G4ThreeVectorGetFinalGamma1Polarization () const
 
const G4ThreeVectorGetFinalGamma2Polarization () const
 
- Public Member Functions inherited from G4eeToTwoGammaModel
 G4eeToTwoGammaModel (const G4ParticleDefinition *p=0, const G4String &nam="eplus2gg")
 
virtual ~G4eeToTwoGammaModel ()
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cutEnergy=0., G4double maxEnergy=DBL_MAX) override
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX) override
 
- Public Member Functions inherited from G4VEmModel
 G4VEmModel (const G4String &nam)
 
virtual ~G4VEmModel ()
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel)
 
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 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)
 
const G4ElementSelectRandomAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectTargetAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double logKineticEnergy, 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 *)
 
G4int SelectIsotopeNumber (const G4Element *)
 
void SetParticleChange (G4VParticleChange *, G4VEmFluctuationModel *f=nullptr)
 
void SetCrossSectionTable (G4PhysicsTable *, G4bool isLocal)
 
G4ElementDataGetElementData ()
 
G4PhysicsTableGetCrossSectionTable ()
 
G4VEmFluctuationModelGetModelOfFluctuations ()
 
G4VEmAngularDistributionGetAngularDistribution ()
 
G4VEmModelGetTripletModel ()
 
void SetTripletModel (G4VEmModel *)
 
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) const
 
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
 
void SetUseBaseMaterials (G4bool val)
 
G4bool UseBaseMaterials () 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)
 

Private Member Functions

G4PolarizedAnnihilationModeloperator= (const G4PolarizedAnnihilationModel &right)=delete
 
 G4PolarizedAnnihilationModel (const G4PolarizedAnnihilationModel &)=delete
 

Private Attributes

G4PolarizedAnnihilationCrossSectioncrossSectionCalculator
 
G4StokesVector theBeamPolarization
 
G4StokesVector theTargetPolarization
 
G4StokesVector finalGamma1Polarization
 
G4StokesVector finalGamma2Polarization
 
G4int verboseLevel
 
G4ParticleChangeForGammagParticleChange
 

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 *)
 
- Protected Attributes inherited from G4VEmModel
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const G4MaterialpBaseMaterial
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 
G4bool lossFlucFlag
 
G4double inveplus
 
G4double pFactor
 

Detailed Description

Definition at line 62 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 62 of file G4PolarizedAnnihilationModel.hh

Constructor & Destructor Documentation

G4PolarizedAnnihilationModel::G4PolarizedAnnihilationModel ( const G4ParticleDefinition p = nullptr,
const G4String nam = "Polarized-Annihilation" 
)
explicit

Definition at line 63 of file G4PolarizedAnnihilationModel.cc.

View newest version in sPHENIX GitHub at line 63 of file G4PolarizedAnnihilationModel.cc

References crossSectionCalculator.

G4PolarizedAnnihilationModel::~G4PolarizedAnnihilationModel ( )
virtual

Definition at line 73 of file G4PolarizedAnnihilationModel.cc.

View newest version in sPHENIX GitHub at line 73 of file G4PolarizedAnnihilationModel.cc

References crossSectionCalculator.

G4PolarizedAnnihilationModel::G4PolarizedAnnihilationModel ( const G4PolarizedAnnihilationModel )
privatedelete

Member Function Documentation

void G4PolarizedAnnihilationModel::ComputeAsymmetriesPerElectron ( G4double  gammaEnergy,
G4double valueX,
G4double valueA,
G4double valueT 
)

Definition at line 107 of file G4PolarizedAnnihilationModel.cc.

View newest version in sPHENIX GitHub at line 107 of file G4PolarizedAnnihilationModel.cc

References crossSectionCalculator, source.hepunit::electron_mass_c2, G4cout, G4endl, G4InuclParticleNames::gam, G4StokesVector::P1, G4StokesVector::P2, G4StokesVector::P3, G4PolarizedAnnihilationCrossSection::TotalXSection(), and G4StokesVector::ZERO.

Referenced by ComputeCrossSectionPerElectron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4PolarizedAnnihilationModel::ComputeCrossSectionPerElectron ( G4double  kinEnergy)
finalvirtual

Reimplemented from G4eeToTwoGammaModel.

Definition at line 90 of file G4PolarizedAnnihilationModel.cc.

View newest version in sPHENIX GitHub at line 90 of file G4PolarizedAnnihilationModel.cc

References ComputeAsymmetriesPerElectron(), G4eeToTwoGammaModel::ComputeCrossSectionPerElectron(), theBeamPolarization, theTargetPolarization, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().

+ Here is the call graph for this function:

const G4ThreeVector & G4PolarizedAnnihilationModel::GetBeamPolarization ( ) const
inline

Definition at line 131 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 131 of file G4PolarizedAnnihilationModel.hh

References theBeamPolarization.

const G4ThreeVector & G4PolarizedAnnihilationModel::GetFinalGamma1Polarization ( ) const
inline

Definition at line 135 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 135 of file G4PolarizedAnnihilationModel.hh

References finalGamma1Polarization.

const G4ThreeVector & G4PolarizedAnnihilationModel::GetFinalGamma2Polarization ( ) const
inline

Definition at line 139 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 139 of file G4PolarizedAnnihilationModel.hh

References finalGamma2Polarization.

const G4ThreeVector & G4PolarizedAnnihilationModel::GetTargetPolarization ( ) const
inline

Definition at line 127 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 127 of file G4PolarizedAnnihilationModel.hh

References theTargetPolarization.

void G4PolarizedAnnihilationModel::Initialise ( const G4ParticleDefinition part,
const G4DataVector dv 
)
finalvirtual

Reimplemented from G4eeToTwoGammaModel.

Definition at line 81 of file G4PolarizedAnnihilationModel.cc.

View newest version in sPHENIX GitHub at line 81 of file G4PolarizedAnnihilationModel.cc

References G4VEmModel::GetParticleChangeForGamma(), gParticleChange, and G4eeToTwoGammaModel::Initialise().

+ Here is the call graph for this function:

G4PolarizedAnnihilationModel& G4PolarizedAnnihilationModel::operator= ( const G4PolarizedAnnihilationModel right)
privatedelete
void G4PolarizedAnnihilationModel::SampleSecondaries ( std::vector< G4DynamicParticle * > *  fvect,
const G4MaterialCutsCouple ,
const G4DynamicParticle dp,
G4double  tmin,
G4double  maxEnergy 
)
finalvirtual

Reimplemented from G4eeToTwoGammaModel.

Definition at line 144 of file G4PolarizedAnnihilationModel.cc.

View newest version in sPHENIX GitHub at line 144 of file G4PolarizedAnnihilationModel.cc

References crossSectionCalculator, G4PolarizedAnnihilationCrossSection::DiceEpsilon(), dir, e, source.hepunit::electron_mass_c2, finalGamma1Polarization, finalGamma2Polarization, fStopAndKill, G4cout, G4endl, G4UniformRand, G4Gamma::Gamma(), G4ParticleChangeForGamma::GetCurrentTrack(), G4PolarizationHelper::GetFrame(), G4PolarizationManager::GetInstance(), G4DynamicParticle::GetKineticEnergy(), G4VPhysicalVolume::GetLogicalVolume(), G4DynamicParticle::GetMomentumDirection(), G4LogicalVolume::GetName(), G4PolarizedAnnihilationCrossSection::GetPol2(), G4PolarizedAnnihilationCrossSection::GetPol3(), G4Track::GetPolarization(), G4PolarizedAnnihilationCrossSection::getVar(), G4Track::GetVolume(), G4PolarizationManager::GetVolumePolarization(), gParticleChange, G4PolarizedAnnihilationCrossSection::Initialize(), G4StokesVector::InvRotateAz(), G4PolarizationManager::IsPolarized(), CLHEP::Hep3Vector::mag2(), n1, G4StokesVector::p1(), G4StokesVector::p2(), G4StokesVector::p3(), phi, G4VParticleChange::ProposeTrackStatus(), G4StokesVector::RotateAz(), CLHEP::Hep3Vector::rotateUz(), G4StokesVector::SetPhoton(), G4DynamicParticle::SetPolarization(), G4ParticleChangeForGamma::SetProposedKineticEnergy(), sqr(), theBeamPolarization, theTargetPolarization, twopi, and verboseLevel.

+ Here is the call graph for this function:

void G4PolarizedAnnihilationModel::SetBeamPolarization ( const G4ThreeVector pBeam)
inline

Definition at line 123 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 123 of file G4PolarizedAnnihilationModel.hh

References theBeamPolarization.

Referenced by G4eplusPolarizedAnnihilation::ComputeAsymmetry().

+ Here is the caller graph for this function:

void G4PolarizedAnnihilationModel::SetTargetPolarization ( const G4ThreeVector pTarget)
inline

Definition at line 119 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 119 of file G4PolarizedAnnihilationModel.hh

References theTargetPolarization.

Referenced by G4eplusPolarizedAnnihilation::ComputeAsymmetry().

+ Here is the caller graph for this function:

Member Data Documentation

G4PolarizedAnnihilationCrossSection* G4PolarizedAnnihilationModel::crossSectionCalculator
private
G4StokesVector G4PolarizedAnnihilationModel::finalGamma1Polarization
private

Definition at line 109 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 109 of file G4PolarizedAnnihilationModel.hh

Referenced by GetFinalGamma1Polarization(), and SampleSecondaries().

G4StokesVector G4PolarizedAnnihilationModel::finalGamma2Polarization
private

Definition at line 110 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 110 of file G4PolarizedAnnihilationModel.hh

Referenced by GetFinalGamma2Polarization(), and SampleSecondaries().

G4ParticleChangeForGamma* G4PolarizedAnnihilationModel::gParticleChange
private

Definition at line 114 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 114 of file G4PolarizedAnnihilationModel.hh

Referenced by Initialise(), and SampleSecondaries().

G4StokesVector G4PolarizedAnnihilationModel::theBeamPolarization
private

Definition at line 106 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 106 of file G4PolarizedAnnihilationModel.hh

Referenced by ComputeCrossSectionPerElectron(), GetBeamPolarization(), SampleSecondaries(), and SetBeamPolarization().

G4StokesVector G4PolarizedAnnihilationModel::theTargetPolarization
private

Definition at line 107 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 107 of file G4PolarizedAnnihilationModel.hh

Referenced by ComputeCrossSectionPerElectron(), GetTargetPolarization(), SampleSecondaries(), and SetTargetPolarization().

G4int G4PolarizedAnnihilationModel::verboseLevel
private

Definition at line 112 of file G4PolarizedAnnihilationModel.hh.

View newest version in sPHENIX GitHub at line 112 of file G4PolarizedAnnihilationModel.hh

Referenced by SampleSecondaries().


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