R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BTcutPar.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 R3BTCUTPAR_H
15#define R3BTCUTPAR_H 1
16
17#include "TCutG.h"
18#include "TObject.h"
19#include <Rtypes.h>
20
21class FairParamList;
22
23class R3BTcutPar : public TNamed
24{
25 public:
27 R3BTcutPar(const TString& cutname = "Cut");
28
30 virtual ~R3BTcutPar() {}
31
33 void print();
34
36 virtual void putParams(FairParamList* list);
37
39 TCutG* getParams(FairParamList* list);
40
42 TCutG* GetCut() { return fCut; }
43
44 void SetMaxPoints(UInt_t p) { fMaxPoints = p; }
45 void SetCut(TCutG* c) { fCut = c; }
46 TString GetNameObj() { return GetName(); }
47
48 private:
49 UInt_t fMaxPoints;
50 TCutG* fCut;
51
52 public:
54};
55
56#endif // R3BTCUTPAR_H
static const Double_t c
void SetMaxPoints(UInt_t p)
Definition R3BTcutPar.h:44
void print()
Method to print values of parameters.
virtual void putParams(FairParamList *list)
Method to store all parameters using FairRuntimeDB.
virtual ~R3BTcutPar()
Destructor.
Definition R3BTcutPar.h:30
TString GetNameObj()
Definition R3BTcutPar.h:46
ClassDef(R3BTcutPar, 0)
R3BTcutPar(const TString &cutname="Cut")
Default constructor.
void SetCut(TCutG *c)
Definition R3BTcutPar.h:45
TCutG * GetCut()
Accessor functions.
Definition R3BTcutPar.h:42
TCutG * getParams(FairParamList *list)
Method to retrieve all parameters using FairRuntimeDB.