CbmRoot
CbmPixelHitSetDraw.cxx
Go to the documentation of this file.
1 #include "CbmPixelHitSetDraw.h"
2 
3 #include "CbmPixelHit.h" // for CbmPixelHit
4 
5 #include <FairLogger.h> // for LOG, Logger
6 
7 #include <Rtypes.h> // for ClassImp
8 #include <TVector3.h> // for TVector3
9 
11 
13 
14 TVector3 CbmPixelHitSetDraw::GetVector(TObject* obj) {
15  CbmPixelHit* p = (CbmPixelHit*) obj;
16  LOG(debug) << "-I- CbmPixelHitSetDraw::GetVector: " << p->GetX() << " "
17  << p->GetY() << " " << p->GetZ();
18  return TVector3(p->GetX(), p->GetY(), p->GetZ());
19 }
20 
21 
CbmHit::GetZ
Double_t GetZ() const
Definition: CbmHit.h:70
CbmPixelHit::GetX
Double_t GetX() const
Definition: CbmPixelHit.h:83
CbmPixelHitSetDraw::CbmPixelHitSetDraw
CbmPixelHitSetDraw()
Definition: CbmPixelHitSetDraw.cxx:10
CbmPixelHit::GetY
Double_t GetY() const
Definition: CbmPixelHit.h:84
CbmPixelHitSetDraw.h
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition: CbmConverterManager.cxx:12
CbmPixelHit.h
CbmPixelHit
Definition: CbmPixelHit.h:21
CbmPixelHitSetDraw::GetVector
TVector3 GetVector(TObject *obj)
Definition: CbmPixelHitSetDraw.cxx:14
CbmPixelHitSetDraw::~CbmPixelHitSetDraw
virtual ~CbmPixelHitSetDraw()
Definition: CbmPixelHitSetDraw.cxx:12
CbmPixelHitSetDraw
Definition: CbmPixelHitSetDraw.h:12