BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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
15{
16 FairMCPoint* p = (FairMCPoint*)obj;
17 return TVector3(p->GetX(), p->GetY(), p->GetZ());
18}
19
21{
22 fEventManager->AddEventElement(fq, MCPointList);
23 return;
24}
25
27{
28 gEve->RemoveElement(fq, fEventManager->EveMCPoints);
29 return;
30}
R__EXTERN TEveManager * gEve
void RemoveEveElementList()
TVector3 GetVector(TObject *obj)
TEvePointSet * fq
MpdEventManager * fEventManager
@ MCPointList