EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHField.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHField.h
1 #ifndef PHFIELD_PHFIELD_H
2 #define PHFIELD_PHFIELD_H
3 
4 // units of this class. To convert internal value to Geant4/CLHEP units for fast access
5 
7 class PHField
8 {
9  public:
11  explicit PHField(const int verb = 0)
12  : m_Verbosity(verb)
13  {
14  }
15  virtual ~PHField() {}
20  virtual void GetFieldValue(
21  const double Point[4],
22  double *Bfield) const = 0;
23 
24  void Verbosity(const int i) { m_Verbosity = i; }
25  int Verbosity() const { return m_Verbosity; }
26 
27  protected:
29 };
30 
31 #endif