Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
PropertyMonitorXYZ.h
1/*
2 * PropertyMonitorXYZ.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 HALPROPERTYMONITORXYZ_H_
10#define HALPROPERTYMONITORXYZ_H_
11
12#include "CutMonitorXYZ.h"
13
19namespace Hal {
20
22
23 protected:
24 TString fXaxisName;
25 TString fYaxisName;
26 TString fZaxisName;
27 EFormatType fFormatType;
28 virtual void CreateHistograms();
29
30 public:
38 PropertyMonitorXYZ(TString xLabel = "", TString yLabel = "", TString zLabel = "", ECutUpdate update = ECutUpdate::kEvent);
46 virtual Bool_t Init(Int_t task_id);
47 virtual Bool_t ObjMonitor() const { return kTRUE; };
48 virtual Package* Report() const;
49 virtual CutMonitor* MakeCopy() const { return (CutMonitor*) this->Clone(); };
50 virtual ~PropertyMonitorXYZ();
51 ClassDef(PropertyMonitorXYZ, 1)
52 };
53
58 const Int_t fFieldIDX;
59 const Int_t fFieldIDY;
60 const Int_t fFieldIDZ;
61
62 public:
70 EventFieldMonitorXYZ(Int_t fieldIDX = 0, Int_t fieldDY = 0, Int_t fieldDZ = 0);
71 EventFieldMonitorXYZ(Int_t fieldIDX,
72 std::initializer_list<Double_t> xAxis,
73 Int_t fieldDY,
74 std::initializer_list<Double_t> yAxis,
75 Int_t fieldDZ,
76 std::initializer_list<Double_t> zAxis);
77 virtual void Update(Bool_t passed, TObject* obj);
78 virtual Bool_t Init(Int_t task_id);
79 virtual CutMonitor* MakeCopy() const { return new EventFieldMonitorXYZ(*this); }
80 virtual ~EventFieldMonitorXYZ() {};
81 ClassDef(EventFieldMonitorXYZ, 1)
82 };
83
84
89 const Int_t fFieldIDX;
90 const Int_t fFieldIDY;
91 const Int_t fFieldIDZ;
92
93 public:
101 TrackFieldMonitorXYZ(Int_t fieldIDX = 0, Int_t fieldDY = 0, Int_t fieldDZ = 0);
102 TrackFieldMonitorXYZ(Int_t fieldIDX,
103 std::initializer_list<Double_t> xAxis,
104 Int_t fieldDY,
105 std::initializer_list<Double_t> yAxis,
106 Int_t fieldDZ,
107 std::initializer_list<Double_t> zAxis);
108 virtual void Update(Bool_t passed, TObject* obj);
109 virtual Bool_t Init(Int_t task_id);
110 virtual CutMonitor* MakeCopy() const { return new TrackFieldMonitorXYZ(*this); }
111 virtual ~TrackFieldMonitorXYZ() {};
112 ClassDef(TrackFieldMonitorXYZ, 1)
113 };
114} // namespace Hal
115#endif /* HALPROPERTYMONITORXYZ_H_ */
virtual void Update(Bool_t passed, TObject *obj)
virtual CutMonitor * MakeCopy() const
virtual Bool_t Init(Int_t task_id)
EventFieldMonitorXYZ(Int_t fieldIDX=0, Int_t fieldDY=0, Int_t fieldDZ=0)
PropertyMonitorXYZ(TString xLabel="", TString yLabel="", TString zLabel="", ECutUpdate update=ECutUpdate::kEvent)
virtual Bool_t Init(Int_t task_id)
PropertyMonitorXYZ & operator=(const PropertyMonitorXYZ &other)
virtual CutMonitor * MakeCopy() const
virtual Bool_t ObjMonitor() const
virtual Package * Report() const
virtual void Update(Bool_t passed, TObject *obj)
TrackFieldMonitorXYZ(Int_t fieldIDX=0, Int_t fieldDY=0, Int_t fieldDZ=0)
virtual CutMonitor * MakeCopy() const
virtual Bool_t Init(Int_t task_id)