FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairHitPointSetDraw.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 "
FairHitPointSetDraw.h
"
16
17
#include "
FairHit.h
"
// for FairHit
18
19
#include <TClonesArray.h>
20
#include <TObject.h>
21
#include <TVector3.h>
// for TVector3
22
#include <fairlogger/Logger.h>
23
24
FairHitPointSetDraw::FairHitPointSetDraw
()
25
{
26
// TODO Auto-generated constructor stub
27
}
28
29
FairHitPointSetDraw::~FairHitPointSetDraw
()
30
{
31
// TODO Auto-generated destructor stub
32
}
33
34
TVector3
FairHitPointSetDraw::GetVector
(TObject* obj)
35
{
36
FairHit
* p =
static_cast<
FairHit
*
>
(obj);
37
LOG(debug) <<
"-I- FairHitPointSetDraw::GetVector: "
<< p->
GetX
() <<
" "
<< p->
GetY
() <<
" "
<< p->
GetZ
();
38
39
return
TVector3(p->
GetX
(), p->
GetY
(), p->
GetZ
());
40
}
41
42
ClassImp
(
FairHitPointSetDraw
);
FairHitPointSetDraw.h
FairHit::GetZ
Double_t GetZ() const
Definition:
FairHit.h:50
FairHitPointSetDraw::~FairHitPointSetDraw
virtual ~FairHitPointSetDraw()
Definition:
FairHitPointSetDraw.cxx:29
ClassImp
ClassImp(FairEventBuilder)
FairHit::GetX
Double_t GetX() const
Definition:
FairHit.h:48
FairHit.h
FairHit
Definition:
FairHit.h:29
FairHitPointSetDraw::GetVector
TVector3 GetVector(TObject *obj)
Definition:
FairHitPointSetDraw.cxx:34
FairHit::GetY
Double_t GetY() const
Definition:
FairHit.h:49
FairHitPointSetDraw::FairHitPointSetDraw
FairHitPointSetDraw()
Definition:
FairHitPointSetDraw.cxx:24
FairHitPointSetDraw
Definition:
FairHitPointSetDraw.h:26
FairRoot
eventdisplay
FairHitPointSetDraw.cxx
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5