Jpp test-rotations-old-533-g2bdbdb559
the software that should make you happy
Loading...
Searching...
No Matches
JPHYSICS::JDeltaRays::JFormFactor Struct Reference

Auxiliary class for 2nd order polynomial form factor. More...

#include <JDeltaRays.hh>

Public Member Functions

 JFormFactor (const double a, const double b, const double c)
 Constructor.
 
double operator() (const double T) const
 Get form factor for given delta-ray kinetic energy.
 

Private Attributes

double a
 2nd order polynomial coefficient [GeV^-2]
 
double b
 1st order polynomial coefficient [GeV^-1]
 
double c
 0th order polynomial coefficient [unit]
 

Detailed Description

Auxiliary class for 2nd order polynomial form factor.

Definition at line 95 of file JDeltaRays.hh.

Constructor & Destructor Documentation

◆ JFormFactor()

JPHYSICS::JDeltaRays::JFormFactor::JFormFactor ( const double a,
const double b,
const double c )
inline

Constructor.

Parameters
a2nd order polynomial coefficient [GeV^-2]
b1st order polynomial coefficient [GeV^-1]
c0th order polynomial coefficient [unit]

Definition at line 104 of file JDeltaRays.hh.

106 :
107 a(a),
108 b(b),
109 c(c)
110 {}
double c
0th order polynomial coefficient [unit]
double b
1st order polynomial coefficient [GeV^-1]
double a
2nd order polynomial coefficient [GeV^-2]

Member Function Documentation

◆ operator()()

double JPHYSICS::JDeltaRays::JFormFactor::operator() ( const double T) const
inline

Get form factor for given delta-ray kinetic energy.

Parameters
Tdelta-ray kinetic energy [GeV]
Returns
form factor [unit]

Definition at line 119 of file JDeltaRays.hh.

120 {
121 return c + T*(b + T*a);
122 }

Member Data Documentation

◆ a

double JPHYSICS::JDeltaRays::JFormFactor::a
private

2nd order polynomial coefficient [GeV^-2]

Definition at line 126 of file JDeltaRays.hh.

◆ b

double JPHYSICS::JDeltaRays::JFormFactor::b
private

1st order polynomial coefficient [GeV^-1]

Definition at line 127 of file JDeltaRays.hh.

◆ c

double JPHYSICS::JDeltaRays::JFormFactor::c
private

0th order polynomial coefficient [unit]

Definition at line 128 of file JDeltaRays.hh.


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