R3BROOT
R3B analysis software
Toggle main menu visibility
Loading...
Searching...
No Matches
R3BTcutPar.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 <TCutG.h>
18
#include <TNamed.h>
19
20
class
FairParamList;
21
22
static
constexpr
UInt_t
kMaxPoints
= 40;
// NOLINT
23
24
class
R3BTcutPar
:
public
TNamed
25
{
26
public
:
28
R3BTcutPar
(
const
TString& cutname =
"Cut"
);
29
31
virtual
~R3BTcutPar
() {}
32
34
void
print
();
35
37
virtual
void
putParams
(FairParamList* list);
38
40
TCutG*
getParams
(FairParamList* list);
41
43
TCutG*
GetCut
() {
return
fCut
; }
44
45
void
SetMaxPoints
(UInt_t p) {
fMaxPoints
= p; }
46
void
SetCut
(TCutG* c) {
fCut
= c; }
47
TString
GetNameObj
() {
return
GetName(); }
48
49
private
:
50
UInt_t
fMaxPoints
=
kMaxPoints
;
51
TCutG*
fCut
=
nullptr
;
52
53
public
:
54
ClassDef
(
R3BTcutPar
, 0);
// NOLINT
55
};
kMaxPoints
static constexpr UInt_t kMaxPoints
Definition
R3BTcutPar.h:22
R3BTcutPar::SetMaxPoints
void SetMaxPoints(UInt_t p)
Definition
R3BTcutPar.h:45
R3BTcutPar::print
void print()
Method to print values of parameters.
Definition
R3BTcutPar.cxx:77
R3BTcutPar::putParams
virtual void putParams(FairParamList *list)
Method to store all parameters using FairRuntimeDB.
Definition
R3BTcutPar.cxx:34
R3BTcutPar::~R3BTcutPar
virtual ~R3BTcutPar()
Destructor.
Definition
R3BTcutPar.h:31
R3BTcutPar::GetNameObj
TString GetNameObj()
Definition
R3BTcutPar.h:47
R3BTcutPar::fMaxPoints
UInt_t fMaxPoints
Definition
R3BTcutPar.h:50
R3BTcutPar::ClassDef
ClassDef(R3BTcutPar, 0)
R3BTcutPar::R3BTcutPar
R3BTcutPar(const TString &cutname="Cut")
Default constructor.
Definition
R3BTcutPar.cxx:28
R3BTcutPar::SetCut
void SetCut(TCutG *c)
Definition
R3BTcutPar.h:46
R3BTcutPar::GetCut
TCutG * GetCut()
Accessor functions.
Definition
R3BTcutPar.h:43
R3BTcutPar::getParams
TCutG * getParams(FairParamList *list)
Method to retrieve all parameters using FairRuntimeDB.
Definition
R3BTcutPar.cxx:53
R3BTcutPar::fCut
TCutG * fCut
Definition
R3BTcutPar.h:51
r3bbase
R3BTcutPar.h
Generated by
1.18.0