56 std::vector<G4Material*>::const_iterator matite;
57 for( matite = materialTable->begin(); matite != materialTable->end(); matite++ ) {
115 if(
verboseLevel >= 2 )
G4cout <<
" G4LEPTSElasticModel::SampleSecondaries( P1Dir " << P1Dir <<
" P0Dir " << P0Dir <<
" ang " << ang <<
G4endl;
123 G4double P1KinEn = P0KinEn - Energylost;
126 if(
verboseLevel >= 2 )
G4cout <<
" G4LEPTSElasticModel::SampleSecondaries( SetProposedKineticEnergy " << P1KinEn <<
" " << P0KinEn <<
" - " << Energylost <<
G4endl;
144 G4double W = ( (E+MP)*si*si + MT - co*std::sqrt(MT*MT-MP*MP*si*si) ) * E*(E+2*MP)
145 / ( std::pow((E+MP+MT),2) - E*co*co*(E+2*MP) );
G4ParticleChangeForGamma * fParticleChangeForGamma
static G4MaterialTable * GetMaterialTable()
G4double SampleAngle(const G4Material *aMaterial, G4double e, G4double el)
static constexpr double g
const G4ThreeVector & GetMomentumDirection() const
static constexpr double mole
void SetProposedKineticEnergy(G4double proposedKinEnergy)
std::map< const G4Material *, G4double > theMassProjectile
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin=0.0, G4double tmax=DBL_MAX)
G4double GetMeanFreePath(const G4Material *mate, const G4ParticleDefinition *aParticle, G4double kineticEnergy)
void BuildPhysicsTable(const G4ParticleDefinition &aParticleType)
std::map< const G4Material *, G4double > theMassTarget
const G4String & GetName() const
static constexpr double electron_mass_c2
void ProposeMomentumDirection(G4double Px, G4double Py, G4double Pz)
static constexpr double MeV
G4double EnergyTransfer(G4double, G4double, G4double, G4double)
static constexpr double eV
std::vector< G4Material * > G4MaterialTable
virtual G4double CrossSectionPerVolume(const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
static constexpr double c_light
G4LEPTSElasticModel(const G4String &modelName="G4LEPTSElasticModel")
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
const G4ThreeVector & GetProposedMomentumDirection() const
G4ThreeVector SampleNewDirection(const G4Material *aMaterial, G4ThreeVector Dir, G4double e, G4double el)
G4double theLowestEnergyLimit
const G4Material * GetMaterial() const
G4ParticleChangeForGamma * GetParticleChangeForGamma()
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
void ProposeTrackStatus(G4TrackStatus status)
std::map< const G4Material *, G4double > theMolecularMass