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

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

+ Inheritance diagram for G4PolarizedCompton:
+ Collaboration diagram for G4PolarizedCompton:

Public Member Functions

 G4PolarizedCompton (const G4String &processName="pol-compt", G4ProcessType type=fElectromagnetic)
 
virtual ~G4PolarizedCompton ()
 
virtual G4bool IsApplicable (const G4ParticleDefinition &) override
 
virtual void PrintInfo () override
 
void SetModel (const G4String &name)
 
- Public Member Functions inherited from G4VEmProcess
 G4VEmProcess (const G4String &name, G4ProcessType type=fElectromagnetic)
 
virtual ~G4VEmProcess ()
 
virtual void ProcessDescription (std::ostream &outFile) const override
 
virtual void PreparePhysicsTable (const G4ParticleDefinition &) override
 
virtual void StartTracking (G4Track *) override
 
virtual G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &) override
 
virtual G4bool StorePhysicsTable (const G4ParticleDefinition *, const G4String &directory, G4bool ascii=false) override
 
virtual G4bool RetrievePhysicsTable (const G4ParticleDefinition *, const G4String &directory, G4bool ascii) override
 
virtual G4VEmProcessGetEmProcess (const G4String &name)
 
G4double CrossSectionPerVolume (G4double kineticEnergy, const G4MaterialCutsCouple *couple)
 
G4double ComputeCrossSectionPerAtom (G4double kineticEnergy, G4double Z, G4double A=0., G4double cut=0.0)
 
G4double MeanFreePath (const G4Track &track)
 
G4double GetLambda (G4double kinEnergy, const G4MaterialCutsCouple *couple)
 
G4double GetLambda (G4double kinEnergy, const G4MaterialCutsCouple *couple, G4double logKinEnergy)
 
void SetLambdaBinning (G4int nbins)
 
void SetMinKinEnergy (G4double e)
 
void SetMinKinEnergyPrim (G4double e)
 
void SetMaxKinEnergy (G4double e)
 
G4PhysicsTableLambdaTable () const
 
G4PhysicsTableLambdaTablePrim () const
 
const G4ParticleDefinitionParticle () const
 
const G4ParticleDefinitionSecondaryParticle () const
 
G4VEmModelSelectModelForMaterial (G4double kinEnergy, size_t idxRegion) const
 
void AddEmModel (G4int, G4VEmModel *, const G4Region *region=nullptr)
 
void SetEmModel (G4VEmModel *, G4int index=0)
 
G4VEmModelEmModel (size_t index=0) const
 
void UpdateEmModel (const G4String &, G4double, G4double)
 
G4int GetNumberOfModels () const
 
G4int GetNumberOfRegionModels (size_t couple_index) const
 
G4VEmModelGetRegionModel (G4int idx, size_t couple_index) const
 
G4VEmModelGetModelByIndex (G4int idx=0, G4bool ver=false) const
 
const G4VEmModelGetCurrentModel () const
 
const G4ElementGetCurrentElement () const
 
void SetCrossSectionBiasingFactor (G4double f, G4bool flag=true)
 
G4double CrossSectionBiasingFactor () const
 
void ActivateForcedInteraction (G4double length=0.0, const G4String &r="", G4bool flag=true)
 
void ActivateSecondaryBiasing (const G4String &region, G4double factor, G4double energyLimit)
 
void SetEmMasterProcess (const G4VEmProcess *)
 
void SetIntegral (G4bool val)
 
void SetBuildTableFlag (G4bool val)
 
void CurrentSetup (const G4MaterialCutsCouple *, G4double energy)
 
- Public Member Functions inherited from G4VDiscreteProcess
 G4VDiscreteProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VDiscreteProcess (G4VDiscreteProcess &)
 
