11#include <top/reconstruction_cpp/InverseRaytracer.h>
12#include <top/reconstruction_cpp/FastRaytracer.h>
13#include <top/reconstruction_cpp/YScanner.h>
14#include <top/reconstruction_cpp/BackgroundPDF.h>
15#include <top/dbobjects/TOPCalChannelMask.h>
16#include <top/dbobjects/TOPCalChannelT0.h>
17#include <top/dbobjects/TOPCalTimebase.h>
18#include <framework/database/DBObjPtr.h>
19#include <top/dataobjects/TOPAsicMask.h>
20#include <top/geometry/TOPGeometryPar.h>
Class for accessing objects in the database.
Class to store bit fields of masked ASICs, as reported in raw data.
const TOPNominalTDC & getNominalTDC() const
Returns nominal time-to-digit conversion parameters.
double getTimeMin() const
Returns time range lower limit.
double getTimeMax() const
Returns time range upper limit.
Parametrization of background PDF in pixels of single module.
Fast photon propagation in quartz optics.
Utility for solving inverse ray-tracing problem.
const TOPGeometry * getGeometry() const
Returns pointer to geometry object using basf2 units.
static TOPGeometryPar * Instance()
Static method to obtain the pointer to its instance.
Singleton class providing pre-constructed reconstruction objects.
std::vector< YScanner > & yScanners()
Interface to y-scanners of all modules.
TOPRecoManager(TOPRecoManager &)=delete
Singleton: no copy constructor.
static const InverseRaytracer * getInverseRaytracer(int moduleID)
Returns inverse ray-tracer of a given module.
static void setDefaultTimeWindow()
Sets default time window (functions getMinTime(), getMaxTime() will then return default values from D...
static const std::vector< BackgroundPDF > & getBackgroundPDFs()
Returns background PDF's of all modules.
static void setMirrorCenter(int moduleID, double xc, double yc)
Sets the mirror center-of-curvature.
std::vector< YScanner > m_yScanners
collection of y-scanners
double m_maxTime
time window upper edge
double m_minTime
time window lower edge
std::vector< BackgroundPDF > m_backgroundPDFs
collection of background PDF's
std::vector< InverseRaytracer > & inverseRaytracers()
Interface to inverse ray-tracers of all modules.
~TOPRecoManager()=default
Singleton: private destructor.
void set()
Sets the reconstruction object collections.
static void setChannelMask(const DBObjPtr< TOPCalChannelMask > &mask, const TOPAsicMask &asicMask)
Sets channel masks.
std::vector< InverseRaytracer > m_inverseRaytracers
collection of inverse raytracers
std::vector< FastRaytracer > m_fastRaytracers
collection of fast raytracers
static double getMaxTime()
Returns time window upper edge.
static double getTimeWindowSize()
Returns size of time window.
TOPRecoManager & operator=(const TOPRecoManager &)=delete
Singleton: no assignment operator.
static const YScanner * getYScanner(int moduleID)
Returns y-scanner of a given module.
std::vector< FastRaytracer > & fastRaytracers()
Interface to fast ray-tracers of all modules.
static void setChannelEffi()
Sets relative efficiencies of pixels.
static const FastRaytracer * getFastRaytracer(int moduleID)
Returns fast ray-tracer of a given module.
std::vector< BackgroundPDF > & backgroundPDFs()
Interface to background PDF's of all modules.
static void setTimeWindow(double minTime, double maxTime)
Sets time window.
static const BackgroundPDF * getBackgroundPDF(int moduleID)
Returns background PDF of a given module.
static TOPRecoManager & getInstance()
Returns instance of the class.
TOPRecoManager()=default
Singleton: private constructor.
bool m_redoBkg
flag to signal whether backgroundPDF has to be redone
static double getMinTime()
Returns time window lower edge.
static void setUncalibratedChannelsOff(const DBObjPtr< TOPCalChannelT0 > &channelT0)
Sets uncalibrated channels off.
Utility for expanding the PDF in y direction.
Abstract base class for different kinds of events.