24 std::lock_guard<std::mutex> lock(
fMutex);
39 std::stringstream msg;
40 msg <<
"ParametersHandler::Get: an attempt to re-define an instance of CA-parameters from "
41 <<
"a different path: \"" << name <<
"\". The parameters were provided previously from \"" <<
fsInputName
43 throw std::logic_error(msg.str());
54 manager.
SetGeometrySetup(TrackingSetupBuilder::Instance()->MakeSetup<ca::fvec>(EFieldMode::Orig));
Input data management class for the CA tracking algorithm (header)
Handles an instance of the CA-parameters as a shared pointer (header)
A CA Parameters object initialization class.
Parameters< fvec > && TakeParameters()
Takes parameters object from the init-manager instance.
void SetGeometrySetup(const cbm::algo::kf::Setup< DataT > &setup)
Sets setup.
void ReadParametersObject(const std::string &fileName)
Reads parameters object from boost-serialized binary file.
A container for all external parameters of the CA tracking algorithm.
Handles an shared pointer of CA parameters.
std::string fsInputName
Name of the input ca.par file.
const ParametersPtr_t Get(const std::string &filename)
Returns an shared pointer to the parameters instance.
static ParametersHandler * fpInstance
ParametersPtr_t fpParameters
ca::Parameters instance (double precision)
static ParametersHandler * Instance()
Instance access.
std::shared_ptr< cbm::algo::ca::Parameters< float > > ParametersPtr_t
Encapsulation of the kf::Setup initialization routines for CBM.
EFieldMode
Enumiration for the magnetic field representation variants in the track fitting algorithm.