Belle II Software development
|
A class to hold the geometry of a cell. More...
#include <LineHelper.h>
Public Member Functions | |
DedxDriftCell (const DedxLine &left, const DedxLine &top, const DedxLine &right, const DedxLine &bot) | |
Construct a DedxDriftCell from four different DedxLines (sides) | |
DedxDriftCell (const DedxPoint &tl, const DedxPoint &tr, const DedxPoint &br, const DedxPoint &bl) | |
Construct a DedxDriftCell from four different DedxPoints (corners) | |
bool | isValid () |
Check if this is a valid calculation (number of intersections = 2) | |
double | dx (const DedxPoint &poca, double entAng) |
Calculate the path length through this cell for a track with a given DedxPoint Of Closest Approach (poca) and entrance angle (entAng) | |
double | dx (double doca, double entAng) |
Calculate the path length through this cell for a track with a given Distance Of Closest Approach (doca) and entrance angle (entAng) | |
Private Attributes | |
DedxLine | m_Left |
the left boundary of the cell | |
DedxLine | m_Top |
the left boundary of the cell | |
DedxLine | m_Right |
the left boundary of the cell | |
DedxLine | m_Bot |
the left boundary of the cell | |
bool | m_isValid |
does the hit land in this cell | |
A class to hold the geometry of a cell.
This class is used to actually calculate the path length of a track moving through a given cell.
Definition at line 186 of file LineHelper.h.
|
inline |
Construct a DedxDriftCell from four different DedxLines (sides)
Definition at line 191 of file LineHelper.h.
|
inline |
Construct a DedxDriftCell from four different DedxPoints (corners)
Definition at line 195 of file LineHelper.h.
|
inline |
Calculate the path length through this cell for a track with a given DedxPoint Of Closest Approach (poca) and entrance angle (entAng)
Definition at line 203 of file LineHelper.h.
|
inline |
Calculate the path length through this cell for a track with a given Distance Of Closest Approach (doca) and entrance angle (entAng)
Definition at line 241 of file LineHelper.h.
|
inline |
Check if this is a valid calculation (number of intersections = 2)
Definition at line 199 of file LineHelper.h.
|
private |
the left boundary of the cell
Definition at line 283 of file LineHelper.h.
|
private |
does the hit land in this cell
Definition at line 284 of file LineHelper.h.
|
private |
the left boundary of the cell
Definition at line 280 of file LineHelper.h.
|
private |
the left boundary of the cell
Definition at line 282 of file LineHelper.h.
|
private |
the left boundary of the cell
Definition at line 281 of file LineHelper.h.