FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairHitDraw.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
* FairHitDraw.cpp
10
*
11
* Created on: Apr 16, 2009
12
* Author: stockman
13
*/
14
15
#include "
FairHitDraw.h
"
16
17
#include "
FairHit.h
"
// for FairHit
18
19
class
TObject;
20
21
FairHitDraw::FairHitDraw
() {}
22
23
FairHitDraw::FairHitDraw
(
const
char
* name,
FairDataSourceI
* dataSource, Int_t iVerbose)
24
:
FairBoxSetDraw
(name, dataSource, iVerbose)
25
{}
26
27
FairHitDraw::FairHitDraw
(
const
char
* name, Int_t iVerbose)
28
:
FairBoxSetDraw
(name, iVerbose)
29
{}
30
31
TVector3
FairHitDraw::GetVector
(TObject* obj)
32
{
33
FairHit
* hit =
static_cast<
FairHit
*
>
(obj);
34
return
TVector3(hit->
GetX
(), hit->
GetY
(), hit->
GetZ
());
35
}
36
37
ClassImp
(
FairHitDraw
);
FairHit::GetZ
Double_t GetZ() const
Definition:
FairHit.h:50
FairHitDraw.h
ClassImp
ClassImp(FairEventBuilder)
FairHit::GetX
Double_t GetX() const
Definition:
FairHit.h:48
FairHit.h
FairBoxSetDraw
Definition:
FairBoxSetDraw.h:40
FairHit
Definition:
FairHit.h:29
FairDataSourceI
Abstract interface class to handle different input data for event and timebased data.
Definition:
FairDataSourceI.h:21
FairHitDraw::GetVector
TVector3 GetVector(TObject *obj)
Definition:
FairHitDraw.cxx:31
FairHit::GetY
Double_t GetY() const
Definition:
FairHit.h:49
FairHitDraw::FairHitDraw
FairHitDraw()
Definition:
FairHitDraw.cxx:21
FairHitDraw
Definition:
FairHitDraw.h:27
FairRoot
eventdisplay
FairHitDraw.cxx
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5