Jpp test-rotations-old-533-g2bdbdb559
the software that should make you happy
Loading...
Searching...
No Matches
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 433 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 441 of file JDeltaRays.hh.

442 {
443 static const double a = 3.195e-01;
444 static const double b = 3.373e-01;
445 static const double c = -2.731e-02;
446 static const double d = 1.610e-03;
447 static const double Emin = 0.13078; // [GeV]
448
449 if (E > Emin) {
450
451 const double x = log10(E);
452 const double y = a + x*(b + x*(c + x*(d))); // [MeV g^-1 cm^2]
453
454 if (y > 0.0) {
455 return y * DENSITY_SEA_WATER * 1.0e-1; // [GeV/m]
456 }
457 }
458
459 return 0.0;
460 }
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 469 of file JDeltaRays.hh.

470 {
471 static const double a = -2.178e-01;
472 static const double b = 4.995e-01;
473 static const double c = -3.906e-02;
474 static const double d = 1.615e-03;
475 static const double Emin = 2.19500; // [GeV]
476
477 if (E > Emin) {
478
479 const double x = log10(E);
480 const double y = a + x*(b + x*(c + x*(d))); // [MeV g^-1 cm^2]
481
482 if (y > 0) {
483 return y * DENSITY_SEA_WATER * 1.0e-1; // [GeV/m]
484 }
485 }
486
487 return 0.0;
488 }

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