Implementation of multiple scattering in the tracker layers. More...
Public Member Functions | |
void | interact (Particle &particle, const SimplifiedGeometry &layer, std::vector< std::unique_ptr< Particle > > &secondaries, const RandomEngineAndDistribution &random) override |
Perform the interaction. More... | |
MultipleScattering (const std::string &name, const edm::ParameterSet &cfg) | |
Constructor. More... | |
~MultipleScattering () override | |
Default destructor. More... | |
Public Member Functions inherited from fastsim::InteractionModel | |
const std::string | getName () |
Return (unique) name of this interaction. More... | |
InteractionModel (std::string name) | |
Constructor. More... | |
virtual void | registerProducts (edm::ProducesCollector) const |
In case interaction produces and stores content in the event (e.g. TrackerSimHits). More... | |
virtual void | storeProducts (edm::Event &iEvent) |
In case interaction produces and stores content in the event (e.g. TrackerSimHits). More... | |
virtual | ~InteractionModel () |
Default destructor. More... | |
Private Member Functions | |
XYZVector | orthogonal (const XYZVector &aVector) const |
Return an orthogonal vector. More... | |
Private Attributes | |
double | minPt_ |
Cut on minimum pT of particle. More... | |
double | radLenInCm_ |
Radiation length of material (usually silicon X0=9.360) More... | |
Implementation of multiple scattering in the tracker layers.
Computes the direction change by multiple scattering of a charged particle (assumes constant properties of material).
Definition at line 34 of file MultipleScattering.cc.
fastsim::MultipleScattering::MultipleScattering | ( | const std::string & | name, |
const edm::ParameterSet & | cfg | ||
) |
Constructor.
Definition at line 63 of file MultipleScattering.cc.
References looper::cfg, minPt_, and radLenInCm_.
|
inlineoverride |
|
overridevirtual |
Perform the interaction.
particle | The particle that interacts with the matter. |
layer | The detector layer that interacts with the particle. |
secondaries | Particles that are produced in the interaction (if any). |
random | The Random Engine. |
Implements fastsim::InteractionModel.
Definition at line 71 of file MultipleScattering.cc.
References funct::abs(), fastsim::Particle::charge(), funct::cos(), dumpMFGeometry_cfg::delta, MillePedeFileConverter_cfg::e, Exception, RandomEngineAndDistribution::flatShoot(), RandomEngineAndDistribution::gaussShoot(), phase1PixelTopology::layer, dqm-mbProfile::log, callgraph::m2, M_PI, fastsim::Particle::momentum(), p2, fastsim::Particle::position(), funct::sin(), mathSSE::sqrt(), and theta().
|
private |
Cut on minimum pT of particle.
Definition at line 58 of file MultipleScattering.cc.
Referenced by MultipleScattering().
|
private |
Radiation length of material (usually silicon X0=9.360)
Definition at line 59 of file MultipleScattering.cc.
Referenced by MultipleScattering().