PandaRoot
PndEventDisplay Class Reference

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)
 
PndGeoHitListGetHitList (TString ListName)
 
std::map< TString, PndGeoHitList * > GetHitListMap ()
 
PndEventDisplayoperator= (PndEventDisplay &display)
 

Detailed Description

display of hits inside the gGeoManager

PndEventDisplay

Author
Tobias Stockmanns t.sto.nosp@m.ckma.nosp@m.nns@f.nosp@m.z-ju.nosp@m.elich.nosp@m..de
Since
29.10.2007

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.

Constructor & Destructor Documentation

◆ PndEventDisplay() [1/2]

PndEventDisplay::PndEventDisplay ( )

◆ PndEventDisplay() [2/2]

PndEventDisplay::PndEventDisplay ( PndEventDisplay display)

◆ ~PndEventDisplay()

virtual PndEventDisplay::~PndEventDisplay ( )
virtual

Member Function Documentation

◆ AddHit() [1/3]

void PndEventDisplay::AddHit ( TString  groupName,
FairHit *  hit,
Bool_t  vis = kTRUE 
)

◆ AddHit() [2/3]

void PndEventDisplay::AddHit ( TString  groupName,
Double_t  x,
Double_t  y,
Double_t  z,
Bool_t  vis = kTRUE 
)

◆ AddHit() [3/3]

void PndEventDisplay::AddHit ( TString  groupName,
TGeoMatrix *  mat,
Bool_t  vis = kTRUE 
)

◆ AddHits()

void PndEventDisplay::AddHits ( TString  groupName,
TClonesArray *  hits,
Bool_t  vis = kTRUE 
)

◆ AddNewGroup()

void PndEventDisplay::AddNewGroup ( TString  groupName,
PndGeoHitList newList 
)

◆ ClearHits()

void PndEventDisplay::ClearHits ( TString  groupName)

◆ GetHitList()

PndGeoHitList* PndEventDisplay::GetHitList ( TString  ListName)

◆ GetHitListMap()

std::map<TString, PndGeoHitList *> PndEventDisplay::GetHitListMap ( )
inline

Definition at line 40 of file PndEventDisplay.h.

Referenced by operator=().

40 { return fHitListMap; };

◆ operator=()

PndEventDisplay& PndEventDisplay::operator= ( PndEventDisplay display)
inline

Definition at line 41 of file PndEventDisplay.h.

References GetHitListMap().

42  {
43  fHitListMap = display.GetHitListMap();
44  return *this;
45  };
std::map< TString, PndGeoHitList * > GetHitListMap()

◆ SetHits()

void PndEventDisplay::SetHits ( TString  groupName,
TClonesArray *  hits,
Bool_t  vis = kTRUE 
)

The documentation for this class was generated from the following file: