CbmRoot
Loading...
Searching...
No Matches
CbmFieldMapSym3.h
Go to the documentation of this file.
1/* Copyright (C) 2004-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Mohammad Al-Turany, Denis Bertini [committer] */
4
5// -------------------------------------------------------------------------
6// ----- CbmFieldMapSym3 header file -----
7// ----- Created 12/01/04 by M. Al/Turany (CbmField.h) -----
8// ----- Redesign 20/02/06 by V. Friese -----
9// -------------------------------------------------------------------------
10
11
29#ifndef CBMMAGFIELDMAPSYM3_H
30#define CBMMAGFIELDMAPSYM3_H 1
31
32#include "CbmFieldMap.h" // for CbmFieldMap
33
34#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
35#include <RtypesCore.h> // for Double_t, Int_t, Bool_t
36
37class CbmFieldPar;
38
40
41
42public:
45
46
51 CbmFieldMapSym3(const char* mapName, const char* fileType = "R");
52
53
56
57
59 virtual ~CbmFieldMapSym3();
60
61
66 virtual Double_t GetBx(Double_t x, Double_t y, Double_t z);
67 virtual Double_t GetBy(Double_t x, Double_t y, Double_t z);
68 virtual Double_t GetBz(Double_t x, Double_t y, Double_t z);
69
70
77 virtual Bool_t IsInside(Double_t x, Double_t y, Double_t z, Int_t& ix, Int_t& iy, Int_t& iz, Double_t& dx,
78 Double_t& dy, Double_t& dz);
79
80
81protected:
83 Double_t fHemiX, fHemiY, fHemiZ;
84
85
86 ClassDef(CbmFieldMapSym3, 1)
87};
88
89
90#endif
virtual Bool_t IsInside(Double_t x, Double_t y, Double_t z, Int_t &ix, Int_t &iy, Int_t &iz, Double_t &dx, Double_t &dy, Double_t &dz)
virtual ~CbmFieldMapSym3()
TArrayF * GetBz() const
TArrayF * GetBx() const
TArrayF * GetBy() const