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