8#include "CutMonitorX.h"
20 CutMonitorX::CutMonitorX() : CutMonitor(1) {}
22 CutMonitorX::CutMonitorX(TString cut_name, Int_t parameter_no, std::initializer_list<Double_t> list) :
24 auto vec = Hal::Std::GetVector(list);
25 if (vec.size() < 3)
return;
29 CutMonitorX::CutMonitorX(TString cut_name, Int_t parameter_no) :
CutMonitorX() {
AddCut(cut_name, parameter_no); }
51 CutMonitorX::~CutMonitorX() {}
62 TString title = Form(
"%s", Hal::Std::RemoveUnits(
fCut[0]->GetUnit(
fOptionAxis[0])).Data());
63 TString name =
"Passed";
68 y_axis_name = y_axis_name +
"/";
69 y_axis_name = y_axis_name + Hal::Std::RemoveUnits(y_axis_name_units);
CutMonitorX & operator=(const CutMonitorX &other)
virtual CutMonitor * MakeCopy() const
virtual Bool_t Init(Int_t task_id)
virtual void Update(Bool_t passed, TObject *obj)
virtual void CreateHistograms()
CutMonitor & operator=(const CutMonitor &other)
void AddCut(TString cut, Int_t parameter_no=0)
virtual Bool_t Init(Int_t task_id)
void SetXaxis(Int_t bins, Double_t min, Double_t max)
TString GetGroupFlag() const
TString GetUnit(Int_t i) const