![]() |
Belle II Software
release-08-02-04
|
Singleton class that estimates cluster positions taking into account the estimated track incidence angles into the sensor. More...
#include <PXDClusterPositionEstimator.h>

Public Member Functions | |
| void | initialize () |
| Initialize PXDClusterPositionEstimator from DB. | |
| void | setShapeIndexFromDB () |
| Set ShapeIndex from DB. | |
| void | setPositionEstimatorFromDB () |
| Set PositionEstimator from DB. | |
| const PXDClusterPositionEstimatorPar & | getPositionEstimatorParameters () const |
| Return cluster position estimator parameters from Database. | |
| const PXDClusterShapeIndexPar & | getShapeIndexParameters () const |
| Return shape index parameters from Database. | |
| const PXDClusterOffsetPar * | getClusterOffset (const PXDCluster &cluster, double tu, double tv) const |
| Return pointer to cluster offsets, can be nullptr. | |
| float | getShapeLikelyhood (const PXDCluster &cluster, double tu, double tv) const |
| Return cluster shape likelyhood. | |
| float | computeEta (const std::set< Pixel > &pixels, int vStart, int vSize, double thetaU, double thetaV) const |
| Return the normed charge ratio between head and tail pixels (size>=2) or the charge of the seed (size=1) . | |
| int | computeShapeIndex (const std::set< Pixel > &pixels, int uStart, int vStart, int vSize, double thetaU, double thetaV) const |
| Return the shape index of the pixels. | |
| const std::string | getShortName (const std::set< Pixel > &pixels, int uStart, int vStart, int vSize, double thetaU, double thetaV) const |
| Return the name for the pixel set. | |
| const std::string | getMirroredShortName (const std::set< Pixel > &pixels, int uStart, int vStart, int vSize, double thetaU, double thetaV) const |
| Return the mirrored name for the pixel set. | |
| const std::string | getFullName (const std::set< Pixel > &pixels, int uStart, int vStart) const |
| Return a name for the pixel set. | |
| int | getClusterkind (const PXDCluster &cluster) const |
| Return kind of cluster needed to find cluster position correction. | |
| int | getClusterkind (const std::vector< Belle2::PXD::Pixel > &pixels, const Belle2::VxdID &sensorID) const |
| Return kind of cluster needed to find cluster position correction. | |
| int | getSectorIndex (double thetaU, double thetaV) const |
| Get sector index from angles. More... | |
Static Public Member Functions | |
| static PXDClusterPositionEstimator & | getInstance () |
| Main (and only) way to access the PXDClusterPositionEstimator. | |
Private Member Functions | |
| const Pixel & | getHeadPixel (const std::set< Pixel > &pixels, int vStart, int vSize, double thetaU, double thetaV) const |
| Return reference to the head pixel in pixel set. | |
| const Pixel & | getTailPixel (const std::set< Pixel > &pixels, int vStart, int vSize, double thetaU, double thetaV) const |
| Return reference to the tail pixel in pixel set. | |
| const Pixel & | getLastPixelWithVOffset (const std::set< Pixel > &pixels, int vStart, int vOffset) const |
| Return reference to the last pixel in pixel set with given vOffset from vStart. | |
| const Pixel & | getFirstPixelWithVOffset (const std::set< Pixel > &pixels, int vStart, int vOffset) const |
| Return reference to the first pixel in pixel set with given vOffset from vStart. | |
| PXDClusterPositionEstimator () | |
| Singleton class, hidden constructor. | |
| PXDClusterPositionEstimator (const PXDClusterPositionEstimator &)=delete | |
| Singleton class, forbidden copy constructor. | |
| PXDClusterPositionEstimator & | operator= (const PXDClusterPositionEstimator &)=delete |
| Singleton class, forbidden assignment operator. | |
Private Attributes | |
| std::unique_ptr< DBObjPtr< PXDClusterShapeIndexPar > > | m_shapeIndexFromDB |
| PXDClusterShapeIndex retrieved from DB. | |
| std::unique_ptr< DBObjPtr< PXDClusterPositionEstimatorPar > > | m_positionEstimatorFromDB |
| PXDClusterPositionEstimatorPar retrieved from DB. | |
| PXDClusterShapeIndexPar | m_shapeIndexPar |
| Current valid PXDClusterShapeIndex. | |
| PXDClusterPositionEstimatorPar | m_positionEstimatorPar |
| Currrent valid PXDClusterPositionEstimatorPar. | |
Singleton class that estimates cluster positions taking into account the estimated track incidence angles into the sensor.
The class also provides an interface to get the likelyhood that a given cluster was created by a charged track with given incidence angles.
Definition at line 33 of file PXDClusterPositionEstimator.h.
| int getSectorIndex | ( | double | thetaU, |
| double | thetaV | ||
| ) | const |
Get sector index from angles.
Sectors in thetaU and thetaV are numbered ++, -+, –, +-.
Definition at line 291 of file PXDClusterPositionEstimator.cc.