Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
PropertyMonitorX.h
1/*
2 * PropertyMonitorX.h
3 *
4 * Created on: 21 sie 2020
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALPROPERTYMONITORX_H_
10#define HALPROPERTYMONITORX_H_
11
12#include "CutMonitorX.h"
13
18namespace Hal {
20 protected:
21 TString fXaxisName;
22 TString fYaxisName;
23 EFormatType fFormatType;
24 virtual void CreateHistograms();
25
26 public:
33 PropertyMonitorX(TString xLabel = "", TString yLabel = "", ECutUpdate ratio = ECutUpdate::kEvent);
41 virtual Bool_t Init(Int_t task_id);
42 virtual Bool_t ObjMonitor() const { return kTRUE; };
43 virtual CutMonitor* MakeCopy() const { return new PropertyMonitorX(*this); };
44 virtual Package* Report() const;
45 virtual ~PropertyMonitorX();
46 ClassDef(PropertyMonitorX, 1)
47 };
48
54 const Int_t fFieldID;
55
56 public:
62 EventFieldMonitorX(Int_t fieldID = 0);
68 EventFieldMonitorX(Int_t fieldID, std::initializer_list<Double_t> xAxis);
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 EventFieldMonitorX(*this); }
72 virtual ~EventFieldMonitorX() {};
73 ClassDef(EventFieldMonitorX, 1)
74 };
75
81 const Int_t fFieldID;
82
83 public:
89 TrackFieldMonitorX(Int_t fieldID = 0);
95 TrackFieldMonitorX(Int_t fieldID, std::initializer_list<Double_t> xAxis);
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 TrackFieldMonitorX(*this); }
99 virtual ~TrackFieldMonitorX() {};
100 ClassDef(TrackFieldMonitorX, 1)
101 };
102} // namespace Hal
103#endif /* HALPROPERTYMONITORX_H_ */
virtual CutMonitor * MakeCopy() const
virtual void Update(Bool_t passed, TObject *obj)
EventFieldMonitorX(Int_t fieldID=0)
virtual Bool_t Init(Int_t task_id)
virtual Package * Report() const
virtual CutMonitor * MakeCopy() 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)
virtual Bool_t ObjMonitor() const
TrackFieldMonitorX(Int_t fieldID=0)
virtual void Update(Bool_t passed, TObject *obj)
virtual CutMonitor * MakeCopy() const
virtual Bool_t Init(Int_t task_id)