CbmRoot
Loading...
Searching...
No Matches
CbmFieldMapData.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese, Denis Bertini [committer] */
4
5// -------------------------------------------------------------------------
6// ----- CbmFieldMapData header file -----
7// ----- V. Friese 13/02/06 -----
8// -------------------------------------------------------------------------
9
10
23#ifndef CBMMAGFIELDMAPDATA_H
24#define CBMMAGFIELDMAPDATA_H
25
26#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
27#include <RtypesCore.h> // for Double_t, Int_t
28#include <TNamed.h> // for TNamed
29
30class TArrayF;
31class CbmFieldMap;
32
33class CbmFieldMapData : public TNamed {
34
35public:
38
39
41 CbmFieldMapData(const char* name);
42
43
45 CbmFieldMapData(const char* name, const CbmFieldMap& map);
46
47
49 virtual ~CbmFieldMapData();
50
51
53 Int_t GetType() const { return fType; }
54 Double_t GetXmin() const { return fXmin; }
55 Double_t GetYmin() const { return fYmin; }
56 Double_t GetZmin() const { return fZmin; }
57 Double_t GetXmax() const { return fXmax; }
58 Double_t GetYmax() const { return fYmax; }
59 Double_t GetZmax() const { return fZmax; }
60 Int_t GetNx() const { return fNx; }
61 Int_t GetNy() const { return fNy; }
62 Int_t GetNz() const { return fNz; }
63
64
66 TArrayF* GetBx() const { return fBx; }
67 TArrayF* GetBy() const { return fBy; }
68 TArrayF* GetBz() const { return fBz; }
69
70
71private:
73 Int_t fType;
74
76 Double_t fXmin, fXmax;
77 Double_t fYmin, fYmax;
78 Double_t fZmin, fZmax;
79
80
82 Int_t fNx, fNy, fNz;
83
84
86 TArrayF* fBx;
87 TArrayF* fBy;
88 TArrayF* fBz;
89
92
93 ClassDef(CbmFieldMapData, 1)
94};
95
96
97#endif
Double_t GetZmin() const
Double_t GetXmax() const
TArrayF * GetBz() const
CbmFieldMapData & operator=(const CbmFieldMapData &)
Int_t GetNz() const
TArrayF * GetBy() const
Double_t GetYmax() const
Int_t GetNy() const
Int_t GetType() const
Int_t GetNx() const
virtual ~CbmFieldMapData()
CbmFieldMapData(const CbmFieldMapData &)
Double_t GetYmin() const
Double_t GetZmax() const
Double_t GetXmin() const
TArrayF * GetBx() const