1#ifndef G_OPTICAL_DATA_H
2#define G_OPTICAL_DATA_H
19 bool IsAvailable(
const std::string& material)
const;
22 const double e,
double& cs,
double& eta);
27 static constexpr double OscToPacs = 8.067283e-18;
28 static constexpr double Mbarn = 1.e-18;
32 bool PhotoAbsorptionCsNeon(
const double e,
double& cs,
double& eta);
33 bool PhotoAbsorptionCsArgon(
const double e,
double& cs,
double& eta);
35 bool PhotoAbsorptionCsCO2(
const double e,
double& cs,
double& eta);
37 bool PhotoAbsorptionCsMethane(
const double e,
double& cs,
double& eta);
38 bool PhotoAbsorptionCsEthane(
const double e,
double& cs,
double& eta);
39 bool PhotoAbsorptionCsButane(
const double e,
double& cs,
double& eta);
40 bool PhotoAbsorptionCsAcetylene(
const double e,
double& cs,
double& eta);
41 bool PhotoAbsorptionCsCF4(
const double e,
double& cs,
double& eta);
43 bool PhotoAbsorptionCsNitrogen(
const double e,
double& cs,
double& eta);
Photoabsorption cross-sections for some gases.
~OpticalData()
Destructor.
bool GetPhotoabsorptionCrossSection(const std::string &material, const double e, double &cs, double &eta)
Photo-absorption cross-section and ionisation yield at a given energy.
bool IsAvailable(const std::string &material) const
Check whether optical data have been implemented for a given gas.
OpticalData()
Constructor.
void EnableDebugging(const bool on=true)