CbmRoot
Loading...
Searching...
No Matches
ChainContext.h
Go to the documentation of this file.
1
/* Copyright (C) 2023 FIAS Frankfurt Institute for Advanced Studies, Frankfurt / Main
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Felix Weiglhofer [committer] */
4
#ifndef CBM_ALGO_BASE_CHAINCONTEXT_H
5
#define CBM_ALGO_BASE_CHAINCONTEXT_H
6
7
#include "
Options.h
"
8
#include "
RecoParams.h
"
9
10
#include <memory>
11
#include <optional>
12
13
namespace
cbm
14
{
15
// cbm::Monitor must be forward declared. This prevents an issue in older ROOT versions,
16
// where cling would crash upon parsing the header file (in some stl header)
17
class
Monitor;
18
}
// namespace cbm
19
20
namespace
cbm::algo
21
{
22
struct
ChainContext
{
23
// default constructor / destructor
24
// But have to be defined in the .cxx file, because of forward declaration of cbm::Monitor
25
ChainContext
();
26
~ChainContext
();
27
28
Options
opts
;
29
RecoParams
recoParams
;
30
std::unique_ptr<cbm::Monitor>
monitor
;
31
};
32
}
// namespace cbm::algo
33
34
#endif
RecoParams.h
Options.h
cbm::algo::Options
Definition
algo/base/Options.h:19
cbm::algo
Definition
AlgoTraits.h:16
cbm
Definition
AlgoTraits.h:16
cbm::algo::ChainContext
Definition
ChainContext.h:22
cbm::algo::ChainContext::monitor
std::unique_ptr< cbm::Monitor > monitor
Definition
ChainContext.h:30
cbm::algo::ChainContext::~ChainContext
~ChainContext()
Definition
ChainContext.cxx:11
cbm::algo::ChainContext::ChainContext
ChainContext()
Definition
ChainContext.cxx:10
cbm::algo::ChainContext::recoParams
RecoParams recoParams
Definition
ChainContext.h:29
cbm::algo::ChainContext::opts
Options opts
Definition
ChainContext.h:28
cbm::algo::RecoParams
RecoParams contains all parameters to configure reconstruction.
Definition
RecoParams.h:20
algo
base
ChainContext.h
Generated on Mon Feb 3 2025 23:03:43 for CbmRoot by
1.12.0