#include <MultipleScatteringSimulator.h>
Public Member Functions | |
MultipleScatteringSimulator (double A, double Z, double density, double radLen) | |
Default Constructor. More... | |
~MultipleScatteringSimulator () override | |
Default Destructor. More... | |
Public Member Functions inherited from MaterialEffectsSimulator | |
RHEP_const_iter | beginDaughters () const |
Returns const iterator to the beginning of the daughters list. More... | |
int | closestDaughterId () |
The id of the closest charged daughter (filled for nuclear interactions only) More... | |
double | eMass () const |
Electron mass in GeV/c2. More... | |
RHEP_const_iter | endDaughters () const |
Returns const iterator to the end of the daughters list. More... | |
double | excitE () const |
Mean excitation energy (in GeV) More... | |
MaterialEffectsSimulator (double A=28.0855, double Z=14.0000, double density=2.329, double radLen=9.360) | |
unsigned | nDaughters () const |
Returns the number of daughters. More... | |
XYZVector | orthogonal (const XYZVector &) const |
A vector orthogonal to another one (because it's not in XYZTLorentzVector) More... | |
double | radLenIncm () const |
One radiation length in cm. More... | |
double | rho () const |
Density in g/cm3. More... | |
virtual void | save () |
Used by NuclearInteractionSimulator to save last sampled event. More... | |
void | setNormalVector (const GlobalVector &normal) |
Sets the vector normal to the surface traversed. More... | |
double | theA () const |
A. More... | |
double | theZ () const |
Z. More... | |
void | updateState (ParticlePropagator &myTrack, double radlen, RandomEngineAndDistribution const *) |
Compute the material effect (calls the sub class) More... | |
virtual | ~MaterialEffectsSimulator () |
Private Member Functions | |
void | compute (ParticlePropagator &Particle, RandomEngineAndDistribution const *) override |
The real dE/dx generation and particle update. More... | |
Private Attributes | |
double | sqr12 |
Save (a tiny bit of) time. More... | |
Additional Inherited Members | |
Public Types inherited from MaterialEffectsSimulator | |
typedef std::vector< RawParticle >::const_iterator | RHEP_const_iter |
Protected Attributes inherited from MaterialEffectsSimulator | |
std::vector< RawParticle > | _theUpdatedState |
double | A |
double | density |
double | radLen |
double | radLengths |
int | theClosestChargedDaughterId |
GlobalVector | theNormalVector |
double | Z |
Definition at line 26 of file MultipleScatteringSimulator.h.
MultipleScatteringSimulator::MultipleScatteringSimulator | ( | double | A, |
double | Z, | ||
double | density, | ||
double | radLen | ||
) |
Default Constructor.
Definition at line 6 of file MultipleScatteringSimulator.cc.
References sqr12, and mathSSE::sqrt().
|
inlineoverride |
|
overrideprivatevirtual |
The real dE/dx generation and particle update.
Implements MaterialEffectsSimulator.
Definition at line 11 of file MultipleScatteringSimulator.cc.
References funct::cos(), dumpMFGeometry_cfg::delta, MillePedeFileConverter_cfg::e, RandomEngineAndDistribution::flatShoot(), RandomEngineAndDistribution::gaussShoot(), CrabHelper::log, callgraph::m2, normal, MaterialEffectsSimulator::orthogonal(), SiStripOfflineCRack_cfg::p2, phi, MaterialEffectsSimulator::radLengths, MaterialEffectsSimulator::radLenIncm(), funct::sin(), sqr12, mathSSE::sqrt(), MaterialEffectsSimulator::theNormalVector, tauSpinnerTable_cfi::theta, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Save (a tiny bit of) time.
Definition at line 40 of file MultipleScatteringSimulator.h.
Referenced by compute(), and MultipleScatteringSimulator().