R3BROOT
R3B analysis software
Toggle main menu visibility
Loading...
Searching...
No Matches
R3BTsplinePar.h
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3
* Copyright (C) 2022-2026 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
#pragma once
15
16
#include <Rtypes.h>
17
#include <TNamed.h>
18
#include <TSpline.h>
19
20
class
FairParamList;
21
22
class
R3BTsplinePar
:
public
TNamed
23
{
24
public
:
26
R3BTsplinePar
(
const
TString& name =
"Spline"
);
27
29
virtual
~R3BTsplinePar
() {}
30
32
void
print
();
33
35
virtual
void
putParams
(FairParamList* list);
36
38
TSpline3*
getParams
(FairParamList* list);
39
41
TString
GetNameObj
() {
return
GetName(); }
42
TSpline3*
GetSpline
() {
return
fSpline
; }
43
44
void
SetMaxPoints
(UInt_t p) {
fMaxPoints
= p; }
45
void
SetSpline
(TSpline3* c) {
fSpline
= c; }
46
47
private
:
48
UInt_t
fMaxPoints
;
49
TSpline3*
fSpline
;
50
Double_t
fxmin
;
51
Double_t
fxmax
;
52
53
public
:
54
ClassDef
(
R3BTsplinePar
, 0);
// NOLINT
55
};
R3BTsplinePar::getParams
TSpline3 * getParams(FairParamList *list)
Method to retrieve all parameters using FairRuntimeDB.
Definition
R3BTsplinePar.cxx:70
R3BTsplinePar::putParams
virtual void putParams(FairParamList *list)
Method to store all parameters using FairRuntimeDB.
Definition
R3BTsplinePar.cxx:41
R3BTsplinePar::R3BTsplinePar
R3BTsplinePar(const TString &name="Spline")
Default constructor.
Definition
R3BTsplinePar.cxx:30
R3BTsplinePar::fxmax
Double_t fxmax
Definition
R3BTsplinePar.h:51
R3BTsplinePar::ClassDef
ClassDef(R3BTsplinePar, 0)
R3BTsplinePar::~R3BTsplinePar
virtual ~R3BTsplinePar()
Destructor.
Definition
R3BTsplinePar.h:29
R3BTsplinePar::SetMaxPoints
void SetMaxPoints(UInt_t p)
Definition
R3BTsplinePar.h:44
R3BTsplinePar::GetNameObj
TString GetNameObj()
Accessor functions.
Definition
R3BTsplinePar.h:41
R3BTsplinePar::print
void print()
Method to print values of parameters.
Definition
R3BTsplinePar.cxx:97
R3BTsplinePar::fMaxPoints
UInt_t fMaxPoints
Definition
R3BTsplinePar.h:48
R3BTsplinePar::fxmin
Double_t fxmin
Definition
R3BTsplinePar.h:50
R3BTsplinePar::fSpline
TSpline3 * fSpline
Definition
R3BTsplinePar.h:49
R3BTsplinePar::SetSpline
void SetSpline(TSpline3 *c)
Definition
R3BTsplinePar.h:45
R3BTsplinePar::GetSpline
TSpline3 * GetSpline()
Definition
R3BTsplinePar.h:42
r3bbase
R3BTsplinePar.h
Generated by
1.18.0