ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHFieldBeast.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHFieldBeast.h
1 #ifndef PHFIELD_PHFIELDBEAST_H
2 #define PHFIELD_PHFIELDBEAST_H
3 
4 #include "PHField.h"
5 
6 #include <string>
7 
8 class BeastMagneticField;
9 
10 class PHFieldBeast : public PHField
11 {
12  public:
13  PHFieldBeast(const std::string &filename, const int verb = 0, const float magfield_rescale = 1.0);
14  ~PHFieldBeast() override {}
19  void GetFieldValue(const double Point[4], double *Bfield) const override;
20 
21  private:
22  BeastMagneticField *m_BeastMagneticField;
24 };
25 
26 #endif // PHFIELD_PHFIELDBEAST_H