Jpp
16.0.1
the software that should make you happy
|
Source of radiation. More...
#include <JRadiationSource.hh>
Public Types | |
typedef double(JRadiation::* | sigma_type )(const double) const |
typedef double(JRadiation::* | eloss_type )(const double) const |
typedef std::pair< sigma_type, eloss_type > | source_type |
Public Member Functions | |
JRadiationSource (const JLANG::JSharedPointer< JRadiation > &radiation, const double density, const source_type source) | |
Constructor. More... | |
virtual double | getInverseInteractionLength (const double E) const override |
Get inverse interaction length. More... | |
virtual double | getA (const double E) const override |
Get A value. More... | |
virtual double | getEnergyOfShower (const double E) const override |
Get energy of shower. More... | |
Protected Attributes | |
JLANG::JSharedPointer< JRadiation > | rad |
const double | rho |
sigma_type | sigma |
eloss_type | eloss |
Source of radiation.
This class implements the JRadiationInterface interface. N.B: This class owns the object pointed to using JSharedPointer<>.
Definition at line 275 of file JRadiationSource.hh.
typedef double(JRadiation::* JPHYSICS::JRadiationSource::sigma_type)(const double) const |
Definition at line 280 of file JRadiationSource.hh.
typedef double(JRadiation::* JPHYSICS::JRadiationSource::eloss_type)(const double) const |
Definition at line 281 of file JRadiationSource.hh.
Definition at line 283 of file JRadiationSource.hh.
|
inline |
Constructor.
radiation | pointer to valid JRadition object |
density | Mass density of radiation material [gr/cm³] |
source | pointers to total cross section and energy loss methods |
Definition at line 293 of file JRadiationSource.hh.
|
inlineoverridevirtual |
Get inverse interaction length.
E | muon energy [GeV] |
Implements JPHYSICS::JRadiationInterface.
Definition at line 309 of file JRadiationSource.hh.
|
inlineoverridevirtual |
Get A value.
E | muon energy [GeV] |
Implements JPHYSICS::JRadiationInterface.
Definition at line 320 of file JRadiationSource.hh.
|
inlineoverridevirtual |
Get energy of shower.
E | muon energy [GeV] |
Implements JPHYSICS::JRadiationInterface.
Definition at line 331 of file JRadiationSource.hh.
|
protected |
Definition at line 337 of file JRadiationSource.hh.
|
protected |
Definition at line 338 of file JRadiationSource.hh.
|
protected |
Definition at line 339 of file JRadiationSource.hh.
|
protected |
Definition at line 340 of file JRadiationSource.hh.