CbmRoot
Loading...
Searching...
No Matches
CbmConverterTask Class Referenceabstract

#include <CbmConverterTask.h>

Inheritance diagram for CbmConverterTask:
[legend]
Collaboration diagram for CbmConverterTask:
[legend]

Public Member Functions

 CbmConverterTask ()=default
 
 CbmConverterTask (std::string out_branch_name, std::string match_to="")
 
 ~CbmConverterTask () override=default
 
virtual void ProcessData (CbmEvent *event)=0
 
void Exec () final
 
const MapTypeGetOutIndexesMap () const
 
void SetIndexesMap (std::map< std::string, MapType > *indexes_map)
 
const std::string & GetOutputBranchName () const
 

Protected Attributes

MapType out_indexes_map_ {}
 CbmRoot to AnalysisTree indexes map for output branch.
 
std::string out_branch_ {}
 
std::map< std::string, MapType > * indexes_map_ {}
 from other tasks
 
std::string match_to_ {}
 AT branch to match.
 

Private Types

using MapType = std::map<int, int>
 

Detailed Description

Definition at line 18 of file CbmConverterTask.h.

Member Typedef Documentation

◆ MapType

using CbmConverterTask::MapType = std::map<int, int>
private

Definition at line 19 of file CbmConverterTask.h.

Constructor & Destructor Documentation

◆ CbmConverterTask() [1/2]

CbmConverterTask::CbmConverterTask ( )
default

◆ CbmConverterTask() [2/2]

CbmConverterTask::CbmConverterTask ( std::string out_branch_name,
std::string match_to = "" )
inlineexplicit

Definition at line 23 of file CbmConverterTask.h.

References match_to_, and out_branch_.

◆ ~CbmConverterTask()

CbmConverterTask::~CbmConverterTask ( )
overridedefault

Member Function Documentation

◆ Exec()

void CbmConverterTask::Exec ( )
inlinefinal

Definition at line 33 of file CbmConverterTask.h.

◆ GetOutIndexesMap()

const MapType & CbmConverterTask::GetOutIndexesMap ( ) const
inline

Definition at line 35 of file CbmConverterTask.h.

References out_indexes_map_.

◆ GetOutputBranchName()

const std::string & CbmConverterTask::GetOutputBranchName ( ) const
inline

Definition at line 39 of file CbmConverterTask.h.

References out_branch_.

◆ ProcessData()

◆ SetIndexesMap()

void CbmConverterTask::SetIndexesMap ( std::map< std::string, MapType > * indexes_map)
inline

Definition at line 37 of file CbmConverterTask.h.

References indexes_map_.

Member Data Documentation

◆ indexes_map_

std::map<std::string, MapType>* CbmConverterTask::indexes_map_ {}
protected

◆ match_to_

◆ out_branch_

◆ out_indexes_map_

MapType CbmConverterTask::out_indexes_map_ {}
protected

The documentation for this class was generated from the following file: