![]() |
Belle II Software
release-08-02-05
|
class to contain the cut on svd hit time at SP creation step More...
#include <SVDHitTimeSelectionFunction.h>


Public Types | |
| typedef bool(SVDHitTimeSelectionFunction::* | selFunction) (double, double, double, double) const |
| typedef of the output calibration function | |
Public Member Functions | |
| bool | isInTime (double svdTime, double svdTimeError=0, double t0=0, double t0Error=0) const |
| returns whether the hit came on time or not | |
| bool | areClustersInTime (double uTime, double vTime) const |
| returns whether the uCluster time is compatible with the vClsuter time | |
| SVDHitTimeSelectionFunction () | |
| constructor | |
| void | setFunctionID (int user_current) |
| copy constructor More... | |
| int | getFunctionID () const |
| get the function ID (function version) | |
| void | setMinTime (double tMin) |
| set the minimum cluster time | |
| float | getMinTime () const |
| returns the minimum cluster time | |
| void | setDeltaTime (double deltaT) |
| set the minimum time distance wrt t0 | |
| float | getDeltaTime () const |
| returns the minimum time distnace wrt t0 | |
| void | setNsigma (double nSigma) |
| set the nSigma | |
| float | getNsigma () const |
| returns the minimum cluster time | |
| void | setMaxUVTimeDifference (double timeDiff) |
| set m_maxUVTimeDifference | |
| float | getMaxUVTimeDifference () const |
| get m_maxUVTimeDifference | |
Public Attributes | |
| float | m_maxUVTimeDifference = 100 |
| max time difference of U and V clusters | |
Private Member Functions | |
| bool | firstVersion (double svdTime, double, double, double) const |
| function parameters & implementations More... | |
| bool | secondVersion (double svdTime, double, double t0, double) const |
| SECOND VERSION, ID = 1: isOnTime if |t - t0|< deltaT. | |
| bool | thirdVersion (double svdTime, double svdTimeError, double t0, double t0Error) const |
| THIRD VERSION, ID = 2: isOnTime if |t - t0|< nSigma*sigma. | |
Private Attributes | |
| double | m_tMin |
| minimum cluster time | |
| double | m_deltaT |
| minimum time distance wrt t0 | |
| double | m_nSigma |
| number of Sigma | |
| int | m_current |
| current function ID | |
Static Private Attributes | |
| static std::vector< selFunction > | m_implementations |
| vector of fuctions, we use the m_current | |
class to contain the cut on svd hit time at SP creation step
Definition at line 23 of file SVDHitTimeSelectionFunction.h.
|
inlineprivate |
function parameters & implementations
FIRST VERSION, ID = 0: isOnTime if t > m_tMin
Definition at line 102 of file SVDHitTimeSelectionFunction.h.
|
inline |
copy constructor
set the function ID (version)
Definition at line 69 of file SVDHitTimeSelectionFunction.h.