Recalculates and sets the valid time ranges for profile reconstruction based on the telescope aperture light ranges and the minimal required light-collection efficiency. More...
#include <TimeRangeCalculator.h>
Public Member Functions | |
int | GetVerbosity () const |
void | SetVerbosity (const int verbosity) |
TimeRangeCalculator (fevt::TelescopeRecData &telRec, const int verbosity=0) | |
void | UpdateSpotFarFromBorderTimes (const double effThreshold) |
~TimeRangeCalculator () | |
Private Member Functions | |
std::pair< double, double > | CalculateStartStopTimes (const utl::TabulatedFunctionErrors &lcEff, const utl::TabulatedFunctionErrors &lAtAperture, const double effThreshold) |
Private Attributes | |
fevt::TelescopeRecData & | fTelRec |
The depth binning for the profile that's calculated from the GH fit. More... | |
int | fVerbosity |
global verbosity flag More... | |
Recalculates and sets the valid time ranges for profile reconstruction based on the telescope aperture light ranges and the minimal required light-collection efficiency.
Definition at line 36 of file TimeRangeCalculator.h.
TimeRangeCalculator::TimeRangeCalculator | ( | fevt::TelescopeRecData & | telRec, |
const int | verbosity = 0 |
||
) |
Definition at line 38 of file TimeRangeCalculator.cc.
|
inline |
Definition at line 40 of file TimeRangeCalculator.h.
|
private |
Definition at line 96 of file TimeRangeCalculator.cc.
References utl::TabulatedFunction::GetNPoints(), utl::TabulatedFunction::GetX(), and utl::TabulatedFunction::GetY().
Referenced by UpdateSpotFarFromBorderTimes().
|
inline |
Definition at line 47 of file TimeRangeCalculator.h.
References fVerbosity.
|
inline |
Definition at line 46 of file TimeRangeCalculator.h.
References fVerbosity.
void TimeRangeCalculator::UpdateSpotFarFromBorderTimes | ( | const double | effThreshold | ) |
Updates the TelescopeRecData spot-far-from-border times to include all times for which the efficiencies are above the threshold
Definition at line 47 of file TimeRangeCalculator.cc.
References utl::MultiObject< T, LabeledObjectType >::Begin(), CalculateStartStopTimes(), utl::MultiObject< T, LabeledObjectType >::End(), cevt::StationConstants::eTotal, fTelRec, fVerbosity, fevt::TelescopeRecData::GetLightCollectionEfficiency(), fevt::TelescopeRecData::GetLightFlux(), fevt::TelescopeRecData::GetSpotFarFromBorderTimeRanges(), fevt::TelescopeRecData::HasLightFlux(), INFO, and max.
Referenced by FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::ProcessEvent().
|
private |
The depth binning for the profile that's calculated from the GH fit.
Definition at line 54 of file TimeRangeCalculator.h.
Referenced by UpdateSpotFarFromBorderTimes().
|
private |
global verbosity flag
Definition at line 57 of file TimeRangeCalculator.h.
Referenced by GetVerbosity(), SetVerbosity(), and UpdateSpotFarFromBorderTimes().