GArProperties.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file GArProperties.h
3 //
4 // \brief pure virtual base interface for LAr properties
5 //
6 // \author jpaley@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef DETINFO_GArProperties_H
10 #define DETINFO_GArProperties_H
11 
12 // C/C++ standard libraries
13 #include <map>
14 #include <string>
15 
16 
17 ///General GArSoft Utilities
18 namespace gar {
19  namespace detinfo{
20 
21  class GArProperties {
22  public:
23 
24  GArProperties(const GArProperties &) = delete;
25  GArProperties(GArProperties &&) = delete;
26  GArProperties& operator = (const GArProperties &) = delete;
28  virtual ~GArProperties() = default;
29 
30  virtual double RadiationLength() const = 0;
31 
32  /// Atomic number of the gas
33  virtual double AtomicNumber() const = 0;
34 
35  /// Atomic mass of the gas (g/mol)
36  virtual double AtomicMass() const = 0;
37 
38  /// Mean excitation energy of the gas (eV)
39  virtual double ExcitationEnergy() const = 0;
40 
41  /// Fano Factor for the gas
42  virtual double FanoFactor() const = 0;
43 
44  /// Diffusion constants
45  virtual double LongitudinalDiffusion() const = 0;
46  virtual double TransverseDiffusion() const = 0;
47 
48  protected:
49  GArProperties() = default;
50 
51  }; // class GArProperties
52  } //namespace detinfo
53 } // gar
54 
55 #endif // DETINFO_IGArProperties_H
virtual double ExcitationEnergy() const =0
Mean excitation energy of the gas (eV)
virtual double AtomicNumber() const =0
Atomic number of the gas.
virtual double AtomicMass() const =0
Atomic mass of the gas (g/mol)
virtual double LongitudinalDiffusion() const =0
Diffusion constants.
virtual ~GArProperties()=default
General LArSoft Utilities.
General GArSoft Utilities.
virtual double TransverseDiffusion() const =0
GArProperties & operator=(const GArProperties &)=delete
virtual double RadiationLength() const =0
virtual double FanoFactor() const =0
Fano Factor for the gas.