22#include "FairLogger.h"
23#include "FairParamList.h"
30 : TNamed(cutname, cutname)
39 R3BLOG(info,
"called for " << fCut->GetN() <<
" points");
41 TArrayF* p =
new TArrayF(2);
42 for (
int n = 0; n < fCut->GetN(); n++)
45 fCut->GetPoint(n, a[0], a[1]);
60 TArrayF* p =
new TArrayF(2);
61 for (
int n = 0; n < fMaxPoints; n++)
64 if (list->fill(name, p))
68 fCut->SetPoint(n, p->GetAt(0), p->GetAt(1));
84 R3BLOG(info,
"for " << fCut->GetName());
85 for (
int n = 0; n < fCut->GetN(); n++)
88 fCut->GetPoint(n, a[0], a[1]);
89 LOG(info) <<
"CutPoint" << n <<
": " << a[0] <<
" ; " << a[1];
94 R3BLOG(warn,
"Cut parameters not found");
#define R3BLOG(severity, x)
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.