TelescopeRecData.cc
Go to the documentation of this file.
1 #include <fevt/TelescopeRecData.h>
2 #include <fevt/Pixel.h>
3 
4 #include <utl/ErrorLogger.h>
5 #include <utl/MultiTabulatedFunctionErrors.h>
6 
7 using namespace fevt;
8 using std::list;
9 using std::pair;
10 
11 
12 void
14 {
16  ERROR("LightCollectionEfficiency already exists");
17  return;
18  }
20 }
21 
22 
23 void
24 TelescopeRecData::SetTimeFitCorrelations(double rRpT0, double rRpChi0, double rChi0T0)
25 {
26  fRpTZeroCorrelation = rRpT0;
27  fRpChi0Correlation = rRpChi0;
28  fChi0TZeroCorrelation = rChi0T0;
29 }
30 
31 
32 bool
33 TelescopeRecData::IsSpotFarFromBorder(const double timeRelToEyeTriggerTime)
34  const
35 {
36  // Each pair is a "good" time range, first double being the (inclusive) start, second
37  // double the (inclusive) end of the range.
38  for (const auto& range : fSpotFarFromBorderTimes)
39  if (range.first <= timeRelToEyeTriggerTime && timeRelToEyeTriggerTime <= range.second)
40  return true;
41  return false;
42 }
std::list< std::pair< double, double > > fSpotFarFromBorderTimes
void SetTimeFitCorrelations(double rRpT0, double rRpChi0, double rChi0T0)
bool IsSpotFarFromBorder(const double timeRelToEyeTriggerTime) 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...
utl::ShadowPtr< utl::MultiTabulatedFunctionErrors > fLightCollectionEfficiency
#define ERROR(message)
Macro for logging error messages.
Definition: ErrorLogger.h:165

, generated on Tue Sep 26 2023.