Garfield++ v2r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
OpticalData.hh
Go to the documentation of this file.
1#ifndef G_OPTICAL_DATA_H
2#define G_OPTICAL_DATA_H
3
4#include <string>
5#include <vector>
6
7namespace Garfield {
8
9/// Photoabsorption cross-sections for some gases.
10
12
13 public:
14 // Constructor
15 OpticalData() : debug(false) {}
16 // Destructor
18
19 bool IsAvailable(const std::string material) const;
20
21 bool GetPhotoabsorptionCrossSection(const std::string material,
22 const double e, double& cs, double& eta);
23
24 void EnableDebugging() { debug = true; }
25 void DisableDebugging() { debug = false; }
26
27 private:
28 bool debug;
29
30 bool PhotoAbsorptionCsNeon(const double e, double& cs, double& eta);
31 bool PhotoAbsorptionCsArgon(const double e, double& cs, double& eta);
32
33 bool PhotoAbsorptionCsCO2(const double e, double& cs, double& eta);
34
35 bool PhotoAbsorptionCsMethane(const double e, double& cs, double& eta);
36 bool PhotoAbsorptionCsEthane(const double e, double& cs, double& eta);
37 bool PhotoAbsorptionCsButane(const double e, double& cs, double& eta);
38 bool PhotoAbsorptionCsAcetylene(const double e, double& cs, double& eta);
39 bool PhotoAbsorptionCsCF4(const double e, double& cs, double& eta);
40
41 bool PhotoAbsorptionCsNitrogen(const double e, double& cs, double& eta);
42};
43}
44
45#endif
Photoabsorption cross-sections for some gases.
Definition: OpticalData.hh:11
bool GetPhotoabsorptionCrossSection(const std::string material, const double e, double &cs, double &eta)
Definition: OpticalData.cc:30
bool IsAvailable(const std::string material) const
Definition: OpticalData.cc:10