BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
MpdMCPointDraw.cxx
Go to the documentation of this file.
1
/*
2
* FairMCPointsDraw.cpp
3
*
4
* Created on: Apr 17, 2009
5
* Author: stockman
6
*/
7
8
#include "
MpdMCPointDraw.h
"
9
10
#include "FairMCPoint.h"
11
#include "
MpdEventManager.h
"
12
#include "
TEveManager.h
"
13
14
TVector3
MpdMCPointDraw::GetVector
(
TObject
* obj)
15
{
16
FairMCPoint
* p = (
FairMCPoint
*)obj;
17
return
TVector3
(p->GetX(), p->GetY(), p->GetZ());
18
}
19
20
void
MpdMCPointDraw::AddEveElementList
()
21
{
22
fEventManager
->AddEventElement(
fq
,
MCPointList
);
23
return
;
24
}
25
26
void
MpdMCPointDraw::RemoveEveElementList
()
27
{
28
gEve
->RemoveElement(
fq
,
fEventManager
->EveMCPoints);
29
return
;
30
}
TEveManager.h
gEve
R__EXTERN TEveManager * gEve
FairMCPoint
MpdMCPointDraw::AddEveElementList
void AddEveElementList()
Definition
MpdMCPointDraw.cxx:20
MpdMCPointDraw::RemoveEveElementList
void RemoveEveElementList()
Definition
MpdMCPointDraw.cxx:26
MpdMCPointDraw::GetVector
TVector3 GetVector(TObject *obj)
Definition
MpdMCPointDraw.cxx:14
MpdPointSetDraw::fq
TEvePointSet * fq
Definition
MpdPointSetDraw.h:60
MpdPointSetDraw::fEventManager
MpdEventManager * fEventManager
Definition
MpdPointSetDraw.h:58
TObject
TVector3
MpdEventManager.h
MCPointList
@ MCPointList
Definition
MpdEventManager.h:24
MpdMCPointDraw.h
eventdisplay
MpdMCPointDraw.cxx
Generated on
for BmnRoot by
1.17.0