22#include <FairParamList.h>
29 : TNamed(cutname, cutname)
36 R3BLOG(info,
"called for " <<
fCut->GetN() <<
" points");
38 TArrayF* p =
new TArrayF(2);
39 for (
int n = 0; n <
fCut->GetN(); n++)
42 fCut->GetPoint(n, a[0], a[1]);
57 TArrayF* p =
new TArrayF(2);
61 if (list->fill(name, p))
65 fCut->SetPoint(n, p->GetAt(0), p->GetAt(1));
82 for (
int n = 0; n <
fCut->GetN(); n++)
85 fCut->GetPoint(n, a[0], a[1]);
86 LOG(info) <<
"CutPoint" << n <<
": " << a[0] <<
" ; " << a[1];
91 R3BLOG(warn,
"Cut parameters not found");
#define R3BLOG(severity, x)
ClassImp(R3B::Neuland::Cal2HitPar)
void print()
Method to print values of parameters.
virtual void putParams(FairParamList *list)
Method to store all parameters using FairRuntimeDB.
R3BTcutPar(const TString &cutname="Cut")
Default constructor.
TCutG * getParams(FairParamList *list)
Method to retrieve all parameters using FairRuntimeDB.