Garfield++ v1r0
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
10
11 public:
12 // Constructor
13 OpticalData() : debug(false) {}
14 // Destructor
16
17 bool IsAvailable(const std::string material) const;
18
19 bool GetPhotoabsorptionCrossSection(const std::string material,
20 const double e, double& cs, double& eta);
21
22 void EnableDebugging() { debug = true; }
23 void DisableDebugging() { debug = false; }
24
25 private:
26 bool debug;
27
28 bool PhotoAbsorptionCsNeon(const double e, double& cs, double& eta);
29 bool PhotoAbsorptionCsArgon(const double e, double& cs, double& eta);
30
31 bool PhotoAbsorptionCsCO2(const double e, double& cs, double& eta);
32
33 bool PhotoAbsorptionCsMethane(const double e, double& cs, double& eta);
34 bool PhotoAbsorptionCsEthane(const double e, double& cs, double& eta);
35 bool PhotoAbsorptionCsButane(const double e, double& cs, double& eta);
36 bool PhotoAbsorptionCsAcetylene(const double e, double& cs, double& eta);
37 bool PhotoAbsorptionCsCF4(const double e, double& cs, double& eta);
38
39 bool PhotoAbsorptionCsNitrogen(const double e, double& cs, double& eta);
40};
41}
42
43#endif
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