5#ifndef ANALYSIS_TREE_CONVERTERMANAGER_H_
6#define ANALYSIS_TREE_CONVERTERMANAGER_H_
9#include <FairRootManager.h>
13#include "AnalysisTree/TaskManager.hpp"
30 InitStatus
Init()
override;
31 void Exec(Option_t* opt)
override;
42 task_manager_->SetOutputName(std::move(file), std::move(tree));
47 auto* ioman = FairRootManager::Instance();
48 events_ = (TClonesArray*) ioman->GetObject(
"CbmEvent");
56 AnalysisTree::TaskManager*
task_manager_ {AnalysisTree::TaskManager::GetInstance()};
62 std::vector<CbmConverterTask*>
tasks_ {};
void Exec(Option_t *opt) override
void AddTask(CbmConverterTask *task)
std::map< std::string, std::map< int, int > > index_map_
map CbmRoot to AT of indexes for a given branch
AnalysisTree::TaskManager * task_manager_
InitStatus Init() override
~CbmConverterManager() override
void SetBeamMomentum(float beam_mom)
void SetSystem(const std::string &system)
std::vector< CbmConverterTask * > tasks_
void SetOutputName(std::string file, std::string tree="rTree")
void SetTimeSliceLength(float ts_length)
CbmConverterManager()=default
void ProcessData(CbmEvent *event)
Class characterising one event by a collection of links (indices) to data objects,...