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
13namespace 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
20namespace 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
27
30 std::unique_ptr<cbm::Monitor> monitor;
31 };
32} // namespace cbm::algo
33
34#endif
std::unique_ptr< cbm::Monitor > monitor
RecoParams contains all parameters to configure reconstruction.
Definition RecoParams.h:20