2 #include <utl/TabulatedFunction.h>
3 #include <utl/AugerUnits.h>
8 using namespace FdEnergyDepositFinderKG;
13 TelescopeDataBin::TelescopeDataBin(
const double minDepth,
14 const double maxDepth,
19 const double t,
const double dt,
20 const double sig,
const double sigErr,
28 fMeanDepthPoint(pXMean),
30 fTimeBinHalfWidth(dt),
33 fBackgroundVariance(vbg),
34 fParentBin(parentBin),
35 fLightEfficiencies(lightEfficiencies),
91 const std::vector<ZetaPixel>&
104 const double dZeta = 0.001 *
degree;
107 double arcLength = 0;
109 double arcLengthPixel =
fZetaPixels[i].CalculateInsideArcLength(0.,0.,zeta);
110 fZetaPixels[i].fArcLengthFunction.PushBack(zeta, arcLengthPixel);
111 arcLength += arcLengthPixel;
129 fPhotonToPhotoElectron(0.), fGainVariance(0.),
130 fDiaphragmArea(0.),
fZeta(0.)
179 const std::vector<TelescopeDataBin>&
186 std::vector<TelescopeDataBin>::const_iterator
193 std::vector<TelescopeDataBin>::const_iterator
double fPhotonToPhotoElectron
unsigned int GetNPoints() const
double GetMinDepth() const
bool DepthInRange(const double depth) const
unsigned int GetId() const
Class to hold collection (x,y) points and provide interpolation between them.
utl::TabulatedFunction fArcLengthFunction
std::vector< TelescopeDataBin >::const_iterator TelDataBinsBegin() const
const std::vector< double > & GetXCoordinates() const
get x coordinates of corner points (0-6, see sketch below)
void PushBack(const double x, const double y)
std::vector< TelescopeDataBin >::const_iterator TelDataBinsEnd() const
double GetMaxDepth() const
ETelDataType fTelDataType
double GetMeanDepth() const
LightSource
Possible light sources.
const std::vector< ZetaPixel > & GetZetaPixels() const
std::map< fevt::FdConstants::LightSource, double > EfficiencyMap
double GetMaxZeta() const
fTelescopeId(t.GetTelescopeId())
std::vector< ZetaPixel > fZetaPixels
void SetTelescopeParameters(double peFactor, double gainVariance, double diaArea)
bool HasEfficiency(fevt::FdConstants::LightSource source) const
std::vector< TelescopeDataBin > fTelescopeDataBins
const std::vector< TelescopeDataBin > & GetTelescopeDataBins() const
ETelDataType GetType() const
void AddZetaPixel(const ZetaPixel &pixel)
double GetEfficiency(fevt::FdConstants::LightSource source) const
std::map< fevt::FdConstants::LightSource, double > fLightEfficiencies
void AddTelescopeDataBin(const TelescopeDataBin &telDataBin)
const utl::TabulatedFunction & GetArcLengthFunction() const
const std::vector< double > & GetYCoordinates() const
get y coordinates of corner points (0-6, see sketch below)