FairRoot/PandaRoot
|
#include <PndGeoHitList.h>
Public Member Functions | |
PndGeoHitList () | |
PndGeoHitList (TString groupName, TString topNodeName, TGeoVolume *baseVolume) | |
virtual | ~PndGeoHitList () |
PndGeoHitList (const PndGeoHitList &)=delete | |
PndGeoHitList & | operator= (const PndGeoHitList &)=delete |
void | CreateNewGroup (TString groupName, TString topNodeName, TGeoVolume *baseVolume) |
void | AddHit (FairHit *hit, Bool_t vis=kTRUE) |
void | AddHit (Double_t x, Double_t y, Double_t z, Bool_t vis=kTRUE) |
void | AddHit (TGeoMatrix *mat, Bool_t vis=kTRUE) |
void | AddHits (TClonesArray *hitList, Bool_t vis=kTRUE) |
void | SetHits (TClonesArray *hitList, Bool_t vis=kTRUE) |
void | RemoveGeoHits (Int_t from) |
void | CreateGeoHit (TGeoMatrix *mat) |
TString | GetName () const |
const std::vector< TGeoNode * > | GetNodes () const |
void | SetVisibility (TString NodeName, bool value) |
void | SetVisibility (TGeoHMatrix pos, bool value) |
void | SetVisibility (Int_t id, bool value) |
void | SetAllInvisible () |
Int_t | GetNodeId (TString NodeName) |
Int_t | GetNodeId (TGeoHMatrix pos) |
Private Member Functions | |
void | CreateGeoHits (Int_t number) |
void | SetGeoHitsInvisible (Int_t from) |
ClassDef (PndGeoHitList, 1) | |
Private Attributes | |
TString | fGroupName |
TString | fVolName |
std::vector< TGeoNode * > | fNodeList |
TGeoVolume * | fGroupVolume |
TGeoVolume * | fTopVolume |
TGeoVolume * | fBaseVolume |
Definition at line 16 of file PndGeoHitList.h.
PndGeoHitList::PndGeoHitList | ( | ) |
Definition at line 7 of file PndGeoHitList.cxx.
Definition at line 17 of file PndGeoHitList.cxx.
References CreateNewGroup().
|
virtual |
Definition at line 28 of file PndGeoHitList.cxx.
|
delete |
void PndGeoHitList::AddHit | ( | FairHit * | hit, |
Bool_t | vis = kTRUE |
||
) |
Definition at line 49 of file PndGeoHitList.cxx.
void PndGeoHitList::AddHit | ( | TGeoMatrix * | mat, |
Bool_t | vis = kTRUE |
||
) |
void PndGeoHitList::AddHits | ( | TClonesArray * | hitList, |
Bool_t | vis = kTRUE |
||
) |
|
private |
void PndGeoHitList::CreateGeoHit | ( | TGeoMatrix * | mat | ) |
Definition at line 100 of file PndGeoHitList.cxx.
References fBaseVolume, fGroupVolume, fNodeList, and fVolName.
Referenced by AddHit(), and CreateGeoHits().
|
private |
Definition at line 115 of file PndGeoHitList.cxx.
References CreateGeoHit(), i, and tr.
Referenced by AddHit(), AddHits(), and SetHits().
void PndGeoHitList::CreateNewGroup | ( | TString | groupName, |
TString | topNodeName, | ||
TGeoVolume * | baseVolume | ||
) |
Definition at line 32 of file PndGeoHitList.cxx.
References fBaseVolume, fGroupName, fGroupVolume, fTopVolume, fVolName, and gGeoManager.
Referenced by PndGeoHitList().
|
inline |
Int_t PndGeoHitList::GetNodeId | ( | TString | NodeName | ) |
Definition at line 187 of file PndGeoHitList.cxx.
References fNodeList, GetName(), and i.
Referenced by SetVisibility().
Int_t PndGeoHitList::GetNodeId | ( | TGeoHMatrix | pos | ) |
|
inline |
|
delete |
void PndGeoHitList::RemoveGeoHits | ( | Int_t | from | ) |
Definition at line 138 of file PndGeoHitList.cxx.
References fGroupVolume, fNodeList, and i.
Referenced by SetHits().
void PndGeoHitList::SetAllInvisible | ( | ) |
Definition at line 182 of file PndGeoHitList.cxx.
References SetGeoHitsInvisible().
|
private |
Definition at line 149 of file PndGeoHitList.cxx.
References fNodeList, i, and SetVisibility().
Referenced by SetAllInvisible().
void PndGeoHitList::SetHits | ( | TClonesArray * | hitList, |
Bool_t | vis = kTRUE |
||
) |
Definition at line 83 of file PndGeoHitList.cxx.
References CreateGeoHits(), fNodeList, i, RemoveGeoHits(), and tr.
void PndGeoHitList::SetVisibility | ( | TString | NodeName, |
bool | value | ||
) |
Definition at line 156 of file PndGeoHitList.cxx.
References GetNodeId().
Referenced by SetGeoHitsInvisible(), and SetVisibility().
void PndGeoHitList::SetVisibility | ( | TGeoHMatrix | pos, |
bool | value | ||
) |
Definition at line 165 of file PndGeoHitList.cxx.
References GetNodeId(), and SetVisibility().
void PndGeoHitList::SetVisibility | ( | Int_t | id, |
bool | value | ||
) |
Definition at line 174 of file PndGeoHitList.cxx.
References fNodeList, and SetVisibility().
|
private |
Definition at line 50 of file PndGeoHitList.h.
Referenced by CreateGeoHit(), and CreateNewGroup().
|
private |
Definition at line 45 of file PndGeoHitList.h.
Referenced by CreateNewGroup(), and GetName().
|
private |
Definition at line 48 of file PndGeoHitList.h.
Referenced by CreateGeoHit(), CreateNewGroup(), and RemoveGeoHits().
|
private |
Definition at line 47 of file PndGeoHitList.h.
Referenced by AddHit(), AddHits(), CreateGeoHit(), GetNodeId(), GetNodes(), RemoveGeoHits(), SetGeoHitsInvisible(), SetHits(), and SetVisibility().
|
private |
Definition at line 49 of file PndGeoHitList.h.
Referenced by CreateNewGroup().
|
private |
Definition at line 46 of file PndGeoHitList.h.
Referenced by CreateGeoHit(), and CreateNewGroup().