BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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
10#include "FairHit.h"
11#include "MpdEventManager.h"
12#include "TEveManager.h"
13
14#include <iostream>
15using namespace std;
16
18{
19 FairHit* hit = (FairHit*)obj;
20 if (fVerbose > 2)
21 cout << "MpdHitPointSetDraw::GetVector(): " << hit->GetX() << " " << hit->GetY() << " " << hit->GetZ() << endl;
22
23 return TVector3(hit->GetX(), hit->GetY(), hit->GetZ());
24}
25
27{
28 fEventManager->AddEventElement(fq, RecoPointList);
29 return;
30}
31
33{
34 gEve->RemoveElement(fq, fEventManager->EveRecoPoints);
35 return;
36}
R__EXTERN TEveManager * gEve
TVector3 GetVector(TObject *obj)
TEvePointSet * fq
MpdEventManager * fEventManager
@ RecoPointList
Definition json.hpp:4446