Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
PropertyMonitorTemplateXYZ.cxx
1/*
2 * PropertyMonitorTemplateXYZ.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 "PropertyMonitorTemplateXYZ.h"
10
11namespace MyHal {}
12PropertyMonitorTemplateXYZ::PropertyMonitorTemplateXYZ() : PropertyMonitorXYZ(__XLABEL__, __YLABEL__, __ZLABEL__, __UPDATE__) {}
13
14PropertyMonitorTemplateXYZ::PropertyMonitorTemplateXYZ(std::initializer_list<Double_t> x,
15 std::initializer_list<Double_t> y,
16 std::initializer_list<Double_t> z) {
17 SetAxisList(x, 'x');
18 SetAxisList(y, 'y');
19 SetAxisList(z, 'z');
20}
21
22void PropertyMonitorTemplateXYZ::Update(Bool_t passed, TObject* obj) {
23 __UPDATE_METHOD__
24 if (passed) {
25 fHistoPassed->Fill(__XYZ__);
26 } else {
27 fHistoFailed->Fill(__XYX__)
28 }
29}
30
31Bool_t PropertyMonitorTemplateXYZ::Init(Int_t task_id) { return kTRUE; }
32
33PropertyMonitorTemplateXYZ::~PropertyMonitorTemplateXYZ() {}
34}