65 <<
"Phonon Energy = " << phononEnergy / eV <<
" eV "<<
G4endl;
73 if (isInitialised) {
return; }
86 const G4double e = CLHEP::eplus / CLHEP::coulomb;
87 const G4double m0 = CLHEP::electron_mass_c2 / (CLHEP::c_squared*CLHEP::kg);
88 const G4double h = CLHEP::hbar_Planck * CLHEP::s/ (CLHEP::m2*CLHEP::kg);
89 const G4double eps0 = CLHEP::epsilon0 * CLHEP::m/ (CLHEP::farad);
90 const G4double kb = CLHEP::k_Boltzmann * CLHEP::kelvin/ CLHEP::joule;
98 if (material->
GetName() !=
"G4_SILICON_DIOXIDE"
99 && material->
GetName() !=
"G4_ALUMINUM_OXIDE"
100 && material->
GetName() !=
"G4_BORON_NITRIDE")
107 if (material->
GetName() ==
"G4_ALUMINUM_OXIDE")
111 phononEnergy = 0.1*eV;
113 if (material->
GetName() ==
"G4_SILICON_DIOXIDE")
117 phononEnergy = (0.75*0.153+0.25*0.063 )* eV;
128 if (material->
GetName() ==
"G4_BORON_NITRIDE")
132 phononEnergy = 0.17 * eV;
135 G4double hw = (phononEnergy / eV) * e;
136 G4double n = 1.0 / (std::exp(hw / (kb*T)) - 1);
149 G4double racine = std::sqrt(1 + ((-signe*hw) / E));
150 G4double P = (std::pow(e, 2) / (4 * pi*eps0*h*h)) * (n + 0.5 + signe*0.5) * ((1 / einf) - (1 / eps)) * std::sqrt(m0 / (2 * E)) *hw* std::log((1 + racine) / (signe * 1 + ((-signe)*racine)));
151 G4double MFP = (std::sqrt(2 * E / m0) / P)*m;
153 if (material->
GetName() ==
"G4_SILICON_DIOXIDE") {
return 2 / MFP; }
167 Eprim = (absor) ? E + phononEnergy : E - phononEnergy;
170 G4double B = (E + Eprim + 2 * std::sqrt(E*Eprim))
171 / (E + Eprim - 2 * std::sqrt(E*Eprim));
172 G4double cosTheta = ((E + Eprim) / (2 * std::sqrt(E*Eprim)))
173 * (1 - std::pow(
B, rand)) + std::pow(
B, rand);
183 G4double xDir = std::sqrt(1. - cosTheta*cosTheta);
185 xDir *= std::cos(phi);
186 yDir *= std::sin(phi);
188 G4ThreeVector zPrimeVers((xDir*xVers + yDir*yVers + cosTheta*zVers));
G4double B(G4double temperature)
G4GLOB_DLL std::ostream G4cout
Hep3Vector orthogonal() const
Hep3Vector cross(const Hep3Vector &) const
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
const G4String & GetName() const
G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin=0.0, G4double emax=DBL_MAX) override
void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin=0.0, G4double maxEnergy=DBL_MAX) override
void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
G4MicroElecLOPhononModel(const G4ParticleDefinition *p=nullptr, const G4String &nam="G4MicroElecLOPhononModel")
void SetProposedKineticEnergy(G4double proposedKinEnergy)
void ProposeMomentumDirection(const G4ThreeVector &Pfinal)
G4ParticleChangeForGamma * GetParticleChangeForGamma()