CbmRoot
Loading...
Searching...
No Matches
CbmFieldMapSym1.h
Go to the documentation of this file.
1/* Copyright (C) 2008-2020 Justus-Liebig-Universitaet Giessen, Giessen
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Elena Litvinenko, Elena Lebedeva [committer] */
4
5// -------------------------------------------------------------------------
6// ----- CbmFieldMapSym1 header file -----
7// ----- Created 22/09/08 by E.Litvinenko -----
8// -------------------------------------------------------------------------
9
10
27#ifndef CBMMAGFIELDMAPSYM1_H
28#define CBMMAGFIELDMAPSYM1_H 1
29
30#include "CbmFieldMap.h" // for CbmFieldMap
31
32#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
33#include <RtypesCore.h> // for Double_t, Int_t, Bool_t
34
35class CbmFieldPar;
36
38
39
40public:
43
44
49 CbmFieldMapSym1(const char* mapName, const char* fileType = "R");
50
51
54
55
57 virtual ~CbmFieldMapSym1();
58
59
64 virtual Double_t GetBx(Double_t x, Double_t y, Double_t z);
65 virtual Double_t GetBy(Double_t x, Double_t y, Double_t z);
66 virtual Double_t GetBz(Double_t x, Double_t y, Double_t z);
67
68
75 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,
76 Double_t& dy, Double_t& dz);
77
78
79protected:
80 // Hemispheres of a point (for temporary use)
81 Double_t fHemiX;
82
83
84 ClassDef(CbmFieldMapSym1, 1)
85};
86
87
88#endif
virtual ~CbmFieldMapSym1()
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)
TArrayF * GetBz() const
TArrayF * GetBx() const
TArrayF * GetBy() const