Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JPHYSICS::JRadiationInterface Class Referenceabstract

Interface for calculation of inverse interaction length and shower energy. More...

#include <JRadiationSource.hh>

Inheritance diagram for JPHYSICS::JRadiationInterface:
JPHYSICS::JDISSource JPHYSICS::JRadiationSource

Public Member Functions

 JRadiationInterface (const int id)
 Constructor.
 
virtual ~JRadiationInterface ()
 Virtual destructor.
 
int getID () const
 Get radiation identifer.
 
virtual double getInverseInteractionLength (const double E) const =0
 Get inverse interaction length.
 
virtual double getEnergyOfShower (const double E) const =0
 Get energy of shower.
 
virtual double getThetaRMS (const double E, const double Es) const =0
 Get RMS of scattering angle.
 

Private Attributes

const int id
 

Detailed Description

Interface for calculation of inverse interaction length and shower energy.

Definition at line 26 of file JRadiationSource.hh.

Constructor & Destructor Documentation

◆ JRadiationInterface()

JPHYSICS::JRadiationInterface::JRadiationInterface ( const int id)
inline

Constructor.

Parameters
idradiation identifier

Definition at line 33 of file JRadiationSource.hh.

33 :
34 id(id)
35 {}

◆ ~JRadiationInterface()

virtual JPHYSICS::JRadiationInterface::~JRadiationInterface ( )
inlinevirtual

Virtual destructor.

Definition at line 40 of file JRadiationSource.hh.

41 {}

Member Function Documentation

◆ getID()

int JPHYSICS::JRadiationInterface::getID ( ) const
inline

Get radiation identifer.

Returns
identifier

Definition at line 48 of file JRadiationSource.hh.

49 {
50 return id;
51 }

◆ getInverseInteractionLength()

virtual double JPHYSICS::JRadiationInterface::getInverseInteractionLength ( const double E) const
pure virtual

Get inverse interaction length.

Parameters
Emuon energy [GeV]
Returns
inverse interaction length [m^-1]

Implemented in JPHYSICS::JDISSource, and JPHYSICS::JRadiationSource.

◆ getEnergyOfShower()

virtual double JPHYSICS::JRadiationInterface::getEnergyOfShower ( const double E) const
pure virtual

Get energy of shower.

Parameters
Emuon energy [GeV]
Returns
shower energy [GeV]

Implemented in JPHYSICS::JDISSource, and JPHYSICS::JRadiationSource.

◆ getThetaRMS()

virtual double JPHYSICS::JRadiationInterface::getThetaRMS ( const double E,
const double Es ) const
pure virtual

Get RMS of scattering angle.

Parameters
Emuon energy [GeV]
Esshower energy [GeV]
Returns
RMS scattering angle [rad]

Implemented in JPHYSICS::JDISSource, and JPHYSICS::JRadiationSource.

Member Data Documentation

◆ id

const int JPHYSICS::JRadiationInterface::id
private

Definition at line 79 of file JRadiationSource.hh.


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