ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4BirksLaw.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LArG4BirksLaw_h_
6#define LArG4BirksLaw_h_
7
9
10 public:
11
12 // Constructor. Set the density of liquid argon and the Birk's law
13 // constant K:
14
15 LArG4BirksLaw(double density, double k):
16 m_LArDensity(density), m_BirksLawK(k) {}
17
18 // Get the K factor
19 double k() const { return m_BirksLawK;}
20
21 // Get the LAr Density
22 double LArDensity() const { return m_LArDensity;}
23
24 //
25 // Function call operator
26 //
27 double operator () (double dEMeV, double dXCm, double EFieldKVPerCm) const;
28
29
30 private:
31
32 // Density: g/cm^3
33 double m_LArDensity;
34
35 // Birk's K kV/cm g/(cm^2 MeV)
37
38};
39
40#endif
double m_LArDensity
LArG4BirksLaw(double density, double k)
double LArDensity() const
double operator()(double dEMeV, double dXCm, double EFieldKVPerCm) const
double k() const