Belle II Software  release-08-01-10
DedxDriftCell Class Reference

A class to hold the geometry of a cell. More...

#include <LineHelper.h>

Collaboration diagram for DedxDriftCell:

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
 

Detailed Description

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.


The documentation for this class was generated from the following file: