15 #include "StThreeVectorD.hh"
18 #include "StContainers.h"
27 UChar_t plane()
const;
28 UChar_t quadrant()
const;
31 size_t nClusters()
const;
34 UShort_t idTruth()
const {
return mIdTruth; }
35 UShort_t qaTruth()
const {
return mQaTruth; }
37 void setPlane(UChar_t plane);
38 void setQuadrant(UChar_t quad);
43 void setIdTruth(UShort_t
id) { mIdTruth = id; }
44 void setQaTruth(UShort_t qa) { mQaTruth = qa; }
46 void print(
int option=0);
61 inline UChar_t StFttPoint::plane()
const {
return mPlane; }
62 inline UChar_t StFttPoint::quadrant()
const {
return mQuadrant; }
63 inline float StFttPoint::x()
const {
return mX; }
64 inline float StFttPoint::y()
const {
return mY; }
65 inline StFttCluster* StFttPoint::cluster(
size_t i ) {
if ( i < 4 )
return mClusters[i];
return nullptr; }
66 inline const StThreeVectorD& StFttPoint::xyz()
const {
return mXYZ; }
67 inline void StFttPoint::setPlane(UChar_t plane) { mPlane = plane; }
68 inline void StFttPoint::setQuadrant(UChar_t quadrant) { mQuadrant = quadrant; }
69 inline void StFttPoint::setX(
float xpos) { mX = xpos; }
70 inline void StFttPoint::setY(
float ypos) { mY = ypos; }
71 inline void StFttPoint::addCluster(
StFttCluster* cluster, UChar_t dir) { mClusters[dir] = (cluster); }
72 inline void StFttPoint::setXYZ(
const StThreeVectorD& p3) { mXYZ = p3; }
74 #endif // StFttPoint_h