PandaRoot
PndConstPar.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
21 #ifndef PNDCONSTPAR_H
22 #define PNDCONSTPAR_H 1
23 #include "PndMapPar.h"
24 class FairParamList;
25 
26 class PndConstPar : public PndMapPar {
27 
28  public:
30  PndConstPar(const char *name, const char *title, const char *context);
31 
33  PndConstPar();
34 
36  ~PndConstPar();
37 
38  void putParams(FairParamList *list);
39 
41  Bool_t getParams(FairParamList *list);
42 
44  void SetParameters(FairField *field);
45 
46  Double_t GetBx() const { return fBx; }
47  Double_t GetBy() const { return fBy; }
48  Double_t GetBz() const { return fBz; }
49 
50  protected:
52  Double_t fBx, fBy, fBz;
53 
55 };
56 
57 #endif
Double_t fBy
Definition: PndConstPar.h:52
Bool_t getParams(FairParamList *list)
Double_t fBx
Definition: PndConstPar.h:52
ClassDef(PndConstPar, 1)
Double_t GetBy() const
Definition: PndConstPar.h:47
Double_t GetBx() const
Definition: PndConstPar.h:46
void putParams(FairParamList *list)
void SetParameters(FairField *field)
Double_t fBz
Definition: PndConstPar.h:52
Double_t GetBz() const
Definition: PndConstPar.h:48