1 #ifndef VXDClusterParameters_h
2 #define VXDClusterParameters_h 1
5 #include "LCRTRelations.h"
21 class VXDClusterParameters {
29 VXDClusterParameters(const gear::Vector3D& localPos,
30 const gear::Vector3D& a, const gear::Vector3D& b,
34 gear::Vector3D getClusterPosition() {return _localPos ; }
35 gear::Vector3D getClusterAxisA() {return _cluAxisA ; }
36 gear::Vector3D getClusterAxisB() {return _cluAxisB ; }
38 int getLayerId() { return _layerId ; }
39 int getLadderId() { return _ladderId ; }
46 bool isPointInClusterEllipse(const gear::Vector3D& pos) ;
50 VXDClusterParameters() :
58 gear::Vector3D _localPos{}; // position of hit on ladder
59 gear::Vector3D _cluAxisA{};
60 gear::Vector3D _cluAxisB{};
70 struct ClusterParams: public lcio::LCOwnedExtension< ClusterParams, VXDClusterParameters > {};