Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
PropertyMonitorXY.h
1/*
2 * PropertyMonitorXY.h
3 *
4 * Created on: 04-05-2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALPROPERTYMONITORXY_H_
10#define HALPROPERTYMONITORXY_H_
11
16#include "CutMonitorXY.h"
17namespace Hal {
19
20 protected:
21 TString fXaxisName;
22 TString fYaxisName;
23 EFormatType fFormatType;
24 virtual void CreateHistograms();
25
26 public:
33 PropertyMonitorXY(TString xLabel = "", TString yLabel = "", ECutUpdate update = ECutUpdate::kEvent);
41 virtual Bool_t Init(Int_t task_id);
42 virtual Bool_t ObjMonitor() const { return kTRUE; };
43 virtual Package* Report() const;
44 virtual CutMonitor* MakeCopy() const { return (CutMonitor*) this->Clone(); };
45 virtual ~PropertyMonitorXY();
46 ClassDef(PropertyMonitorXY, 1)
47 };
48
54 const Int_t fFieldIDX;
55 const Int_t fFieldIDY;
56
57 public:
64 EventFieldMonitorXY(Int_t fieldIDX = 0, Int_t fieldIDY = 0);
65 EventFieldMonitorXY(Int_t fieldIDX,
66 std::initializer_list<Double_t> xAxis,
67 Int_t fieldIDY,
68 std::initializer_list<Double_t> yAxis);
69 virtual void Update(Bool_t passed, TObject* obj);
70 virtual Bool_t Init(Int_t task_id);
71 virtual CutMonitor* MakeCopy() const { return new EventFieldMonitorXY(*this); }
72 virtual ~EventFieldMonitorXY() {};
73 ClassDef(EventFieldMonitorXY, 1)
74 };
75
81 const Int_t fFieldIDX;
82 const Int_t fFieldIDY;
83
84 public:
91 TrackFieldMonitorXY(Int_t fieldIDX = 0, Int_t fieldIDY = 0);
92 TrackFieldMonitorXY(Int_t fieldIDX,
93 std::initializer_list<Double_t> xAxis,
94 Int_t fieldIDY,
95 std::initializer_list<Double_t> yAxis);
96 virtual void Update(Bool_t passed, TObject* obj);
97 virtual Bool_t Init(Int_t task_id);
98 virtual CutMonitor* MakeCopy() const { return new TrackFieldMonitorXY(*this); }
99 virtual ~TrackFieldMonitorXY() {};
100 ClassDef(TrackFieldMonitorXY, 1)
101 };
102} // namespace Hal
103
104#endif /* HALPROPERTYMONITORXY_H_ */
virtual Bool_t Init(Int_t task_id)
virtual void Update(Bool_t passed, TObject *obj)
EventFieldMonitorXY(Int_t fieldIDX=0, Int_t fieldIDY=0)
virtual CutMonitor * MakeCopy() const
virtual CutMonitor * MakeCopy() const
virtual Package * Report() const
PropertyMonitorXY & operator=(const PropertyMonitorXY &other)
virtual Bool_t Init(Int_t task_id)
PropertyMonitorXY(TString xLabel="", TString yLabel="", ECutUpdate update=ECutUpdate::kEvent)
virtual Bool_t ObjMonitor() const
TrackFieldMonitorXY(Int_t fieldIDX=0, Int_t fieldIDY=0)
virtual CutMonitor * MakeCopy() const
virtual Bool_t Init(Int_t task_id)
virtual void Update(Bool_t passed, TObject *obj)