FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairMCPointDraw.cxx
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 /*
9  * FairMCPointsDraw.cpp
10  *
11  * Created on: Apr 17, 2009
12  * Author: stockman
13  */
14 
15 #include "FairMCPointDraw.h"
16 
17 #include "FairMCPoint.h" // for FairMCPoint
18 
19 #include <TClonesArray.h>
20 #include <TObject.h>
21 #include <TVector3.h> // for TVector3
22 
24 {
25  // TODO Auto-generated constructor stub
26 }
27 
29 {
30  // TODO Auto-generated destructor stub
31 }
32 
33 TVector3 FairMCPointDraw::GetVector(TObject* obj)
34 {
35  FairMCPoint* p = static_cast<FairMCPoint*>(obj);
36  return TVector3(p->GetX(), p->GetY(), p->GetZ());
37 }
38 
Double_t GetZ() const
Definition: FairMCPoint.h:69
virtual ~FairMCPointDraw()
Double_t GetX() const
Definition: FairMCPoint.h:67
ClassImp(FairEventBuilder)
TVector3 GetVector(TObject *obj)
Double_t GetY() const
Definition: FairMCPoint.h:68