Belle II Software development
|
Singleton class providing pre-constructed reconstruction objects. More...
#include <TOPRecoManager.h>
Static Public Member Functions | |
static TOPRecoManager & | getInstance () |
Returns instance of the class. | |
static const InverseRaytracer * | getInverseRaytracer (int moduleID) |
Returns inverse ray-tracer of a given module. | |
static const FastRaytracer * | getFastRaytracer (int moduleID) |
Returns fast ray-tracer of a given module. | |
static const YScanner * | getYScanner (int moduleID) |
Returns y-scanner of a given module. | |
static const BackgroundPDF * | getBackgroundPDF (int moduleID) |
Returns background PDF of a given module. | |
static const std::vector< BackgroundPDF > & | getBackgroundPDFs () |
Returns background PDF's of all modules. | |
static double | getMinTime () |
Returns time window lower edge. | |
static double | getMaxTime () |
Returns time window upper edge. | |
static double | getTimeWindowSize () |
Returns size of time window. | |
static void | setTimeWindow (double minTime, double maxTime) |
Sets time window. | |
static void | setDefaultTimeWindow () |
Sets default time window (functions getMinTime(), getMaxTime() will then return default values from DB) | |
static void | setChannelMask (const DBObjPtr< TOPCalChannelMask > &mask, const TOPAsicMask &asicMask) |
Sets channel masks. | |
static void | setUncalibratedChannelsOff (const DBObjPtr< TOPCalChannelT0 > &channelT0) |
Sets uncalibrated channels off. | |
static void | setUncalibratedChannelsOff (const DBObjPtr< TOPCalTimebase > &timebase) |
Sets uncalibrated channels off. | |
static void | setChannelEffi () |
Sets relative efficiencies of pixels. | |
static void | setMirrorCenter (int moduleID, double xc, double yc) |
Sets the mirror center-of-curvature. | |
Private Member Functions | |
TOPRecoManager ()=default | |
Singleton: private constructor. | |
TOPRecoManager (TOPRecoManager &)=delete | |
Singleton: no copy constructor. | |
TOPRecoManager & | operator= (const TOPRecoManager &)=delete |
Singleton: no assignment operator. | |
~TOPRecoManager ()=default | |
Singleton: private destructor. | |
void | set () |
Sets the reconstruction object collections. | |
std::vector< InverseRaytracer > & | inverseRaytracers () |
Interface to inverse ray-tracers of all modules. | |
std::vector< FastRaytracer > & | fastRaytracers () |
Interface to fast ray-tracers of all modules. | |
std::vector< YScanner > & | yScanners () |
Interface to y-scanners of all modules. | |
std::vector< BackgroundPDF > & | backgroundPDFs () |
Interface to background PDF's of all modules. | |
Private Attributes | |
std::vector< InverseRaytracer > | m_inverseRaytracers |
collection of inverse raytracers | |
std::vector< FastRaytracer > | m_fastRaytracers |
collection of fast raytracers | |
std::vector< YScanner > | m_yScanners |
collection of y-scanners | |
std::vector< BackgroundPDF > | m_backgroundPDFs |
collection of background PDF's | |
double | m_minTime = 0 |
time window lower edge | |
double | m_maxTime = 0 |
time window upper edge | |
bool | m_redoBkg = false |
flag to signal whether backgroundPDF has to be redone | |
Singleton class providing pre-constructed reconstruction objects.
Definition at line 34 of file TOPRecoManager.h.
|
inlineprivate |
Interface to background PDF's of all modules.
Any accesses to underlying collection must be made with this method.
Definition at line 233 of file TOPRecoManager.h.
|
inlineprivate |
Interface to fast ray-tracers of all modules.
Any accesses to underlying collection must be made with this method.
Definition at line 221 of file TOPRecoManager.h.
|
static |
Returns background PDF of a given module.
moduleID | slot ID (1-based) |
Definition at line 76 of file TOPRecoManager.cc.
|
inlinestatic |
Returns background PDF's of all modules.
Definition at line 76 of file TOPRecoManager.h.
|
static |
Returns fast ray-tracer of a given module.
moduleID | slot ID (1-based) |
Definition at line 49 of file TOPRecoManager.cc.
|
static |
Returns instance of the class.
Definition at line 19 of file TOPRecoManager.cc.
|
static |
Returns inverse ray-tracer of a given module.
moduleID | slot ID (1-based) |
Definition at line 36 of file TOPRecoManager.cc.
|
inlinestatic |
Returns time window upper edge.
Definition at line 94 of file TOPRecoManager.h.
|
inlinestatic |
Returns time window lower edge.
Definition at line 82 of file TOPRecoManager.h.
|
inlinestatic |
Returns size of time window.
Definition at line 106 of file TOPRecoManager.h.
|
static |
Returns y-scanner of a given module.
moduleID | slot ID (1-based) |
Definition at line 62 of file TOPRecoManager.cc.
|
inlineprivate |
Interface to inverse ray-tracers of all modules.
Any accesses to underlying collection must be made with this method.
Definition at line 215 of file TOPRecoManager.h.
|
private |
Sets the reconstruction object collections.
Definition at line 25 of file TOPRecoManager.cc.
|
static |
Sets relative efficiencies of pixels.
Definition at line 150 of file TOPRecoManager.cc.
|
static |
Sets channel masks.
mask | channel mask |
asicMask | masked asics |
Definition at line 88 of file TOPRecoManager.cc.
|
inlinestatic |
Sets default time window (functions getMinTime(), getMaxTime() will then return default values from DB)
Definition at line 122 of file TOPRecoManager.h.
|
static |
Sets the mirror center-of-curvature.
moduleID | slot ID (1-based) |
xc | center of curvature in x |
yc | center of curvature in y |
Definition at line 183 of file TOPRecoManager.cc.
|
inlinestatic |
Sets time window.
minTime | lower edge |
maxTime | upper edge |
Definition at line 113 of file TOPRecoManager.h.
|
static |
Sets uncalibrated channels off.
channelT0 | channel T0 calibration |
Definition at line 106 of file TOPRecoManager.cc.
|
static |
Sets uncalibrated channels off.
timebase | timebase calibration |
Definition at line 124 of file TOPRecoManager.cc.
|
inlineprivate |
Interface to y-scanners of all modules.
Any accesses to underlying collection must be made with this method.
Definition at line 227 of file TOPRecoManager.h.
|
private |
collection of background PDF's
Definition at line 206 of file TOPRecoManager.h.
|
private |
collection of fast raytracers
Definition at line 204 of file TOPRecoManager.h.
|
private |
collection of inverse raytracers
Definition at line 203 of file TOPRecoManager.h.
|
private |
time window upper edge
Definition at line 208 of file TOPRecoManager.h.
|
private |
time window lower edge
Definition at line 207 of file TOPRecoManager.h.
|
private |
flag to signal whether backgroundPDF has to be redone
Definition at line 209 of file TOPRecoManager.h.
|
private |
collection of y-scanners
Definition at line 205 of file TOPRecoManager.h.