CbmRoot
Loading...
Searching...
No Matches
CaParametersBuilder.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2025 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Sergei Zharko [committer] */
4
9
10
#include "
CaParametersBuilder.h
"
11
12
using
cbm::algo::ca::ParametersBuilder
;
13
14
// ---------------------------------------------------------------------------------------------------------------------
15
//
16
void
ParametersBuilder::Init
()
17
{
18
try
{
19
fpGeoSetupFactory
=
fpGeoSetupFactoryConstructor
();
20
}
21
catch
(
const
std::bad_function_call& err) {
22
throw
std::runtime_error(
"ca::ParametersBuilder: a concrete geo-setup factory constructor was not set. "
23
"Please set it with the SetGeoSetupFactoryConstructor() function."
);
24
}
25
}
CaParametersBuilder.h
A builder class for CA-parameters object.
ParametersBuilder::Init
void Init()
Initializes the instance.
Definition
CaParametersBuilder.cxx:16
cbm::algo::ca::ParametersBuilder
A builder class for ca::Parameters.
Definition
CaParametersBuilder.h:31
cbm::algo::ca::ParametersBuilder::fpGeoSetupFactory
GeoFactoryPtr_t fpGeoSetupFactory
Shared geo-setup factory.
Definition
CaParametersBuilder.h:78
cbm::algo::ca::ParametersBuilder::fpGeoSetupFactoryConstructor
std::function< GeoFactoryPtr_t()> fpGeoSetupFactoryConstructor
Definition
CaParametersBuilder.h:81
algo
ca
core
pars
CaParametersBuilder.cxx
Generated on Fri Jan 30 2026 23:05:17 for CbmRoot by
1.13.2