FFixOpticalEfficiencyLossManager.h
Go to the documentation of this file.
1 #ifndef _fdet_FFixOpticalEfficiencyLossManager_h_
2 #define _fdet_FFixOpticalEfficiencyLossManager_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 
29 
30  public:
31  void Init(const std::string& configLink);
32 
35  VMANAGER_GETDATA_DECLARE(std::map<int, utl::TabulatedFunction>)
36  VMANAGER_GETDATA_DECLARE(std::vector<int>)
37 
38  //VMANAGER_GETDATA_DENIED(unsigned long long int)
39  VMANAGER_GETDATA_DENIED(std::string)
40  VMANAGER_GETDATA_DENIED(std::vector<double>)
41  VMANAGER_GETDATA_DENIED(std::vector<std::string>)
42  VMANAGER_GETDATA_DENIED(std::list<double>)
43  VMANAGER_GETDATA_DENIED(std::list<int>)
44  VMANAGER_GETDATA_DENIED(std::list<std::string>)
47  VMANAGER_GETDATA_DENIED(std::list<std::pair<int, int> >)
48  VMANAGER_GETDATA_NOTFOUND(std::map<std::string, double>)
49  VMANAGER_GETDATA_DENIED(std::vector<bool>)
50 
51  private:
52  void Initialize();
53  bool GetOpticalEfficiencyCorrectionForTelescope(const unsigned int eyeId, const unsigned int telId, double& value) const;
54 
56 
59  std::map<int, std::map<int, double> > fPerTelescopeOpticalEfficiencyCorrection;
60 
61  };
62 
63 }
64 
65 
66 #endif // _fdet_FFixOpticalEfficiencyLossManager_h_
67 
68 // Configure (x)emacs for this file ...
69 // Local Variables:
70 // mode: c++
71 // compile-command: "make -C .. FFixOpticalEfficiencyLossManager.o -k"
72 // End:
Class to hold collection (x,y) points and provide interpolation between them.
Interface for detector managers.
Definition: VManager.h:115
Manager for FD optical efficiency correction with fixed constants.
Class to hold collection (x,y) points and provide interpolation between them, where y are complex num...
bool GetOpticalEfficiencyCorrectionForTelescope(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 > > fPerTelescopeOpticalEfficiencyCorrection
VMANAGER_GETDATA_HANDLE_DENIED double fOpticalEfficiencyCorrection
void Init(const std::string &configLink)
Manager Initialization. configLink is the CentralConfig hook for the configuration file...
#define VMANAGER_GETDATA_NOTFOUND(_T_...)
Definition: VManager.h:41

, generated on Tue Sep 26 2023.