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

#include <geant4/tree/geant4-10.6-release/source/processes/hadronic/models/coherent_elastic/include/G4LEnp.hh>

+ Inheritance diagram for G4LEnp:
+ Collaboration diagram for G4LEnp:

Public Member Functions

 G4LEnp ()
 
 ~G4LEnp () override
 
G4HadFinalStateApplyYourself (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus) override
 
G4double SampleInvariantT (const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A) override
 
- Public Member Functions inherited from G4HadronElastic
 G4HadronElastic (const G4String &name="hElasticLHEP")
 
 ~G4HadronElastic () override
 
G4double GetSlopeCof (const G4int pdg)
 
void SetLowestEnergyLimit (G4double value)
 
G4double LowestEnergyLimit () const
 
G4double ComputeMomentumCMS (const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
 
void ModelDescription (std::ostream &) const override
 
- Public Member Functions inherited from G4HadronicInteraction
 G4HadronicInteraction (const G4String &modelName="HadronicModel")
 
virtual ~G4HadronicInteraction ()
 
virtual G4bool IsApplicable (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
 
G4double GetMinEnergy () const
 
G4double GetMinEnergy (const G4Material *aMaterial, const G4Element *anElement) const
 
void SetMinEnergy (G4double anEnergy)
 
void SetMinEnergy (G4double anEnergy, const G4Element *anElement)
 
void SetMinEnergy (G4double anEnergy, const G4Material *aMaterial)
 
G4double GetMaxEnergy () const
 
G4double GetMaxEnergy (const G4Material *aMaterial, const G4Element *anElement) const
 
void SetMaxEnergy (const G4double anEnergy)
 
void SetMaxEnergy (G4double anEnergy, const G4Element *anElement)
 
void SetMaxEnergy (G4double anEnergy, const G4Material *aMaterial)
 
G4int GetVerboseLevel () const
 
void SetVerboseLevel (G4int value)
 
const G4StringGetModelName () const
 
void DeActivateFor (const G4Material *aMaterial)
 
void ActivateFor (const G4Material *aMaterial)
 
void DeActivateFor (const G4Element *anElement)
 
void ActivateFor (const G4Element *anElement)
 
G4bool IsBlocked (const G4Material *aMaterial) const
 
G4bool IsBlocked (const G4Element *anElement) const
 
void SetRecoilEnergyThreshold (G4double val)
 
G4double GetRecoilEnergyThreshold () const
 
virtual const std::pair
< G4double, G4double
GetFatalEnergyCheckLevels () const
 
virtual std::pair< G4double,
G4double
GetEnergyMomentumCheckLevels () const
 
void SetEnergyMomentumCheckLevels (G4double relativeLevel, G4double absoluteLevel)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void InitialiseModel ()
 

Private Types

enum  { NENERGY =39, NANGLE =180 }
 

Static Private Attributes

static const G4float sig [NENERGY][NANGLE]
 
static const G4float pcm [NENERGY]
 
static const G4float elab [NENERGY]
 
static const G4float dsigmax [NENERGY]
 
static const G4float sigtot [NENERGY]
 

Additional Inherited Members

- Protected Member Functions inherited from G4HadronicInteraction
void SetModelName (const G4String &nam)
 
G4bool IsBlocked () const
 
void Block ()
 
- Protected Attributes inherited from G4HadronElastic
G4double pLocalTmax
 

Detailed Description

Definition at line 40 of file G4LEnp.hh.

View newest version in sPHENIX GitHub at line 40 of file G4LEnp.hh

Member Enumeration Documentation

anonymous enum
private
Enumerator:
NENERGY 
NANGLE 

Definition at line 44 of file G4LEnp.hh.

View newest version in sPHENIX GitHub at line 44 of file G4LEnp.hh

Constructor & Destructor Documentation

G4LEnp::G4LEnp ( )
explicit

Definition at line 45 of file G4LEnp.cc.

View newest version in sPHENIX GitHub at line 45 of file G4LEnp.cc

References GeV, G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

+ Here is the call graph for this function:

G4LEnp::~G4LEnp ( )
override

Definition at line 56 of file G4LEnp.cc.

View newest version in sPHENIX GitHub at line 56 of file G4LEnp.cc

References G4HadFinalState::Clear(), and G4HadronicInteraction::theParticleChange.

+ Here is the call graph for this function:

Member Function Documentation

G4HadFinalState * G4LEnp::ApplyYourself ( const G4HadProjectile aTrack,
G4Nucleus targetNucleus 
)
overridevirtual

Reimplemented from G4HadronElastic.

Definition at line 62 of file G4LEnp.cc.

View newest version in sPHENIX GitHub at line 62 of file G4LEnp.cc

References A(), kdfinder::abs(), G4HadFinalState::AddSecondary(), b, G4HadFinalState::Clear(), degree, E, elab, G4cout, G4endl, G4UniformRand, G4HadProjectile::Get4Momentum(), G4Nucleus::GetA_asInt(), G4HadProjectile::GetDefinition(), G4DynamicParticle::GetDefinition(), G4HadProjectile::GetKineticEnergy(), G4DynamicParticle::GetKineticEnergy(), G4DynamicParticle::GetMomentum(), G4DynamicParticle::GetMomentumDirection(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), G4HadProjectile::GetTotalEnergy(), G4DynamicParticle::GetTotalEnergy(), G4HadProjectile::GetTotalMomentum(), G4DynamicParticle::GetTotalMomentum(), G4Nucleus::GetZ_asInt(), GeV, halfpi, NANGLE, NENERGY, P, phi, pi, G4Proton::Proton(), source.hepunit::proton_mass_c2, Q, G4Nucleus::ReturnTargetParticle(), G4DynamicParticle::SetDefinition(), G4HadFinalState::SetEnergyChange(), G4DynamicParticle::SetMomentum(), G4HadFinalState::SetMomentumChange(), sig, G4HadronicInteraction::theParticleChange, theta(), twopi, CLHEP::HepLorentzVector::vect(), G4HadronicInteraction::verboseLevel, CLHEP::HepLorentzVector::x(), CLHEP::HepLorentzVector::y(), Z, and CLHEP::HepLorentzVector::z().

+ Here is the call graph for this function:

G4double G4LEnp::SampleInvariantT ( const G4ParticleDefinition p,
G4double  plab,
G4int  Z,
G4int  A 
)
overridevirtual

Reimplemented from G4HadronElastic.

Definition at line 312 of file G4LEnp.cc.

View newest version in sPHENIX GitHub at line 312 of file G4LEnp.cc

References b, elab, G4UniformRand, G4ParticleDefinition::GetPDGMass(), GeV, NANGLE, NENERGY, pi, sig, t, and theta().

+ Here is the call graph for this function:

Member Data Documentation

const G4float G4LEnp::dsigmax
staticprivate
Initial value:
= {
79.0f, 43.0f, 29.8f, 20.0f, 16.3f, 14.5f, 13.3f,
12.6f, 11.9f, 11.3f, 11.1f, 10.7f, 9.69f, 10.1f,
11.4f, 12.5f, 13.3f, 14.5f, 15.6f, 16.9f, 18.3f,
20.070f, 21.620f, 23.090f, 24.460f, 25.710f, 26.870f, 27.950f,
28.990f, 30.950f, 32.790f, 34.570f, 36.370f, 38.090f, 40.810f,
40.950f, 40.230f, 39.840f, 39.010f
}

Definition at line 66 of file G4LEnp.hh.

View newest version in sPHENIX GitHub at line 66 of file G4LEnp.hh

const G4float G4LEnp::elab
staticprivate
Initial value:
= {
0.100E-01f, 0.200E-01f, 0.300E-01f, 0.500E-01f, 0.700E-01f, 0.100f, 0.140f,
0.180f, 0.240f, 0.340f, 0.420f, 0.500f, 0.580f, 0.620f,
0.680f, 0.740f, 0.800f, 0.900f, 1.00f, 1.10f, 1.200f,
1.300f, 1.400f, 1.500f, 1.600f, 1.700f, 1.800f, 1.900f,
2.000f, 2.200f, 2.400f, 2.600f, 2.800f, 3.000f, 3.400f,
3.800f, 4.200f, 4.600f, 5.000f
}

Definition at line 65 of file G4LEnp.hh.

View newest version in sPHENIX GitHub at line 65 of file G4LEnp.hh

Referenced by ApplyYourself(), and SampleInvariantT().

const G4float G4LEnp::pcm
staticprivate
Initial value:
= {
0.685E-01f, 0.969E-01f, 0.119f, 0.153f, 0.181f, 0.217f, 0.256f,
0.291f, 0.336f, 0.399f, 0.444f, 0.484f, 0.522f, 0.539f,
0.565f, 0.589f, 0.613f, 0.650f, 0.685f, 0.718f, 0.750f,
0.781f, 0.810f, 0.839f, 0.866f, 0.893f, 0.919f, 0.944f,
0.969f, 1.016f, 1.061f, 1.104f, 1.146f, 1.186f, 1.263f,
1.335f, 1.404f, 1.469f, 1.532f
}

Definition at line 65 of file G4LEnp.hh.

View newest version in sPHENIX GitHub at line 65 of file G4LEnp.hh

const G4float G4LEnp::sig
staticprivate

Definition at line 64 of file G4LEnp.hh.

View newest version in sPHENIX GitHub at line 64 of file G4LEnp.hh

Referenced by ApplyYourself(), and SampleInvariantT().

const G4float G4LEnp::sigtot
staticprivate
Initial value:
= {
947.f, 485.f, 310.f, 168.f, 110.f, 75.7f, 55.2f,
45.9f, 39.1f, 34.1f, 32.3f, 31.3f, 30.1f, 29.5f,
28.4f, 27.4f, 26.4f, 24.8f, 23.4f, 22.4f, 21.9f,
22.074f, 22.182f, 22.380f, 22.589f, 22.777f, 22.939f, 23.072f,
23.182f, 23.339f, 23.443f, 23.561f, 23.752f, 23.996f, 24.841f,
25.406f, 24.742f, 24.314f, 23.695f
}

Definition at line 66 of file G4LEnp.hh.

View newest version in sPHENIX GitHub at line 66 of file G4LEnp.hh


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