BmnRoot
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
#include "
MpdEventManager.h
"
10
11
#include "FairMCPoint.h"
12
13
#include "TEveManager.h"
14
15
16
TVector3
MpdMCPointDraw::GetVector
(TObject* obj)
17
{
18
FairMCPoint* p = (FairMCPoint*) obj;
19
return
TVector3(p->GetX(), p->GetY(), p->GetZ());
20
}
21
22
void
MpdMCPointDraw::AddEveElementList
()
23
{
24
fEventManager
->
AddEventElement
(
fq
,
MCPointList
);
25
return
;
26
}
27
28
void
MpdMCPointDraw::RemoveEveElementList
()
29
{
30
gEve->RemoveElement(
fq
,
fEventManager
->
EveMCPoints
);
31
return
;
32
}
MpdEventManager::AddEventElement
void AddEventElement(TEveElement *element, ElementList element_list)
Definition
MpdEventManager.cxx:736
MpdEventManager::EveMCPoints
TEveElementList * EveMCPoints
Definition
MpdEventManager.h:119
MpdMCPointDraw::AddEveElementList
void AddEveElementList()
Definition
MpdMCPointDraw.cxx:22
MpdMCPointDraw::RemoveEveElementList
void RemoveEveElementList()
Definition
MpdMCPointDraw.cxx:28
MpdMCPointDraw::GetVector
TVector3 GetVector(TObject *obj)
Definition
MpdMCPointDraw.cxx:16
MpdPointSetDraw::fq
TEvePointSet * fq
Definition
MpdPointSetDraw.h:63
MpdPointSetDraw::fEventManager
MpdEventManager * fEventManager
Definition
MpdPointSetDraw.h:61
MCPointList
@ MCPointList
Definition
MpdEventManager.h:23
MpdEventManager.h
MpdMCPointDraw.h
eventdisplay
MpdMCPointDraw.cxx
Generated on Fri May 15 2026 10:40:53 for BmnRoot by
1.9.8