CbmRoot
Loading...
Searching...
No Matches
CbmRichRingsConverter.h
Go to the documentation of this file.
1
/* Copyright (C) 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_RICHRINGSCONVERTER_H_
6
#define ANALYSIS_TREE_RICHRINGSCONVERTER_H_
7
8
#include "
CbmConverterTask.h
"
9
10
#include "AnalysisTree/Detector.hpp"
11
12
class
TClonesArray;
13
14
namespace
AnalysisTree
15
{
16
class
Matching;
17
}
18
19
class
CbmRichRingsConverter
final :
public
CbmConverterTask
{
20
public
:
21
explicit
CbmRichRingsConverter
(std::string out_branch_name, std::string match_to =
""
)
22
:
CbmConverterTask
(
std
::move(out_branch_name),
std
::move(match_to)) {};
23
24
~CbmRichRingsConverter
() final;
25
26
void
Init
() final;
27
void
ProcessData
(
CbmEvent
* event) final;
28
void
Finish
() final {};
29
30
private
:
31
TClonesArray*
cbm_global_tracks_
{
nullptr
};
32
TClonesArray*
cbm_rich_rings_
{
nullptr
};
33
34
AnalysisTree::HitDetector*
rich_rings_
{
nullptr
};
35
AnalysisTree::Matching*
vtx_tracks_2_rich_
{
nullptr
};
36
37
int
i_r_
{AnalysisTree::UndefValueInt};
38
int
i_n_hits_
{AnalysisTree::UndefValueInt};
39
int
i_axis_
{AnalysisTree::UndefValueInt};
40
int
i_center_
{AnalysisTree::UndefValueInt};
41
int
i_chi2_
{AnalysisTree::UndefValueInt};
42
int
i_radial_angle_
{AnalysisTree::UndefValueInt};
43
int
i_radial_pos_
{AnalysisTree::UndefValueInt};
44
int
i_phi_ellipse_
{AnalysisTree::UndefValueInt};
45
46
ClassDef(
CbmRichRingsConverter
, 1)
47
};
48
49
50
#endif
//ANALYSIS_TREE_RICHRINGSCONVERTER_H_
CbmConverterTask.h
CbmConverterTask
Definition
CbmConverterTask.h:18
CbmEvent
Class characterising one event by a collection of links (indices) to data objects,...
Definition
CbmEvent.h:34
CbmRichRingsConverter
Definition
CbmRichRingsConverter.h:19
CbmRichRingsConverter::i_center_
int i_center_
Definition
CbmRichRingsConverter.h:40
CbmRichRingsConverter::Finish
void Finish() final
Definition
CbmRichRingsConverter.h:28
CbmRichRingsConverter::Init
void Init() final
Definition
CbmRichRingsConverter.cxx:23
CbmRichRingsConverter::rich_rings_
AnalysisTree::HitDetector * rich_rings_
Definition
CbmRichRingsConverter.h:34
CbmRichRingsConverter::i_n_hits_
int i_n_hits_
Definition
CbmRichRingsConverter.h:38
CbmRichRingsConverter::i_axis_
int i_axis_
Definition
CbmRichRingsConverter.h:39
CbmRichRingsConverter::cbm_global_tracks_
TClonesArray * cbm_global_tracks_
Definition
CbmRichRingsConverter.h:31
CbmRichRingsConverter::i_chi2_
int i_chi2_
Definition
CbmRichRingsConverter.h:41
CbmRichRingsConverter::vtx_tracks_2_rich_
AnalysisTree::Matching * vtx_tracks_2_rich_
Definition
CbmRichRingsConverter.h:35
CbmRichRingsConverter::cbm_rich_rings_
TClonesArray * cbm_rich_rings_
Definition
CbmRichRingsConverter.h:32
CbmRichRingsConverter::~CbmRichRingsConverter
~CbmRichRingsConverter() final
Definition
CbmRichRingsConverter.cxx:110
CbmRichRingsConverter::i_r_
int i_r_
Definition
CbmRichRingsConverter.h:37
CbmRichRingsConverter::i_phi_ellipse_
int i_phi_ellipse_
Definition
CbmRichRingsConverter.h:44
CbmRichRingsConverter::i_radial_pos_
int i_radial_pos_
Definition
CbmRichRingsConverter.h:43
CbmRichRingsConverter::CbmRichRingsConverter
CbmRichRingsConverter(std::string out_branch_name, std::string match_to="")
Definition
CbmRichRingsConverter.h:21
CbmRichRingsConverter::ProcessData
void ProcessData(CbmEvent *event) final
Definition
CbmRichRingsConverter.cxx:56
CbmRichRingsConverter::i_radial_angle_
int i_radial_angle_
Definition
CbmRichRingsConverter.h:42
AnalysisTree
Definition
CbmConverterManager.h:16
std
Hash for CbmL1LinkKey.
Definition
algo/base/Options.cxx:21
analysis
common
analysis_tree_converter
CbmRichRingsConverter.h
Generated on Sun Dec 22 2024 23:04:05 for CbmRoot by
1.12.0