BmnRoot
Loading...
Searching...
No Matches
MpdHitPointSetDraw.cxx
Go to the documentation of this file.
1/*
2 * FairMCPointsDraw.cpp
3 *
4 * Created on: Apr 17, 2009
5 * Author: stockman
6 */
7
9#include "MpdEventManager.h"
10
11#include "FairHit.h"
12
13#include "TEveManager.h"
14
15#include <iostream>
16using namespace std;
17
18
19TVector3 MpdHitPointSetDraw::GetVector(TObject* obj)
20{
21 FairHit* hit = (FairHit*) obj;
22 if (fVerbose > 2) cout<<"MpdHitPointSetDraw::GetVector(): "<<hit->GetX()<<" "<<hit->GetY()<<" "<<hit->GetZ()<<endl;
23
24 return TVector3(hit->GetX(), hit->GetY(), hit->GetZ());
25}
26
32
34{
35 gEve->RemoveElement(fq, fEventManager->EveRecoPoints);
36 return;
37}
TEveElementList * EveRecoPoints
void AddEventElement(TEveElement *element, ElementList element_list)
TVector3 GetVector(TObject *obj)
TEvePointSet * fq
MpdEventManager * fEventManager
@ RecoPointList
STL namespace.