MaCh3  2.5.1
Reference Guide
NuDockFactory.h
Go to the documentation of this file.
1 #pragma once
2 
9 
10 #include <Manager/Manager.h>
12 #include "nudock.hpp"
20 void InitialiseNuDockObj(Manager *man, std::unique_ptr<NuDock> &nudock_ptr);
21 
26 void FormatOscParsForNuDock(const std::string &param_name, double &param_value);
27 
32 void FormatOscParsForMaCh3(const std::string &param_name, double &param_value);
33 
37 extern const std::unordered_map<std::string, std::string> NuDockOscNameMap;
38 
42 extern const std::unordered_map<std::string, std::string> NuDockOscNameMap_r;
#define _MaCh3_Safe_Include_Start_
KS: Avoiding warning checking for headers.
Definition: Core.h:126
#define _MaCh3_Safe_Include_End_
const std::unordered_map< std::string, std::string > NuDockOscNameMap_r
Map from MaCh3 oscillation parameter names to NuDock names.
const std::unordered_map< std::string, std::string > NuDockOscNameMap
Map from NuDock oscillation parameter names to MaCh3 names.
void FormatOscParsForMaCh3(const std::string &param_name, double &param_value)
Convert an oscillation parameter value from NuDock convention to MaCh3 convention.
void FormatOscParsForNuDock(const std::string &param_name, double &param_value)
Convert an oscillation parameter value from MaCh3 convention to NuDock convention.
_MaCh3_Safe_Include_Start_ _MaCh3_Safe_Include_End_ void InitialiseNuDockObj(Manager *man, std::unique_ptr< NuDock > &nudock_ptr)
Initialise a NuDock communication object from a manager configuration.
The manager class is responsible for managing configurations and settings.
Definition: Manager.h:16