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
16TVector3 MpdMCPointDraw::GetVector(TObject* obj)
17{
18 FairMCPoint* p = (FairMCPoint*) obj;
19 return TVector3(p->GetX(), p->GetY(), p->GetZ());
20}
21
27
29{
30 gEve->RemoveElement(fq, fEventManager->EveMCPoints);
31 return;
32}
void AddEventElement(TEveElement *element, ElementList element_list)
TEveElementList * EveMCPoints
void RemoveEveElementList()
TVector3 GetVector(TObject *obj)
TEvePointSet * fq
MpdEventManager * fEventManager
@ MCPointList