FairRoot/PandaRoot
|
display of hits inside the gGeoManager More...
#include <PndEventDisplay.h>
Public Member Functions | |
PndEventDisplay () | |
PndEventDisplay (PndEventDisplay &display) | |
virtual | ~PndEventDisplay () |
void | AddNewGroup (TString groupName, PndGeoHitList *newList) |
void | AddHit (TString groupName, FairHit *hit, Bool_t vis=kTRUE) |
void | AddHit (TString groupName, Double_t x, Double_t y, Double_t z, Bool_t vis=kTRUE) |
void | AddHit (TString groupName, TGeoMatrix *mat, Bool_t vis=kTRUE) |
void | AddHits (TString groupName, TClonesArray *hits, Bool_t vis=kTRUE) |
void | SetHits (TString groupName, TClonesArray *hits, Bool_t vis=kTRUE) |
void | ClearHits (TString groupName) |
PndGeoHitList * | GetHitList (TString ListName) |
std::map< TString, PndGeoHitList * > | GetHitListMap () |
PndEventDisplay & | operator= (PndEventDisplay &display) |
Private Member Functions | |
ClassDef (PndEventDisplay, 1) | |
Private Attributes | |
std::map< TString, PndGeoHitList * > | fHitListMap |
display of hits inside the gGeoManager
This class allows the display of event information within the gGeoManager. First a new group has to be created via the AddNewGroup command. A Group contains a unique name for the informations which should be displayed and a pointer to a PndGeoHitList. After the creation of the group hits can be added to the group by the name of the group and various imput possibilities.
Definition at line 25 of file PndEventDisplay.h.
PndEventDisplay::PndEventDisplay | ( | ) |
Definition at line 5 of file PndEventDisplay.cxx.
PndEventDisplay::PndEventDisplay | ( | PndEventDisplay & | display | ) |
Definition at line 9 of file PndEventDisplay.cxx.
|
virtual |
Definition at line 13 of file PndEventDisplay.cxx.
Definition at line 22 of file PndEventDisplay.cxx.
References fHitListMap.
Referenced by PndMvdAllDataEventAna::Create3DGeoHits().
void PndEventDisplay::AddHit | ( | TString | groupName, |
Double_t | x, | ||
Double_t | y, | ||
Double_t | z, | ||
Bool_t | vis = kTRUE |
||
) |
Definition at line 27 of file PndEventDisplay.cxx.
References fHitListMap.
Definition at line 32 of file PndEventDisplay.cxx.
References fHitListMap.
Definition at line 37 of file PndEventDisplay.cxx.
References fHitListMap.
void PndEventDisplay::AddNewGroup | ( | TString | groupName, |
PndGeoHitList * | newList | ||
) |
Definition at line 17 of file PndEventDisplay.cxx.
References fHitListMap.
Referenced by PndMvdAllDataEventAna::PndMvdAllDataEventAna().
|
private |
void PndEventDisplay::ClearHits | ( | TString | groupName | ) |
Definition at line 47 of file PndEventDisplay.cxx.
References fHitListMap.
Referenced by PndMvdAllDataEventAna::ClearHistos().
PndGeoHitList * PndEventDisplay::GetHitList | ( | TString | ListName | ) |
Definition at line 52 of file PndEventDisplay.cxx.
References fHitListMap.
|
inline |
Definition at line 41 of file PndEventDisplay.h.
References fHitListMap.
Referenced by operator=().
|
inline |
Definition at line 42 of file PndEventDisplay.h.
References fHitListMap, and GetHitListMap().
Definition at line 42 of file PndEventDisplay.cxx.
References fHitListMap.
Referenced by PndMvdAllDataEventAna::Create3DGeoHits().
|
private |
Definition at line 42 of file PndEventDisplay.h.
Referenced by AddHit(), AddHits(), AddNewGroup(), ClearHits(), GetHitList(), GetHitListMap(), operator=(), and SetHits().