EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairHitPointSetDraw.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairHitPointSetDraw.cxx
1 /*
2  * FairMCPointsDraw.cpp
3  *
4  * Created on: Apr 17, 2009
5  * Author: stockman
6  */
7 
8 #include "FairHitPointSetDraw.h"
9 
10 #include "FairHit.h"
11 
12 #include <iostream>
13 using std::cout;
14 using std::endl;
15 
17 {
18  // TODO Auto-generated constructor stub
19 
20 }
21 
23 {
24  // TODO Auto-generated destructor stub
25 }
26 
28 {
29  FairHit* p = (FairHit*)obj;
30  if (fVerbose > 1) {
31  cout << "-I- FairHitPointSetDraw::GetVector: " << p->GetX() << " " << p->GetY() << " " << p->GetZ() << endl;
32  }
33  return TVector3(p->GetX(), p->GetY(), p->GetZ());
34 }
35 
36