CbmRoot
Loading...
Searching...
No Matches
CbmPsdModulesConverter.h
Go to the documentation of this file.
1/* Copyright (C) 2020-2021 Physikalisches Institut, Eberhard Karls Universitaet Tuebingen, Tuebingen
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Viktor Klochkov [committer] */
4
5#ifndef ANALYSIS_TREE_PSDMODULESCONVERTER_H_
6#define ANALYSIS_TREE_PSDMODULESCONVERTER_H_
7
8#include "CbmConverterTask.h"
9
10#include "AnalysisTree/Detector.hpp"
11
12class TClonesArray;
13
15public:
16 explicit CbmPsdModulesConverter(std::string out_branch_name, std::string match_to = "")
17 : CbmConverterTask(std::move(out_branch_name), std::move(match_to)) {};
18
20
21 void Init() final;
22 void ProcessData(CbmEvent* event) final;
23 void Finish() final;
24
25private:
26 AnalysisTree::ModuleDetector* psd_modules_ {nullptr};
27 TClonesArray* cbm_psd_hits_ {nullptr};
28
29 ClassDef(CbmPsdModulesConverter, 1)
30};
31
32#endif // ANALYSIS_TREE_PSDMODULESCONVERTER_H_
Class characterising one event by a collection of links (indices) to data objects,...
Definition CbmEvent.h:34
CbmPsdModulesConverter(std::string out_branch_name, std::string match_to="")
AnalysisTree::ModuleDetector * psd_modules_
void ProcessData(CbmEvent *event) final
Hash for CbmL1LinkKey.