EventPointingManager.h
Go to the documentation of this file.
1 #ifndef _fdet_EventPointingManager_h_
2 #define _fdet_EventPointingManager_h_
3 
12 #include <string>
13 #include <vector>
14 
15 
16 namespace fdet {
17 
31 
32  private:
33  struct Pointing {
34  Pointing(const std::string& id)
35  : minElevation(0), maxElevation(0), pointingId(id) { }
36  double minElevation;
37  double maxElevation;
38  std::string pointingId;
39  };
40 
41  public:
43  virtual ~EventPointingManager() { }
44 
45  virtual void Init(const std::string& configLink);
46 
50  //VMANAGER_GETDATA_NOTFOUND(unsigned long long int)
51  VMANAGER_GETDATA_NOTFOUND(std::list<int>)
52  VMANAGER_GETDATA_NOTFOUND(std::list<std::pair<int, int> >)
53  VMANAGER_GETDATA_NOTFOUND(std::vector<double>)
54  VMANAGER_GETDATA_NOTFOUND(std::vector<int>)
55  VMANAGER_GETDATA_NOTFOUND(std::vector<std::string>)
56  VMANAGER_GETDATA_NOTFOUND(std::vector<bool>)
57  VMANAGER_GETDATA_NOTFOUND(std::list<double>)
58  VMANAGER_GETDATA_NOTFOUND(std::list<std::string>)
59  VMANAGER_GETDATA_NOTFOUND(utl::TabulatedFunction)
60  VMANAGER_GETDATA_NOTFOUND(utl::TabulatedFunctionComplexLgAmpPhase)
61  VMANAGER_GETDATA_NOTFOUND(std::map<int, utl::TabulatedFunction>)
62  VMANAGER_GETDATA_NOTFOUND(std::map<std::string, double>)
63 
65 
66  private:
67  std::vector<Pointing> fPointings;
68 
69  VManager::Status GetPointing(std::string& returnData,
70  const std::string& componentProperty,
71  const std::string& componentName,
72  const IndexMap& componentIndex) const;
73 
75 
76  };
77 
78 }
79 
80 
81 #endif
82 
83 // Configure (x)emacs for this file ...
84 // Local Variables:
85 // mode: c++
86 // compile-command: "make -C .. -k"
87 // End:
Interface for detector managers.
Definition: VManager.h:115
#define VMANAGER_GETDATA_CALL(_GetData_, _T_...)
Definition: VManager.h:59
virtual void Init(const std::string &configLink)
Manager Initialization. configLink is the CentralConfig hook for the configuration file...
#define VMANAGER_GETDATA_HANDLE_DENIED
Definition: VManager.h:75
reads the telescope point from the current Fd event
std::vector< Pointing > fPointings
std::map< std::string, std::string > IndexMap
Definition: VManager.h:133
VManager::Status GetPointing(std::string &returnData, const std::string &componentProperty, const std::string &componentName, const IndexMap &componentIndex) const
#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.