Singleton class providing pre-constructed reconstruction objects.
More...
#include <TOPRecoManager.h>
Singleton class providing pre-constructed reconstruction objects.
Definition at line 34 of file TOPRecoManager.h.
◆ backgroundPDFs()
Interface to background PDF's of all modules.
Any accesses to underlying collection must be made with this method.
- Returns
- collection of background PDF's (index = moduleID - 1)
Definition at line 233 of file TOPRecoManager.h.
std::vector< BackgroundPDF > m_backgroundPDFs
collection of background PDF's
void set()
Sets the reconstruction object collections.
bool m_redoBkg
flag to signal whether backgroundPDF has to be redone
◆ fastRaytracers()
Interface to fast ray-tracers of all modules.
Any accesses to underlying collection must be made with this method.
- Returns
- collection of fast ray-tracers (index = moduleID - 1)
Definition at line 221 of file TOPRecoManager.h.
◆ getBackgroundPDF()
Returns background PDF of a given module.
- Parameters
-
moduleID | slot ID (1-based) |
- Returns
- pointer to background PDF or null pointer if moduleID is not valid
Definition at line 76 of file TOPRecoManager.cc.
79 unsigned k = moduleID - 1;
80 if (k < collection.size()) {
81 return &collection[k];
84 B2ERROR(
"TOPRecoManager::getBackgroundPDF: invalid moduleID" <<
LogVar(
"moduleID", moduleID));
std::vector< BackgroundPDF > & backgroundPDFs()
Interface to background PDF's of all modules.
static TOPRecoManager & getInstance()
Returns instance of the class.
Class to store variables with their name which were sent to the logging service.
◆ getBackgroundPDFs()
Returns background PDF's of all modules.
- Returns
- collection of background PDF's (index = moduleID - 1)
Definition at line 76 of file TOPRecoManager.h.
◆ getFastRaytracer()
Returns fast ray-tracer of a given module.
- Parameters
-
moduleID | slot ID (1-based) |
- Returns
- pointer to fast ray-tracer or null pointer if moduleID is not valid
Definition at line 49 of file TOPRecoManager.cc.
◆ getInstance()
Returns instance of the class.
- Returns
- class instance
Definition at line 19 of file TOPRecoManager.cc.
◆ getInverseRaytracer()
Returns inverse ray-tracer of a given module.
- Parameters
-
moduleID | slot ID (1-based) |
- Returns
- pointer to inverse ray-tracer or null pointer if moduleID is not valid
Definition at line 36 of file TOPRecoManager.cc.
◆ getMaxTime()
static double getMaxTime |
( |
| ) |
|
|
inlinestatic |
Returns time window upper edge.
- Returns
- time window upper edge
Definition at line 94 of file TOPRecoManager.h.
◆ getMinTime()
static double getMinTime |
( |
| ) |
|
|
inlinestatic |
Returns time window lower edge.
- Returns
- time window lower edge
Definition at line 82 of file TOPRecoManager.h.
◆ getTimeWindowSize()
static double getTimeWindowSize |
( |
| ) |
|
|
inlinestatic |
Returns size of time window.
- Returns
- size of time window
Definition at line 106 of file TOPRecoManager.h.
◆ getYScanner()
const YScanner * getYScanner |
( |
int |
moduleID | ) |
|
|
static |
Returns y-scanner of a given module.
- Parameters
-
moduleID | slot ID (1-based) |
- Returns
- pointer to y-scanner or null pointer if moduleID is not valid
Definition at line 62 of file TOPRecoManager.cc.
◆ inverseRaytracers()
Interface to inverse ray-tracers of all modules.
Any accesses to underlying collection must be made with this method.
- Returns
- collection of inverse ray-tracers (index = moduleID - 1)
Definition at line 215 of file TOPRecoManager.h.
◆ setChannelMask()
Sets channel masks.
- Parameters
-
mask | channel mask |
asicMask | masked asics |
Definition at line 88 of file TOPRecoManager.cc.
◆ setMirrorCenter()
void setMirrorCenter |
( |
int |
moduleID, |
|
|
double |
xc, |
|
|
double |
yc |
|
) |
| |
|
static |
Sets the mirror center-of-curvature.
- Parameters
-
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.
◆ setTimeWindow()
static void setTimeWindow |
( |
double |
minTime, |
|
|
double |
maxTime |
|
) |
| |
|
inlinestatic |
Sets time window.
- Parameters
-
minTime | lower edge |
maxTime | upper edge |
Definition at line 113 of file TOPRecoManager.h.
◆ setUncalibratedChannelsOff() [1/2]
Sets uncalibrated channels off.
- Parameters
-
channelT0 | channel T0 calibration |
Definition at line 106 of file TOPRecoManager.cc.
◆ setUncalibratedChannelsOff() [2/2]
Sets uncalibrated channels off.
- Parameters
-
timebase | timebase calibration |
Definition at line 124 of file TOPRecoManager.cc.
◆ yScanners()
Interface to y-scanners of all modules.
Any accesses to underlying collection must be made with this method.
- Returns
- collection of y-scanners (index = moduleID - 1)
Definition at line 227 of file TOPRecoManager.h.
The documentation for this class was generated from the following files: