BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnConstPar.h
Go to the documentation of this file.
1#ifndef BMNCONSTPAR_H
2#define BMNCONSTPAR_H 1
3
4#include "BmnFieldMap.h"
5#include "BmnMapPar.h"
6
7class FairParamList;
8
9class BmnConstPar : public BmnMapPar
10{
11
12 public:
13 /** Standard constructor **/
14 BmnConstPar(const char* name, const char* title, const char* context);
15
16 /** default constructor **/
18
19 /** Destructor **/
21
22 void putParams(FairParamList* list);
23
24 /** Get parameters **/
25 Bool_t getParams(FairParamList* list);
26
27 /** Set parameters from FairField **/
29
30 Double_t GetBx() const { return fBx; }
31 Double_t GetBy() const { return fBy; }
32 Double_t GetBz() const { return fBz; }
33
34 protected:
35 /** Field values in [kG] **/
37
39};
40
41#endif
bool Bool_t
double Double_t
#define ClassDef(name, id)
void SetParameters(FairField *field)
Set parameters from FairField.
void putParams(FairParamList *list)
Put parameters.
Double_t fBy
Definition BmnConstPar.h:36
~BmnConstPar()
Destructor.
Double_t fBx
Field values in [kG].
Definition BmnConstPar.h:36
Double_t GetBx() const
Definition BmnConstPar.h:30
BmnConstPar()
default constructor
Double_t fBz
Definition BmnConstPar.h:36
BmnConstPar(const char *name, const char *title, const char *context)
Standard constructor.
Bool_t getParams(FairParamList *list)
Get parameters.
Double_t GetBz() const
Definition BmnConstPar.h:32
Double_t GetBy() const
Definition BmnConstPar.h:31