RHardwareProfileXMLManager.h
Go to the documentation of this file.
1 #ifndef _rdet_RHardwareProfileXMLManager_h_
2 #define _rdet_RHardwareProfileXMLManager_h_
3 
4 #include <map>
5 #include <string>
6 
7 #include <det/VManager.h>
8 #include <utl/ErrorLogger.h>
9 
10 
11 namespace utl {
12  class Reader;
13  class Branch;
14  class TabulatedFunction;
15  class TabulatedFunctionComplexLgAmpPhase;
16 }
17 
18 namespace rdet {
19 
39 
40  public:
42 
43  void Init(const std::string& configLink);
44 
46 
47  VMANAGER_GETDATA_NOTFOUND(std::vector<double>) //Probably this will change....
48  VMANAGER_GETDATA_NOTFOUND(std::vector<std::string>)
49  VMANAGER_GETDATA_NOTFOUND(std::vector<bool>)
50  VMANAGER_GETDATA_NOTFOUND(std::vector<int>) //Probably this will change....
51  //VMANAGER_GETDATA_NOTFOUND(unsigned long long int)
52  VMANAGER_GETDATA_NOTFOUND(std::map<std::string, double>)
53  VMANAGER_GETDATA_NOTFOUND(std::list<double>)
54  VMANAGER_GETDATA_NOTFOUND(std::list<int>)
55  VMANAGER_GETDATA_NOTFOUND(std::list<std::string>)
56  VMANAGER_GETDATA_NOTFOUND(utl::TabulatedFunction)
59  VMANAGER_GETDATA_NOTFOUND(std::string)
60  VMANAGER_GETDATA_NOTFOUND(std::vector<std::vector<int> >)
61  VMANAGER_GETDATA_NOTFOUND(std::list<std::pair<int, int> >)
62  VMANAGER_GETDATA_NOTFOUND(std::map<int, utl::TabulatedFunction>)
63 
64  Status GetInternalData(utl::TabulatedFunctionComplexLgAmpPhase& returnData,
65  const std::string& componentProperty,
66  const std::string& componentName,
67  const IndexMap& componentIndex) const;
68 
69  private:
71  utl::Branch FindHardwareProfile(const std::string& hardwareType) const;
72 
74  utl::Branch FindHardwareProfileProperty(const std::string& hardwareType, const std::string& hardwareProp) const;
75 
77 
78  };
79 
80 }
81 
82 
83 #endif
Manager for RD description in XML &quot;HardwareProfile&quot; files.
Interface for detector managers.
Definition: VManager.h:115
#define VMANAGER_GETDATA_CALL(_GetData_, _T_...)
Definition: VManager.h:59
utl::Branch FindHardwareProfileProperty(const std::string &hardwareType, const std::string &hardwareProp) const
Find the Branch corresponding for given hardwareType and hardwarePoperty.
Class to hold collection (x,y) points and provide interpolation between them, where y are complex num...
#define VMANAGER_GETDATA_HANDLE_DENIED
Definition: VManager.h:75
void Init(const std::string &configLink)
Manager Initialization. configLink is the CentralConfig hook for the configuration file...
std::map< std::string, std::string > IndexMap
Definition: VManager.h:133
utl::Branch FindHardwareProfile(const std::string &hardwareType) const
Find Branch for a given hardwareType.
#define VMANAGER_GETDATA_NOTFOUND(_T_...)
Definition: VManager.h:41
Status
Specifies success or (eventually) various possible failure modes.
Definition: VManager.h:127

, generated on Tue Sep 26 2023.