Jpp  17.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
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. More...
 
virtual ~JRadiationInterface ()
 Virtual destructor. More...
 
int getID () const
 Get radiation identifer. More...
 
virtual double getInverseInteractionLength (const double E) const =0
 Get inverse interaction length. More...
 
virtual double getEnergyOfShower (const double E) const =0
 Get energy of shower. More...
 
virtual double getThetaRMS (const double E, const double Es) const =0
 Get RMS of scattering angle. More...
 

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

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

Constructor.

Parameters
idradiation identifier

Definition at line 33 of file JRadiationSource.hh.

33  :
34  id(id)
35  {}
virtual JPHYSICS::JRadiationInterface::~JRadiationInterface ( )
inlinevirtual

Virtual destructor.

Definition at line 40 of file JRadiationSource.hh.

41  {}

Member Function Documentation

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

Get radiation identifer.

Returns
identifier

Definition at line 48 of file JRadiationSource.hh.

49  {
50  return id;
51  }
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.

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.

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

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: