PixelToApertureLightConverter.h
Go to the documentation of this file.
1 #ifndef _FdLightCollectionEfficiency_PixelToApertureLightConverter_h_
2 #define _FdLightCollectionEfficiency_PixelToApertureLightConverter_h_
3 
12 #include <map>
13 #include <string>
14 
15 namespace fdet {
16  class FDetector;
17  class Eye;
18  class Telescope;
19  class Pixel;
20  class Channel;
21 }
22 
23 namespace fevt {
24  class Eye;
25 }
26 
27 namespace FdLightCollectionEfficiencyKG {
28 
40 
41  public:
42  PixelToApertureLightConverter(const fdet::FDetector& theFDet, const fevt::Eye& eye);
44 
45  double GetConversionConstant(const unsigned int telId, const unsigned int pixId);
46 
47  private:
48  typedef std::map<unsigned int, double> PixelConversionConstantMap;
49  typedef std::map<unsigned int, PixelConversionConstantMap> TelescopeConverterMap;
51 
52  double fReferenceWl;
54  const fevt::Eye& fEye;
55 
56  unsigned int fCurTelId;
57 
58  // Note: None of these need cleaning up in the destructor since
59  // they just point into existing structures.
60  const std::string* fCurConfigSignature;
63  };
64  }
65 
66 #endif
67 
68 // Configure (x)emacs for this file ...
69 // Local Variables:
70 // mode: c++
71 // End:
std::map< unsigned int, PixelConversionConstantMap > TelescopeConverterMap
Fluorescence Detector Eye Event.
Definition: FEvent/Eye.h:29
Utility class to do (cached!) conversion from photons at the pixel to photons at aperture.
Detector description interface for Eye-related data.
Definition: FDetector/Eye.h:45
double GetConversionConstant(const unsigned int telId, const unsigned int pixId)
Detector description interface for FDetector-related data.
Definition: FDetector.h:44
PixelToApertureLightConverter(const fdet::FDetector &theFDet, const fevt::Eye &eye)
Detector description interface for Telescope-related data.

, generated on Tue Sep 26 2023.