Implementation for calculation of inverse interaction length and shower energy due to delta-rays from muon.
More...
#include <JRadiationSource.hh>
|
| | JDeltaRaysSource (const int id, const double density, const double Tmin) |
| | Constructor.
|
| |
| virtual double | getInverseInteractionLength (const double E) const override |
| | Get inverse interaction length.
|
| |
| virtual double | getEnergyOfShower (const double E) const override |
| | Get energy of shower.
|
| |
| virtual double | getThetaRMS (const double E, const double Es) const override |
| | Get RMS of scattering angle.
|
| |
| int | getID () const |
| | Get identifier.
|
| |
| int & | getID () |
| | Get identifier.
|
| |
| void | setID (const int id) |
| | Set identifier.
|
| |
| bool | less (const JObjectID &object) const |
| | Less than method.
|
| |
| bool | less (const int id) const |
| | Less than method.
|
| |
| bool | more (const int id) const |
| | More than method.
|
| |
|
| const double | rho |
| |
| const double | Tmin |
| | minimal kinetic energy [GeV]
|
| |
| int | __id |
| |
Implementation for calculation of inverse interaction length and shower energy due to delta-rays from muon.
This class implements the JRadiationInterface interface.
Definition at line 220 of file JRadiationSource.hh.
◆ JDeltaRaysSource()
| JPHYSICS::JDeltaRaysSource::JDeltaRaysSource |
( |
const int | id, |
|
|
const double | density, |
|
|
const double | Tmin ) |
|
inline |
Constructor.
- Parameters
-
| id | radiation identifier |
| density | mass density of radiation material [gr/cm³] |
| A | atomic mass |
| Z | atomic number |
| Tmin | minimal kunetic energy [GeV] |
Definition at line 233 of file JRadiationSource.hh.
235 :
239 {}
const double Tmin
minimal kinetic energy [GeV]
JRadiationInterface(const int id)
Constructor.
◆ getInverseInteractionLength()
| virtual double JPHYSICS::JDeltaRaysSource::getInverseInteractionLength |
( |
const double | E | ) |
const |
|
inlineoverridevirtual |
Get inverse interaction length.
- Parameters
-
- Returns
- inverse interaction length [m^-1]
Implements JPHYSICS::JRadiationInterface.
Definition at line 248 of file JRadiationSource.hh.
249 {
251
253 }
static double getCount(const double E, const double M, const double Tmin, const double Tmax, const double Z, const double A, const JFormFactor_t &F, const int N=1000000)
Get number of delta-rays per unit track length for an ionising particle with given energy and given m...
static double getTmax(const double E, const double M)
Get maximum delta-ray kinetic energy for given lepton energy and mass.
◆ getEnergyOfShower()
| virtual double JPHYSICS::JDeltaRaysSource::getEnergyOfShower |
( |
const double | E | ) |
const |
|
inlineoverridevirtual |
Get energy of shower.
- Parameters
-
- Returns
- shower energy [GeV]
Implements JPHYSICS::JRadiationInterface.
Definition at line 262 of file JRadiationSource.hh.
263 {
265
266 const double xmin = 1.0 / Tmax;
267 const double xmax = 1.0 /
Tmin;
268
269 return 1.0 / gRandom->Uniform(xmin, xmax);
270 }
◆ getThetaRMS()
| virtual double JPHYSICS::JDeltaRaysSource::getThetaRMS |
( |
const double | E, |
|
|
const double | Es ) const |
|
inlineoverridevirtual |
◆ getID() [1/2]
| int JLANG::JObjectID::getID |
( |
| ) |
const |
|
inlineinherited |
Get identifier.
- Returns
- identifier
Definition at line 50 of file JObjectID.hh.
◆ getID() [2/2]
| int & JLANG::JObjectID::getID |
( |
| ) |
|
|
inlineinherited |
Get identifier.
- Returns
- identifier
Definition at line 61 of file JObjectID.hh.
◆ setID()
| void JLANG::JObjectID::setID |
( |
const int | id | ) |
|
|
inlineinherited |
Set identifier.
- Parameters
-
Definition at line 72 of file JObjectID.hh.
◆ less() [1/2]
| bool JLANG::JObjectID::less |
( |
const JObjectID & | object | ) |
const |
|
inlineinherited |
Less than method.
- Parameters
-
- Returns
- true if this identifier less than given identifier; else false
Definition at line 84 of file JObjectID.hh.
85 {
86 return this->
getID() <
object.getID();
87 }
int getID() const
Get identifier.
◆ less() [2/2]
| bool JLANG::JObjectID::less |
( |
const int | id | ) |
const |
|
inlineinherited |
Less than method.
- Parameters
-
- Returns
- true if this identifier less than given identifier; else false
Definition at line 96 of file JObjectID.hh.
97 {
98 return this->
getID() < id;
99 }
◆ more()
| bool JLANG::JObjectID::more |
( |
const int | id | ) |
const |
|
inlineinherited |
More than method.
- Parameters
-
- Returns
- true if this identifier greater than given identifier; else false
Definition at line 108 of file JObjectID.hh.
109 {
110 return this->
getID() > id;
111 }
◆ rho
| const double JPHYSICS::JDeltaRaysSource::rho |
|
protected |
◆ Tmin
| const double JPHYSICS::JDeltaRaysSource::Tmin |
|
protected |
◆ __id
| int JLANG::JObjectID::__id |
|
protectedinherited |
The documentation for this class was generated from the following file: