AnalysisTree
Loading...
Searching...
No Matches
UserTaskWrite.hpp
1#ifndef ANALYSISTREE_EXAMPLES_USERTASKWRITE_HPP_
2#define ANALYSISTREE_EXAMPLES_USERTASKWRITE_HPP_
3
4#include <Branch.hpp>
5#include <Detector.hpp>
6#include <Task.hpp>
7
9
10 public:
11 UserTaskWrite() = default;
12 ~UserTaskWrite() override;
13
14 void Init() override;
15 void Exec() override;
16
17 void Finish() override {
18 }
19
20 private:
21 AnalysisTree::Branch particles_;
22 AnalysisTree::Branch new_particles_;
23
24 AnalysisTree::Particles* new_particles_ptr_{nullptr};
25};
26#endif//ANALYSISTREE_EXAMPLES_USERTASKWRITE_HPP_
Definition Branch.hpp:23
Definition Detector.hpp:21
Definition Task.hpp:25
Definition UserTaskWrite.hpp:8