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
13
14// ---------------------------------------------------------------------------------------------------------------------
15//
17{
18 try {
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}
A builder class for CA-parameters object.
void Init()
Initializes the instance.
A builder class for ca::Parameters.
GeoFactoryPtr_t fpGeoSetupFactory
Shared geo-setup factory.
std::function< GeoFactoryPtr_t()> fpGeoSetupFactoryConstructor