Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
QAEventTask.h
1/*
2 * QAEventTask.h
3 *
4 * Created on: 05-05-2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALQAEVENTTASK_H_
10#define HALQAEVENTTASK_H_
11
12#include "QAPlot.h"
13
14#include "EventAna.h"
15
16#include <TObjArray.h>
17
18
24namespace Hal {
25 class QAEventTask : public EventAna {
26 TObjArray* fEventQA;
27 QAPlot* fTempEventPlot;
28 std::vector<TString> fEventColNames;
29
30 protected:
31 QAPlot* GetQAPlot(Int_t i) const { return (QAPlot*) fEventQA->UncheckedAt(i); };
32 virtual Task::EInitFlag Init();
33 virtual void ProcessEvent();
34 virtual Package* Report() const;
35
36 public:
38 void SetEventCollectionNames(const std::initializer_list<TString>& init);
39 void SetQAPlot(const QAPlot& plot);
40 virtual ~QAEventTask();
41 QAEventTask(const QAEventTask& other);
42 QAEventTask& operator=(const QAEventTask& other);
43 ClassDef(QAEventTask, 1)
44 };
45} // namespace Hal
46#endif /* HALQAEVENTTASK_H_ */
virtual Task::EInitFlag Init()
virtual Package * Report() const
virtual void ProcessEvent()