14 #include <evt/Event.h>
16 #include <fevt/Telescope.h>
17 #include <fevt/TelescopeSimData.h>
18 #include <fevt/FdComponentSelector.h>
20 #include <fdet/FDetector.h>
22 #include <fdet/Telescope.h>
23 #include <fdet/Pixel.h>
24 #include <fdet/Channel.h>
28 using namespace FdLightCollectionEfficiencyKG;
35 : fReferenceWl(theFDet.GetReferenceLambda()),
36 fDetEye(theFDet.GetEye(eye.GetId())),
39 fCurConfigSignature(NULL), fCurTelescope(NULL), fCurPixConverter(NULL)
47 const unsigned int pixId)
58 PixelConversionConstantMap::const_iterator pixConvIter =
fCurPixConverter->find(pixId);
60 return pixConvIter->second;
66 const double simCalibConst = detPixel.GetSimulatedEndToEndCalibration(*
fCurConfigSignature);
67 const double pixConversion = pixQEff * elecGain * simCalibConst;
68 (*fCurPixConverter)[pixId] = pixConversion;
Telescope & GetTelescope(const unsigned int telescopeId, const ComponentSelector::Status status=ComponentSelector::eHasData)
Retrieve Telescope by Id, throw exception if not existent.
Fluorescence Detector Eye Event.
const std::string * fCurConfigSignature
const Channel & GetChannel(const unsigned int channelId) const
Get Channel by id, throw utl::NonExistentComponentException if n.a.
double GetConversionConstant(const unsigned int telId, const unsigned int pixId)
double GetElectronicsGain() const
Detector description interface for FDetector-related data.
PixelConversionConstantMap * fCurPixConverter
const Pixel & GetPixel(const unsigned int pixelId) const
Get Pixel by id, throw utl::NonExistentComponentException if n.a.
fevt::TelescopeSimData & GetSimData()
const utl::TabulatedFunction & GetQEfficiency() const
Average quantum efficiency as a function of the wavelength.
const Telescope & GetTelescope(const unsigned int telescopeId) const
Find Telescope by numerical Id.
const std::string & GetConfigSignature() const
PixelToApertureLightConverter(const fdet::FDetector &theFDet, const fevt::Eye &eye)
const fdet::Telescope * fCurTelescope
Fluorescence Detector Telescope Event.
double Y(const double x) const
Get or interpolate the Y value that corresponds to parameter x.
const fdet::Eye & fDetEye
TelescopeConverterMap fConverterMap