1 #ifndef _fevt_TelescopeRecData_h_
2 #define _fevt_TelescopeRecData_h_
6 #include <utl/TimeStamp.h>
7 #include <utl/AxialVector.h>
8 #include <utl/MultiTabulatedFunctionErrors.h>
9 #include <utl/ShadowPtr.h>
10 #include <utl/LameShadowPtr.h>
12 #include <boost/iterator/indirect_iterator.hpp>
92 void SetTZero(
const double tzero,
const double error)
94 void SetChiZero(
const double chiZero,
const double error)
96 void SetRp(
const double rp,
const double error)
135 {
return fLightProfile->GetTabulatedFunctionErrors(source); }
137 {
return fLightProfile->GetTabulatedFunctionErrors(source); }
217 void CorrectIds(
const unsigned int eyeId,
const unsigned int telescopeId)
const utl::MultiTabulatedFunctionErrors & GetLightCollectionEfficiency() const
Get the light-collection-efficiency multi tabulated function (for various LightSources) ...
unsigned int GetEyeId() const
boost::transform_iterator< LabeledObjectFunctor, typename MultiObjectContainer::iterator, LabeledTabulatedFunctionErrors > Iterator
utl::InitializedShadowPtr< utl::MultiTabulatedFunctionErrors > fLightProfile
void SetSDPFitChiSquare(const double sdpChi2, const unsigned int ndof)
double GetNorthTCoreCorrelation() const
unsigned int fAxisFitNDof
double fThetaPhiCorrelation
std::list< std::pair< double, double > > fSpotFarFromBorderTimes
double fEastPhiCorrelation
const std::list< std::pair< double, double > > & GetSpotFarFromBorderTimeRanges() const
double GetRpError() const
ConstMultiLightFluxIterator LightFluxesBegin() const
double GetSDPCorrThetaPhi() const
const utl::TabulatedFunctionErrors & GetLightFlux(const FdConstants::LightSource source=fevt::FdConstants::eTotal) const
void SetTimeFitCorrelations(double rRpT0, double rRpChi0, double rChi0T0)
double GetEastPhiCorrelation() const
double fSDPThetaPhiCorrelation
boost::transform_iterator< LabeledObjectFunctor, typename MultiObjectContainer::const_iterator, LabeledTabulatedFunctionErrors > ConstIterator
double GetSDPThetaError() const
utl::TimeStamp fTraceStartTime
A TimeStamp holds GPS second and nanosecond for some event.
void SetSDP(const utl::AxialVector &vec)
void SetAxisFitCorrelations(double northEast, double northTheta, double northPhi, double northTCore, double eastTheta, double eastPhi, double eastTCore, double thetaPhi, double thetaTCore, double phiTCore)
double GetSDPPhiError() const
double GetNorthEastCorrelation() const
double fRpChi0Correlation
utl::TabulatedFunctionErrors & GetLightFlux(const FdConstants::LightSource source=fevt::FdConstants::eTotal)
Light flux at diaphragm, photons/m^2 versus time in ns.
bool IsSpotFarFromBorder(const double timeRelToEyeTriggerTime) const
double fNorthThetaCorrelation
double fPhiTCoreCorrelation
LightSource
Possible light sources.
double fEastThetaCorrelation
double fRpTZeroCorrelation
ConstMultiLightFluxIterator LightFluxesEnd() const
bool HasLightFlux(const FdConstants::LightSource source=FdConstants::eTotal) const
Check that light profile for source /par source is present.
unsigned int GetAxisFitNDof() const
utl::MultiTabulatedFunctionErrors::ConstIterator ConstMultiLightFluxIterator
double fEastTCoreCorrelation
void SetSDPPhiError(const double sdpPhiError)
double GetChiZeroError() const
void SetChiZero(const double chiZero, const double error)
void SetSpotFarFromBorderTimeRanges(const std::list< std::pair< double, double >> &timeRanges)
unsigned int fTimeFitNDof
Telescope-specific shower reconstruction data.
void SetSDPThetaError(const double sdpThetaError)
utl::MultiTabulatedFunctionErrors & GetLightCollectionEfficiency()
Get the light-collection-efficiency multi tabulated function (for various LightSources) ...
const std::vector< std::vector< unsigned int > > & GetPixelsInZetaOverTime() const
Returns the time-vector of vectors of pixel ids which are within zeta at the given time...
unsigned int GetTelescopeId() const
void MakeLightCollectionEfficiency()
Add a light-collection-efficiency multi tabulated function (for various LightSources) ...
A collection of TabulatedFunctionErrors, which provides methods to access different sources...
double GetThetaTCoreCorrelation() const
double GetRpChi0Correlation() const
double fNorthEastCorrelation
double fChi0TZeroCorrelation
double GetEastTCoreCorrelation() const
bool HasLightCollectionEfficiency() const
Check that a light-collection-efficiency multi tabulated function exists (for various LightSources) ...
double GetTimeFitChiSquare() const
void SetAxisFitChiSquare(const double globalChi2, const unsigned int ndof)
double GetNorthThetaCorrelation() const
void SetPhotonsStartTime(const utl::TimeStamp &ts)
double GetSDPFitChiSquare() const
unsigned int fTelescopeId
double GetPhiTCoreCorrelation() const
utl::TimeStamp GetPhotonsStartTime() const
Start Time of the photons trace.
double GetNorthPhiCorrelation() const
void SetTZero(const double tzero, const double error)
std::vector< std::vector< unsigned int > > fPixelsInZeta
utl::ShadowPtr< utl::MultiTabulatedFunctionErrors > fLightCollectionEfficiency
unsigned int GetTimeFitNDof() const
std::list< std::pair< double, double > > & GetSpotFarFromBorderTimeRanges()
double GetEastThetaCorrelation() const
void SetTimeFitChiSquare(const double tfitChi2, const unsigned int ndof)
double GetThetaPhiCorrelation() const
void SetZeta(const double zeta)
void SetRp(const double rp, const double error)
double GetChi0TZeroCorrelation() const
std::vector< std::vector< unsigned int > > & GetPixelsInZetaOverTime()
void MakeLightFlux(const FdConstants::LightSource source=FdConstants::eTotal)
Fluorescence Detector Telescope Event.
double fNorthTCoreCorrelation
double GetChiZero() const
double GetAxisFitChiSquare() const
const utl::AxialVector & GetSDP() const
TelescopeRecData(const unsigned int eyeId, const unsigned int telId)
void CorrectIds(const unsigned int eyeId, const unsigned int telescopeId)
MultiLightFluxIterator LightFluxesEnd()
End of the Light flux, returns a LabeledTabulatedFunctionErrors.
double GetTZeroError() const
unsigned int GetSDPFitNDof() const
MultiLightFluxIterator LightFluxesBegin()
Begin of the Light flux, returns a LabeledTabulatedFunctionErrors.
void SetSDPCorrThetaPhi(double sdpCorrThetaPhi)
double fNorthPhiCorrelation
double fThetaTCoreCorrelation
utl::MultiTabulatedFunctionErrors::Iterator MultiLightFluxIterator
An iterator over the components of the Light Flux.
double GetRpTZeroCorrelation() const