Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
PropertyMonitorTemplateXY.cxx
1/*
2 * PropertyMonitorTemplateXY.cxx
3 *
4 * Created on: 23 wrz 2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#include "PropertyMonitorTemplateXY.h"
10
11namespace MyHal {
12 PropertyMonitorTemplateXY::PropertyMonitorTemplateXY() : PropertyMonitorXY(__XLABEL__, __YLABEL__, __UPDATE__) {}
13
14 PropertyMonitorTemplateXY::PropertyMonitorTemplateXY(std::initializer_list<Double_t> x, std::initializer_list<Double_t> y) :
15 PropertyMonitorTemplateXY() {
16 SetAxisList(x, 'x');
17 SetAxisList(y, 'y');
18 }
19
20 void PropertyMonitorTemplateXY::Update(Bool_t passed, TObject* obj) {
21 __UPDATE_METHOD__
22 if (passed) {
23 fHistoPassed->Fill(__XYZ__);
24 } else {
25 fHistoFailed->Fill(__XYX__)
26 }
27 }
28
29 Bool_t PropertyMonitorTemplateXY::Init(Int_t task_id) { return kTRUE; }
30
31 PropertyMonitorTemplateXY::~PropertyMonitorTemplateXY() {}
32
33} // namespace MyHal