R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BTsplinePar.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3 * Copyright (C) 2019-2025 Members of R3B Collaboration *
4 * *
5 * This software is distributed under the terms of the *
6 * GNU General Public Licence (GPL) version 3, *
7 * copied verbatim in the file "LICENSE". *
8 * *
9 * In applying this license GSI does not waive the privileges and immunities *
10 * granted to it by virtue of its status as an Intergovernmental Organization *
11 * or submit itself to any jurisdiction. *
12 ******************************************************************************/
13
14#ifndef R3BTSPLINEPAR_H
15#define R3BTSPLINEPAR_H 1
16
17#include "TObject.h"
18#include "TSpline.h"
19#include <Rtypes.h>
20
21class FairParamList;
22
23class R3BTsplinePar : public TNamed
24{
25 public:
27 R3BTsplinePar(const TString& name = "Spline");
28
30 virtual ~R3BTsplinePar() {}
31
33 void print();
34
36 virtual void putParams(FairParamList* list);
37
39 TSpline3* getParams(FairParamList* list);
40
42 TString GetNameObj() { return GetName(); }
43 TSpline3* GetSpline() { return fSpline; }
44
45 void SetMaxPoints(UInt_t p) { fMaxPoints = p; }
46 void SetSpline(TSpline3* c) { fSpline = c; }
47
48 private:
49 UInt_t fMaxPoints;
50 TSpline3* fSpline;
51 Double_t fxmin;
52 Double_t fxmax;
53
54 public:
56};
57
58#endif // R3BTSPLINEPAR_H
static const Double_t c
TSpline3 * getParams(FairParamList *list)
Method to retrieve all parameters using FairRuntimeDB.
virtual void putParams(FairParamList *list)
Method to store all parameters using FairRuntimeDB.
R3BTsplinePar(const TString &name="Spline")
Default constructor.
ClassDef(R3BTsplinePar, 0)
virtual ~R3BTsplinePar()
Destructor.
void SetMaxPoints(UInt_t p)
TString GetNameObj()
Accessor functions.
void print()
Method to print values of parameters.
void SetSpline(TSpline3 *c)
TSpline3 * GetSpline()