All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
VXDClusterParameters Class Reference

#include <VXDClusterParameters.h>

Public Member Functions

 VXDClusterParameters (const gear::Vector3D &localPos, const gear::Vector3D &a, const gear::Vector3D &b, int lay, int lad)
 The standard constructor: takes the position of the hit in ladder coordinates and the cluster axes in ladder coordinates. More...
 
gear::Vector3D getClusterPosition ()
 
gear::Vector3D getClusterAxisA ()
 
gear::Vector3D getClusterAxisB ()
 
int getLayerId ()
 
int getLadderId ()
 
bool isPointInClusterEllipse (const gear::Vector3D &pos)
 True, if the 2D projection to the ladder surface of the given position is within the ellipse defined by the two cluster axes. More...
 

Protected Member Functions

 VXDClusterParameters ()
 

Protected Attributes

gear::Vector3D _localPos {}
 
gear::Vector3D _cluAxisA {}
 
gear::Vector3D _cluAxisB {}
 
int _layerId {}
 
int _ladderId {}
 

Detailed Description

Definition at line 21 of file VXDClusterParameters.h.

Constructor & Destructor Documentation

VXDClusterParameters::VXDClusterParameters ( const gear::Vector3D localPos,
const gear::Vector3D a,
const gear::Vector3D b,
int  lay,
int  lad 
)

The standard constructor: takes the position of the hit in ladder coordinates and the cluster axes in ladder coordinates.

Also store the layerId and ladderId for saving cpu time later.

Definition at line 6 of file VXDClusterParameters.cc.

VXDClusterParameters::VXDClusterParameters ( )
inlineprotected

Definition at line 50 of file VXDClusterParameters.h.

Member Function Documentation

gear::Vector3D VXDClusterParameters::getClusterAxisA ( )
inline

Definition at line 35 of file VXDClusterParameters.h.

gear::Vector3D VXDClusterParameters::getClusterAxisB ( )
inline

Definition at line 36 of file VXDClusterParameters.h.

gear::Vector3D VXDClusterParameters::getClusterPosition ( )
inline

Definition at line 34 of file VXDClusterParameters.h.

int VXDClusterParameters::getLadderId ( )
inline

Definition at line 39 of file VXDClusterParameters.h.

int VXDClusterParameters::getLayerId ( )
inline

Definition at line 38 of file VXDClusterParameters.h.

bool VXDClusterParameters::isPointInClusterEllipse ( const gear::Vector3D pos)

True, if the 2D projection to the ladder surface of the given position is within the ellipse defined by the two cluster axes.

Definition at line 27 of file VXDClusterParameters.cc.

Member Data Documentation

gear::Vector3D VXDClusterParameters::_cluAxisA {}
protected

Definition at line 59 of file VXDClusterParameters.h.

gear::Vector3D VXDClusterParameters::_cluAxisB {}
protected

Definition at line 60 of file VXDClusterParameters.h.

int VXDClusterParameters::_ladderId {}
protected

Definition at line 62 of file VXDClusterParameters.h.

int VXDClusterParameters::_layerId {}
protected

Definition at line 61 of file VXDClusterParameters.h.

gear::Vector3D VXDClusterParameters::_localPos {}
protected

Definition at line 58 of file VXDClusterParameters.h.


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