virtual ~G4VDiscreteProcess ()
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
- Public Member Functions inherited from G4VProcess
 G4VProcess (const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
 
 G4VProcess (const G4VProcess &right)
 
virtual ~G4VProcess ()
 
G4bool operator== (const G4VProcess &right) const
 
G4bool operator!= (const G4VProcess &right) const
 
G4double GetCurrentInteractionLength () const
 
void SetPILfactor (G4double value)
 
G4double GetPILfactor () const
 
G4double AlongStepGPIL (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
 
G4double AtRestGPIL (const G4Track &track, G4ForceCondition *condition)
 
G4double PostStepGPIL (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
const G4StringGetPhysicsTableFileName (const G4ParticleDefinition *, const G4String &directory, const G4String &tableName, G4bool ascii=false)
 
const G4StringGetProcessName () const
 
G4ProcessType GetProcessType () const
 
void SetProcessType (G4ProcessType)
 
G4int GetProcessSubType () const
 
void SetProcessSubType (G4int)
 
virtual void EndTracking ()
 
virtual void SetProcessManager (const G4ProcessManager *)
 
virtual const G4ProcessManagerGetProcessManager ()
 
virtual void ResetNumberOfInteractionLengthLeft ()
 
G4double GetNumberOfInteractionLengthLeft () const
 
G4double GetTotalNumberOfInteractionLengthTraversed () const
 
G4bool isAtRestDoItIsEnabled () const
 
G4bool isAlongStepDoItIsEnabled () const
 
G4bool isPostStepDoItIsEnabled () const
 
virtual void DumpInfo () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
virtual void SetMasterProcess (G4VProcess *masterP)
 
const G4VProcessGetMasterProcess () const
 
virtual void BuildWorkerPhysicsTable (const G4ParticleDefinition &part)
 
virtual void PrepareWorkerPhysicsTable (const G4ParticleDefinition &)
 

Protected Member Functions

virtual void InitialiseProcess (const G4ParticleDefinition *) override
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &) override
 
virtual G4double GetMeanFreePath (const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition) override
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition) override
 
- Protected Member Functions inherited from G4VEmProcess
virtual void StreamProcessInfo (std::ostream &) const
 
virtual G4double MinPrimaryEnergy (const G4ParticleDefinition *, const G4Material *)
 
G4VEmModelSelectModel (G4double kinEnergy, size_t index)
 
G4PhysicsVectorLambdaPhysicsVector (const G4MaterialCutsCouple *)
 
G4int LambdaBinning () const
 
G4double MinKinEnergy () const
 
G4double MaxKinEnergy () const
 
G4double PolarAngleLimit () const
 
G4bool IsIntegral () const
 
G4double RecalculateLambda (G4double kinEnergy, const G4MaterialCutsCouple *couple)
 
G4ParticleChangeForGammaGetParticleChange ()
 
void SetParticle (const G4ParticleDefinition *p)
 
void SetSecondaryParticle (const G4ParticleDefinition *p)
 
size_t CurrentMaterialCutsCoupleIndex () const
 
const G4MaterialCutsCoupleMaterialCutsCouple () const
 
G4bool ApplyCuts () const
 
G4double GetGammaEnergyCut ()
 
G4double GetElectronEnergyCut ()
 
void SetStartFromNullFlag (G4bool val)
 
void SetSplineFlag (G4bool val)
 
const G4ElementGetTargetElement () const
 
const G4IsotopeGetTargetIsotope () const
 

Private Member Functions

void CleanTable ()
 
void BuildAsymmetryTable (const G4ParticleDefinition &part)
 
G4double ComputeAsymmetry (G4double energy, const G4MaterialCutsCouple *couple, const G4ParticleDefinition &particle, G4double cut, G4double &tAsymmetry)
 
G4double ComputeSaturationFactor (const G4Track &aTrack)
 
G4PolarizedComptonoperator= (const G4PolarizedCompton &right)=delete
 
 G4PolarizedCompton (const G4PolarizedCompton &)=delete
 

Private Attributes

G4bool buildAsymmetryTable
 
G4bool useAsymmetryTable
 
G4bool isInitialised
 
G4int mType
 
G4PolarizedComptonModelemModel
 
G4ThreeVector targetPolarization
 

Static Private Attributes

static G4PhysicsTabletheAsymmetryTable = nullptr
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 
- Protected Attributes inherited from G4VEmProcess
G4LossTableManagerlManager
 
G4EmParameterstheParameters
 
G4EmBiasingManagerbiasManager
 
const G4ParticleDefinitiontheGamma
 
const G4ParticleDefinitiontheElectron
 
G4ParticleChangeForGamma fParticleChange
 
std::vector< G4DynamicParticle * > secParticles
 
const G4MaterialCutsCouplecurrentCouple
 
const G4MaterialcurrentMaterial
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t currentCoupleIndex
 
size_t basedCoupleIndex
 
G4int mainSecondaries
 
G4int secID
 
G4int fluoID
 
G4int augerID
 
G4int biasID
 
G4bool isTheMaster
 
G4double mfpKinEnergy
 
G4double preStepKinEnergy
 
G4double preStepLogKinEnergy
 
G4double preStepLambda
 

Detailed Description

Definition at line 72 of file G4PolarizedCompton.hh.

View newest version in sPHENIX GitHub at line 72 of file G4PolarizedCompton.hh

Constructor & Destructor Documentation

G4PolarizedCompton::G4PolarizedCompton ( const G4String processName = "pol-compt",
G4ProcessType  type = fElectromagnetic 
)
explicit

Definition at line 72 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 72 of file G4PolarizedCompton.cc

References G4Electron::Electron(), emModel, fComptonScattering, MeV, G4VEmProcess::SetBuildTableFlag(), G4VEmProcess::SetMinKinEnergyPrim(), G4VProcess::SetProcessSubType(), G4VEmProcess::SetSecondaryParticle(), G4VEmProcess::SetSplineFlag(), and G4VEmProcess::SetStartFromNullFlag().

+ Here is the call graph for this function:

G4PolarizedCompton::~G4PolarizedCompton ( )
virtual

Definition at line 92 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 92 of file G4PolarizedCompton.cc

References CleanTable().

+ Here is the call graph for this function:

G4PolarizedCompton::G4PolarizedCompton ( const G4PolarizedCompton )
privatedelete

Member Function Documentation

void G4PolarizedCompton::BuildAsymmetryTable ( const G4ParticleDefinition part)
private

Definition at line 292 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 292 of file G4PolarizedCompton.cc

References CleanTable(), ComputeAsymmetry(), emax, CEMC_TOWER::emin, energy, G4PhysicsVector::Energy(), G4PhysicsTable::GetFlag(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), G4VEmProcess::LambdaBinning(), G4VEmProcess::MaxKinEnergy(), G4VEmProcess::MinKinEnergy(), G4PhysicsTableHelper::PreparePhysicsTable(), G4PhysicsVector::PutValue(), G4PhysicsTableHelper::SetPhysicsVector(), G4PhysicsVector::SetSpline(), and theAsymmetryTable.

Referenced by BuildPhysicsTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PolarizedCompton::BuildPhysicsTable ( const G4ParticleDefinition part)
overrideprotectedvirtual

Reimplemented from G4VEmProcess.

Definition at line 277 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 277 of file G4PolarizedCompton.cc

References BuildAsymmetryTable(), buildAsymmetryTable, G4VEmProcess::BuildPhysicsTable(), emModel, and G4VProcess::GetMasterProcess().

+ Here is the call graph for this function:

void G4PolarizedCompton::CleanTable ( )
private

Definition at line 99 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 99 of file G4PolarizedCompton.cc

References G4PhysicsTable::clearAndDestroy(), and theAsymmetryTable.

Referenced by BuildAsymmetryTable(), and ~G4PolarizedCompton().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4PolarizedCompton::ComputeAsymmetry ( G4double  energy,
const G4MaterialCutsCouple couple,
const G4ParticleDefinition particle,
G4double  cut,
G4double tAsymmetry 
)
private

Definition at line 337 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 337 of file G4PolarizedCompton.cc

References G4VEmModel::CrossSection(), emModel, G4PolarizedComptonModel::SetBeamPolarization(), and G4PolarizedComptonModel::SetTargetPolarization().

Referenced by BuildAsymmetryTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4PolarizedCompton::ComputeSaturationFactor ( const G4Track aTrack)
private

Definition at line 211 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 211 of file G4PolarizedCompton.cc

References G4VEmProcess::CurrentMaterialCutsCoupleIndex(), G4cout, G4endl, G4Exception(), G4Track::GetDynamicParticle(), G4PolarizationManager::GetInstance(), G4DynamicParticle::GetKineticEnergy(), G4VPhysicalVolume::GetLogicalVolume(), G4Track::GetMaterial(), G4DynamicParticle::GetMomentumDirection(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetName(), G4Track::GetPolarization(), G4Track::GetVolume(), G4PolarizationManager::GetVolumePolarization(), G4PolarizationManager::IsPolarized(), JustWarning, G4StokesVector::p3(), G4PhysicsVector::Value(), and G4VProcess::verboseLevel.

Referenced by GetMeanFreePath(), and PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4PolarizedCompton::GetMeanFreePath ( const G4Track aTrack,
G4double  previousStepSize,
G4ForceCondition condition 
)
overrideprotectedvirtual

Reimplemented from G4VEmProcess.

Definition at line 154 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 154 of file G4PolarizedCompton.cc

References ComputeSaturationFactor(), DBL_MAX, G4cout, G4endl, G4VEmProcess::GetMeanFreePath(), mfp, mm, theAsymmetryTable, useAsymmetryTable, and G4VProcess::verboseLevel.

+ Here is the call graph for this function:

void G4PolarizedCompton::InitialiseProcess ( const G4ParticleDefinition )
overrideprotectedvirtual

Implements G4VEmProcess.

Definition at line 117 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 117 of file G4PolarizedCompton.cc

References G4VEmProcess::AddEmModel(), emModel, G4VEmProcess::EmModel(), G4EmParameters::Instance(), isInitialised, G4EmParameters::MaxKinEnergy(), G4EmParameters::MinKinEnergy(), mType, G4VEmProcess::SetEmModel(), G4VEmModel::SetHighEnergyLimit(), and G4VEmModel::SetLowEnergyLimit().

+ Here is the call graph for this function:

G4bool G4PolarizedCompton::IsApplicable ( const G4ParticleDefinition p)
overridevirtual

Implements G4VEmProcess.

Definition at line 110 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 110 of file G4PolarizedCompton.cc

References G4Gamma::Gamma().

+ Here is the call graph for this function:

G4PolarizedCompton& G4PolarizedCompton::operator= ( const G4PolarizedCompton right)
privatedelete
G4double G4PolarizedCompton::PostStepGetPhysicalInteractionLength ( const G4Track track,
G4double  previousStepSize,
G4ForceCondition condition 
)
overrideprotectedvirtual

Reimplemented from G4VEmProcess.

Definition at line 172 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 172 of file G4PolarizedCompton.cc

References ComputeSaturationFactor(), G4VProcess::currentInteractionLength, DBL_MAX, G4cout, G4endl, max, mm, G4VEmProcess::PostStepGetPhysicalInteractionLength(), theAsymmetryTable, G4VProcess::theNumberOfInteractionLengthLeft, useAsymmetryTable, G4VProcess::verboseLevel, and x.

+ Here is the call graph for this function:

void G4PolarizedCompton::PrintInfo ( )
overridevirtual

Reimplemented from G4VEmProcess.

Definition at line 136 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 136 of file G4PolarizedCompton.cc

References G4VEmProcess::EmModel(), G4cout, G4endl, and G4VEmModel::GetName().

+ Here is the call graph for this function:

void G4PolarizedCompton::SetModel ( const G4String name)

Definition at line 146 of file G4PolarizedCompton.cc.

View newest version in sPHENIX GitHub at line 146 of file G4PolarizedCompton.cc

References mType.

Member Data Documentation

G4bool G4PolarizedCompton::buildAsymmetryTable
private

Definition at line 123 of file G4PolarizedCompton.hh.

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

Referenced by BuildPhysicsTable().

G4PolarizedComptonModel* G4PolarizedCompton::emModel
private

Definition at line 130 of file G4PolarizedCompton.hh.

View newest version in sPHENIX GitHub at line 130 of file G4PolarizedCompton.hh

Referenced by BuildPhysicsTable(), ComputeAsymmetry(), G4PolarizedCompton(), and InitialiseProcess().

G4bool G4PolarizedCompton::isInitialised
private

Definition at line 126 of file G4PolarizedCompton.hh.

View newest version in sPHENIX GitHub at line 126 of file G4PolarizedCompton.hh

Referenced by InitialiseProcess().

G4int G4PolarizedCompton::mType
private

Definition at line 127 of file G4PolarizedCompton.hh.

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

Referenced by InitialiseProcess(), and SetModel().

G4ThreeVector G4PolarizedCompton::targetPolarization
private

Definition at line 132 of file G4PolarizedCompton.hh.

View newest version in sPHENIX GitHub at line 132 of file G4PolarizedCompton.hh

G4PhysicsTable * G4PolarizedCompton::theAsymmetryTable = nullptr
staticprivate

Definition at line 131 of file G4PolarizedCompton.hh.

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

Referenced by BuildAsymmetryTable(), CleanTable(), GetMeanFreePath(), and PostStepGetPhysicalInteractionLength().

G4bool G4PolarizedCompton::useAsymmetryTable
private

Definition at line 124 of file G4PolarizedCompton.hh.

View newest version in sPHENIX GitHub at line 124 of file G4PolarizedCompton.hh

Referenced by GetMeanFreePath(), and PostStepGetPhysicalInteractionLength().


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