CbmRoot
Loading...
Searching...
No Matches
CbmPixelHitSetDraw.cxx
Go to the documentation of this file.
1/* Copyright (C) 2009-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer] */
4
6
7#include "CbmPixelHit.h" // for CbmPixelHit
8
9#include <Logger.h> // for LOG, Logger
10
11#include <Rtypes.h> // for ClassImp
12#include <TVector3.h> // for TVector3
13
15
17
18TVector3 CbmPixelHitSetDraw::GetVector(TObject* obj)
19{
20 CbmPixelHit* p = (CbmPixelHit*) obj;
21 LOG(debug) << "-I- CbmPixelHitSetDraw::GetVector: " << p->GetX() << " " << p->GetY() << " " << p->GetZ();
22 return TVector3(p->GetX(), p->GetY(), p->GetZ());
23}
24
25
ClassImp(CbmConverterManager)
double GetZ() const
Definition CbmHit.h:71
TVector3 GetVector(TObject *obj)
double GetY() const
Definition CbmPixelHit.h:74
double GetX() const
Definition CbmPixelHit.h:73