Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
MagField.h
1/*
2 * Field.h
3 *
4 * Created on: 5 maj 2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HAL_ANALYSIS_BASE_STEER_HALFIELD_H_
10#define HAL_ANALYSIS_BASE_STEER_HALFIELD_H_
11
12#include <TObject.h>
13#include <TVector3.h>
14
18namespace Hal {
19 class MagField : public TObject {
20 public:
21 MagField();
29 virtual TVector3 GetField(Double_t /*x*/, Double_t /*y*/, Double_t /*z*/) const { return TVector3(0, 0, 0); }
33 void GetFieldValue(const Double_t point[3], Double_t* bFiel) const;
34 virtual ~MagField();
35 ClassDef(MagField, 1)
36 };
37} // namespace Hal
38#endif /* HAL_ANALYSIS_BASE_STEER_HALFIELD_H_ */
void GetFieldValue(const Double_t point[3], Double_t *bFiel) const
Definition MagField.cxx:19
virtual TVector3 GetField(Double_t, Double_t, Double_t) const
Definition MagField.h:29