StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuFttPoint.cxx
1 /***************************************************************************
2  *
3  * StMuFttPoint.cxx
4  *
5  * Author: jdb 2021
6  ***************************************************************************
7  *
8  * Description: Implementation of StMuFttPoint, the StEvent point structure
9  *
10  ***************************************************************************/
11 #include "StMuFttPoint.h"
12 #include "St_base/StMessMgr.h"
13 #include "StEvent/StFttPoint.h"
14 
15 ClassImp(StMuFttPoint)
16 
17 StMuFttPoint::StMuFttPoint() : TObject() { /* no op */ }
18 
19 StMuFttPoint::~StMuFttPoint() { /* no op */ }
20 
21 void StMuFttPoint::print(int opt) {
22 }
23 
24 void StMuFttPoint::set( StFttPoint *point ){
25  mPlane = point->plane();
26  mQuadrant = point->quadrant();
27  mX = point->x();
28  mY = point->y();
29  mXYZ = TVector3( point->xyz().x(), point->xyz().y(), point->xyz().z() );
30  mIdTruth = point->idTruth();
31  mQaTruth = point->qaTruth();
32 } // set from StEvent