|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.NISTMonte.MonteCarloSS.Electron
public static final class MonteCarloSS.Electron
This class handles the geometric considerations tracking an electron through Monte Carlo steps. Storing the geometric considerations for each electron independently may facilitate adding support for fast secondary electrons if desired.
| Constructor Summary | |
|---|---|
MonteCarloSS.Electron(double[] initialPos,
double kE)
Electron - Construct an electron with the specified initial position and kinetic energy. |
|
MonteCarloSS.Electron(double[] initialPos,
double phi,
double theta,
double kE)
Constructs a Electron at the initial position specified with motion in the direction specified by phi & theta and a kinetic energy of kE. |
|
MonteCarloSS.Electron(MonteCarloSS.Electron parent,
double phi,
double theta,
double kE)
Constructs an Electron that starts its trajectory from the location of the specified parent electron with motion in the direction specified by phi & theta and a kinetic energy of kE. |
|
| Method Summary | |
|---|---|
double[] |
candidatePoint(double alpha,
double beta,
double dS)
candidatePoint - Computes the location of the next point assuming that the electron's current trajectory is deviated by angles alpha and beta and the step length is dS. |
MonteCarloSS.Region |
getCurrentRegion()
|
double |
getEnergy()
getEnergy - Returns the current kinetic energy of the electon in Joules. |
double[] |
getPosition()
getPosition - Get the current position of the electron as a array of three doubles (x,y & z) |
MonteCarloSS.Region |
getPreviousRegion()
|
double[] |
getPrevPosition()
getPrevPosition - Get the previous position of the electron as a array of three doubles (x,y & z) |
int |
getStepCount()
getStepCount - Gets the count of the number of steps since the trajectory began. |
void |
setDirection(double phi,
double theta)
setDirection - Permits changing the initial direction of the electron. |
double |
stepLength()
stepLength - Gets the length of the step between the start of the step and the end of the step. |
void |
updatePosition(double[] newPoint,
double dE)
updatePosition - Update the position and energy of the electron to the specified point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonteCarloSS.Electron(double[] initialPos,
double kE)
initialPos - double[]kE - double - Electron kinetic energy in Joules
public MonteCarloSS.Electron(double[] initialPos,
double phi,
double theta,
double kE)
initialPos - phi - theta - kE -
public MonteCarloSS.Electron(MonteCarloSS.Electron parent,
double phi,
double theta,
double kE)
parent - phi - theta - kE - | Method Detail |
|---|
public void setDirection(double phi,
double theta)
phi - double - In radianstheta - double - In radianspublic double[] getPosition()
public double[] getPrevPosition()
public MonteCarloSS.Region getCurrentRegion()
public MonteCarloSS.Region getPreviousRegion()
public double getEnergy()
public int getStepCount()
public double stepLength()
public double[] candidatePoint(double alpha,
double beta,
double dS)
alpha - double - The scattering zenith anglebeta - double - The scattering azimuthal angle (Randomly
distibuted from [0,2 pi)dS - double
public void updatePosition(double[] newPoint,
double dE)
newPoint - double[]dE - double - in Joules
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||