Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
QATrackTask.h
1/*
2 * QATrackTask.h
3 *
4 * Created on: 14 paź 2020
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALQATRACKTASK_H_
10#define HALQATRACKTASK_H_
11
12#include "QAPlot.h"
13
14#include "TrackAna.h"
15#include <TObjArray.h>
16
21namespace Hal {
22 class QATrackTask : public TrackAna {
23 TObjArray* fEventQA;
24 QAPlot* fTempEventPlot;
25 TObjArray* fTrackQA;
26 QAPlot* fTempTrackPlot;
27 std::vector<TString> fEventColNames;
28 std::vector<TString> fTrackColNames;
29
30 protected:
31 virtual Task::EInitFlag Init();
32 virtual void ProcessEvent();
33 virtual void ProcessTrack();
34 virtual void LinkCollections();
35 virtual Package* Report() const;
36 QAPlot* GetEventQAPlot(Int_t i) const { return (QAPlot*) fEventQA->UncheckedAt(i); };
37 QAPlot* GetTrackQAPlot(Int_t i) const { return (QAPlot*) fTrackQA->UncheckedAt(i); };
38
39 public:
41 void SetEventCollectionNames(const std::initializer_list<TString>& init);
42 void SetTrackCollectionNames(const std::initializer_list<TString>& init);
43 void SetQAPlot(const QAPlot& plot);
44 virtual ~QATrackTask();
45 QATrackTask(const QATrackTask& other);
46 QATrackTask& operator=(const QATrackTask& other);
47 ClassDef(QATrackTask, 1)
48 };
49} // namespace Hal
50#endif /* HALQATRACKTASK_H_ */
virtual void ProcessEvent()
virtual void LinkCollections()
virtual Package * Report() const
virtual void ProcessTrack()
virtual Task::EInitFlag Init()