Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
JPHYSICS::JDeltaRays::FIT Struct Reference

Auxiliary data structure to encapsulate energy loss methods based on fit. More...

#include <JDeltaRays.hh>

Static Public Member Functions

static double getEnergyLossFromMuon (const double E)
 Equivalent EM-shower energy loss due to delta-rays per unit muon track length.
 
static double getEnergyLossFromTau (const double E)
 Equivalent EM-shower energy loss due to delta-rays per unit tau track length.
 

Detailed Description

Auxiliary data structure to encapsulate energy loss methods based on fit.

Definition at line 441 of file JDeltaRays.hh.

Member Function Documentation

◆ getEnergyLossFromMuon()

static double JPHYSICS::JDeltaRays::FIT::getEnergyLossFromMuon ( const double E)
inlinestatic

Equivalent EM-shower energy loss due to delta-rays per unit muon track length.

Parameters
Emuon energy [GeV]
Returns
equivalent energy loss [GeV/m]

Definition at line 449 of file JDeltaRays.hh.

450 {
451 static const double a = 3.195e-01;
452 static const double b = 3.373e-01;
453 static const double c = -2.731e-02;
454 static const double d = 1.610e-03;
455 static const double Emin = 0.13078; // [GeV]
456
457 if (E > Emin) {
458
459 const double x = log10(E);
460 const double y = a + x*(b + x*(c + x*(d))); // [MeV g^-1 cm^2]
461
462 if (y > 0.0) {
463 return y * DENSITY_SEA_WATER * 1.0e-1; // [GeV/m]
464 }
465 }
466
467 return 0.0;
468 }
static const double DENSITY_SEA_WATER
Fixed environment values.

◆ getEnergyLossFromTau()

static double JPHYSICS::JDeltaRays::FIT::getEnergyLossFromTau ( const double E)
inlinestatic

Equivalent EM-shower energy loss due to delta-rays per unit tau track length.

Parameters
Etau energy [GeV]
Returns
equivalent energy loss [GeV/m]

Definition at line 477 of file JDeltaRays.hh.

478 {
479 static const double a = -2.178e-01;
480 static const double b = 4.995e-01;
481 static const double c = -3.906e-02;
482 static const double d = 1.615e-03;
483 static const double Emin = 2.19500; // [GeV]
484
485 if (E > Emin) {
486
487 const double x = log10(E);
488 const double y = a + x*(b + x*(c + x*(d))); // [MeV g^-1 cm^2]
489
490 if (y > 0) {
491 return y * DENSITY_SEA_WATER * 1.0e-1; // [GeV/m]
492 }
493 }
494
495 return 0.0;
496 }

The documentation for this struct was generated from the following file: