FFixCalibManager.h
Go to the documentation of this file.
1 #ifndef _fdet_FFixCalibManager_h_
2 #define _fdet_FFixCalibManager_h_
3 
4 #include <det/VManager.h>
5 #include <string>
6 #include <map>
7 
8 namespace utl {
9  class Reader;
10  class Branch;
11  class TabulatedFunction;
12 }
13 
14 
15 namespace fdet {
16 
32 
33  public:
34  void Init(const std::string& configLink);
35 
38  VMANAGER_GETDATA_DECLARE(std::map<int, utl::TabulatedFunction>)
39  VMANAGER_GETDATA_DECLARE(std::vector<int>)
40 
41  //VMANAGER_GETDATA_DENIED(unsigned long long int)
42  VMANAGER_GETDATA_DENIED(std::string)
43  VMANAGER_GETDATA_DENIED(std::vector<double>)
44  VMANAGER_GETDATA_DENIED(std::vector<std::string>)
45  VMANAGER_GETDATA_DENIED(std::list<double>)
46  VMANAGER_GETDATA_DENIED(std::list<int>)
47  VMANAGER_GETDATA_DENIED(std::list<std::string>)
50  VMANAGER_GETDATA_DENIED(std::list<std::pair<int, int> >)
51  VMANAGER_GETDATA_NOTFOUND(std::map<std::string, double>)
52  VMANAGER_GETDATA_DENIED(std::vector<bool>)
53 
54  private:
55  void Initialize();
56  bool GetCalibConstForTelescope(const unsigned int eyeId, const unsigned int telId, double& value) const;
57 
59 
60  double fCalibConst;
62  std::map<int, std::map<int, double> > fPerTelescopeCalibConst;
63 
64  };
65 
66 }
67 
68 
69 #endif // _fdet_FFixCalibManager_h_
70 
71 // Configure (x)emacs for this file ...
72 // Local Variables:
73 // mode: c++
74 // compile-command: "make -C .. FFixCalibManager.o -k"
75 // End:
void Init(const std::string &configLink)
Manager Initialization. configLink is the CentralConfig hook for the configuration file...
Class to hold collection (x,y) points and provide interpolation between them.
Interface for detector managers.
Definition: VManager.h:115
Manager for FD calibration with fixed constants.
Class to hold collection (x,y) points and provide interpolation between them, where y are complex num...
bool GetCalibConstForTelescope(const unsigned int eyeId, const unsigned int telId, double &value) const
#define VMANAGER_GETDATA_DENIED(_T_...)
Definition: VManager.h:21
#define VMANAGER_GETDATA_HANDLE_DENIED
Definition: VManager.h:75
#define VMANAGER_GETDATA_DECLARE(_T_...)
Definition: VManager.h:69
std::map< int, std::map< int, double > > fPerTelescopeCalibConst
#define VMANAGER_GETDATA_NOTFOUND(_T_...)
Definition: VManager.h:41
VMANAGER_GETDATA_HANDLE_DENIED double fCalibConst

, generated on Tue Sep 26 2023.