10#include "PropertyMonitorX.h"
12#include "ComplexEvent.h"
13#include "ComplexTrack.h"
15#include "DataFormatManager.h"
31 TH1::AddDirectory(kFALSE);
32 TString title = Form(
"%s", Hal::Std::RemoveUnits(fXaxisName).Data());
33 TString name =
"Passed";
41 TH1::AddDirectory(kTRUE);
45 CutMonitorX(), fXaxisName(xLabel), fYaxisName(yLabel), fFormatType(EFormatType::kReco) {
50 fXaxisName = other.fXaxisName;
51 fYaxisName = other.fYaxisName;
52 fFormatType = other.fFormatType;
58 Cout::PrintInfo(Form(
"%s is initialized ", this->ClassName()), EInfo::kDebugInfo);
64 TH1::AddDirectory(kFALSE);
66 TH1::AddDirectory(kTRUE);
85 fXaxisName = other.fXaxisName;
86 fYaxisName = other.fYaxisName;
87 fFormatType = other.fFormatType;
92 PropertyMonitorX::~PropertyMonitorX() {}
118 PropertyMonitorX(
"",
"N_{tracks}", ECutUpdate::kTrack), fFieldID(fieldID) {}
135 if (ev->InheritsFrom(
"Hal::ComplexEvent")) {
static void PrintInfo(TString text, Hal::EInfo status)
CutMonitorX & operator=(const CutMonitorX &other)
void SetAxisList(std::initializer_list< Double_t > axis, Char_t opt)
virtual Package * Report() const
virtual void Update(Bool_t passed, TObject *obj)
EventFieldMonitorX(Int_t fieldID=0)
virtual Bool_t Init(Int_t task_id)
virtual EFormatType GetFormatType() const
Track * GetNewTrack() const
virtual Float_t GetFieldVal(Int_t fieldID) const
virtual Event * GetNewEvent() const
virtual TString GetFieldName(Int_t fieldID) const
void AddObject(TObject *object)
virtual Package * Report() const
virtual Bool_t Init(Int_t task_id)
PropertyMonitorX(TString xLabel="", TString yLabel="", ECutUpdate ratio=ECutUpdate::kEvent)
virtual void CreateHistograms()
PropertyMonitorX & operator=(const PropertyMonitorX &other)
TrackFieldMonitorX(Int_t fieldID=0)
virtual void Update(Bool_t passed, TObject *obj)
virtual Bool_t Init(Int_t task_id)
void SetEvent(Event *event)
virtual Float_t GetFieldVal(Int_t fieldID) const
virtual TString GetFieldName(Int_t fieldID) const