BOSS 6.6.4.p01
BESIII Offline Software System
|
#include <TofROOTGeo.h>
Public Member Functions | |
TofROOTGeo () | |
Constructor. | |
~TofROOTGeo () | |
Destructor. | |
void | InitFromGdml (const char *gdmlFile, const char *setupName) |
Initialize the instance of ROOTGeo. | |
void | SetNode () |
Set the pointers to theirs nodes;. | |
void | SetDefaultVis () |
Set default visual attributes;. | |
void | SetAllVisible () |
Set all visible;. | |
void | SetQuarterVisible () |
Set quater visible;. | |
void | SetPhysicalNode () |
Set the pointers to the physical nodes;. | |
int | GetPartNb () |
Get number of part;. | |
int | GetScinNb (int part) |
Get number of scintillators on each part;. | |
TGeoVolume * | GetVolumeTof () |
Get Tof volume;. | |
TGeoVolumeAssembly * | GetVolumeAssembly (int part) |
Get assembly volume; part=0,2 for AssemblyEc, 1 for AssemblyBr; | |
TGeoVolume * | GetVolumeScin (int part) |
Get scintillator volume;. | |
TGeoVolume * | GetVolumeBucket (int part) |
Get bucket volume;. | |
TGeoNode * | GetScin (int part, int scin) |
Get scintillator node;. | |
TGeoNode * | GetBucket (int part, int scin, int bucket) |
Get bucket node, 0 for west bucket, 1 for the east one;. | |
TGeoPhysicalNode * | GetPhysicalScin (int part, int scin) |
Get scintillator physical node;. | |
TofROOTGeo () | |
Constructor. | |
~TofROOTGeo () | |
Destructor. | |
void | InitFromGDML (const char *gdmlFile, const char *setupName) |
Initialize ROOTGeo from GDML. | |
void | InitFromROOT (TGeoVolume *vol) |
Initialize ROOTGeo from TGeoVolume logicalTof. | |
void | Init2DGeometry () |
Initialize 2D Geometry. | |
void | SetNode () |
Set the pointers to theirs nodes;. | |
void | SetVolumeDefaultVis () |
Set default visual attributes;. | |
void | SetAllVisible () |
Set all visible;. | |
void | SetTMatch (Bool_t input) |
void | SetQMatch (Bool_t input) |
void | SetQuarterVisible () |
Set quater visible;. | |
void | SetHalfVisible () |
Set half visible;. | |
void | SetNoEndVisible () |
Set noend visible;. | |
void | SetPhysicalNode () |
Set the pointers to the physical nodes;. | |
void | SetDetector () |
Draw Detecor (what is detector depends on you) | |
void | SetHits () |
Set all physicalNodes corresponding to digiCol;. | |
void | SetVisTofDetector () |
Set Tof detector visibility;. | |
void | SetVisTofHits () |
Set Tof hits visibility;. | |
int | GetPartNb () |
Get number of part;. | |
int | GetScinNb (int part) |
Get number of scintillators on each part;. | |
int | GetLayerNb (int part) |
void | SetVolumeTof (TGeoVolume *vol) |
Set Tof volume, while initializing from ROOT;. | |
TGeoVolume * | GetVolumeTof () |
Get Tof volume;. | |
TGeoVolume * | GetVolumePart (int part) |
Get assembly volume; part=0,2 for AssemblyEc, 1 for AssemblyBr; | |
TGeoVolume * | GetVolumePVF (int part, int layer) |
Get PVF volume;. | |
TGeoVolume * | GetVolumeAl (int part, int layer) |
Get Al volume;. | |
TGeoVolume * | GetVolumeScin (int part, int layer) |
Get scintillator volume;. | |
TGeoVolume * | GetVolumeBucket (int part, int layer) |
Get bucket volume;. | |
TGeoNode * | GetPVF (int part, int layer, int scin) |
Get PVF node;. | |
TGeoNode * | GetAl (int part, int layer) |
Get Al node;. | |
TGeoNode * | GetScin (int part, int layer) |
Get scintillator node;. | |
TGeoPhysicalNode * | GetPhysicalScin (int part, int layer, int scin) |
Get bucket node, 0 for west bucket, 1 for the east one;. | |
Tof2DScin * | Get2DScin (Int_t part, Int_t layer, Int_t scin) |
Get Tof2DScin;. | |
Int_t | GetPart (TGeoPhysicalNode *phyNode) |
Get part no of a scintillator physcial node. | |
void | Draw (Option_t *option) |
Draw function. | |
void | DrawHits (Option_t *option) |
Draw 2D hits. | |
Public Member Functions inherited from SubDetectorROOTGeo | |
SubDetectorROOTGeo () | |
Constructor. | |
virtual | ~SubDetectorROOTGeo () |
Destructor. | |
void | ReadGdml (const char *gdmlFile, const char *setupName) |
Initialize the instance of ROOTGeo. | |
int | IsInitialized () |
If the ROOT geometry of this subdetctor is initialized;. | |
void | SetChildNo (int childNo) |
TGeoVolume * | GetLogicalVolume (const std::string &vn) |
Get a logical volume by name;. | |
TGeoVolume * | GetTopVolume () |
Get the top(world) volume;. | |
TGeoVolumeAssembly * | GetAssemblyVolume (const std::string &an) |
Get an assembly by name;. | |
TGeoNode * | GetNode (const std::string &nn) |
Get a node(physical volume) by name;. | |
SubDetectorROOTGeo () | |
Constructor. | |
virtual | ~SubDetectorROOTGeo () |
Destructor. | |
virtual void | ReadGdml (const char *gdmlFile, const char *setupName) |
Initialize the instance of ROOTGeo. | |
virtual int | IsInitialized () |
If the ROOT geometry of this subdetctor is initialized;. | |
virtual void | SetChildNo (int childNo) |
virtual TGeoVolume * | GetLogicalVolume (const std::string &vn) |
Get a logical volume by name;. | |
virtual TGeoVolume * | GetTopVolume () |
Get the top(world) volume;. | |
virtual TGeoVolumeAssembly * | GetAssemblyVolume (const std::string &an) |
Get an assembly by name;. | |
virtual TGeoNode * | GetNode (const std::string &nn) |
Get a node(physical volume) by name;. | |
virtual int | GetHitsNum () |
Get number of hits in HitsArray;. | |
virtual TGeoPhysicalNode * | GetHit (int i) |
Get ith hit in HitsArray;. | |
virtual void | SetDetectorOn () |
Set all physicalNodes in m_DeteorsArray visible;. | |
Additional Inherited Members | |
Protected Attributes inherited from SubDetectorROOTGeo | |
int | m_ROOTGeoInit |
int | m_childNo |
TGeoVolume * | m_TopVolume |
int | m_2DGeoInit |
TObjArray * | m_DetectorsArray |
TObjArray * | m_HitsArray |
TObjArray * | m_2DHitsArray |
Class TofGeo contains all of the objects necessary to describe the tof geometry.
Definition at line 27 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/ROOTGeo/TofROOTGeo.h.
TofROOTGeo::TofROOTGeo | ( | ) |
Constructor.
Definition at line 24 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
TofROOTGeo::~TofROOTGeo | ( | ) |
Destructor.
Definition at line 35 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
TofROOTGeo::TofROOTGeo | ( | ) |
Constructor.
TofROOTGeo::~TofROOTGeo | ( | ) |
Destructor.
void TofROOTGeo::Draw | ( | Option_t * | option | ) |
Draw function.
Definition at line 788 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by BesGeometry::Draw2DXY(), and BesGeometry::Draw2DZR().
void TofROOTGeo::DrawHits | ( | Option_t * | option | ) |
Draw 2D hits.
Definition at line 822 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by BesEvent::DrawHits().
Tof2DScin * TofROOTGeo::Get2DScin | ( | Int_t | part, |
Int_t | layer, | ||
Int_t | scin | ||
) |
Get Tof2DScin;.
Definition at line 763 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by BesEvent::ConstructTofTrackFromRec().
TGeoNode * TofROOTGeo::GetAl | ( | int | part, |
int | layer | ||
) |
Get Al node;.
Definition at line 701 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
TGeoNode * TofROOTGeo::GetBucket | ( | int | part, |
int | scin, | ||
int | bucket | ||
) |
Get bucket node, 0 for west bucket, 1 for the east one;.
Definition at line 261 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
Referenced by SetAllVisible(), SetDefaultVis(), and SetQuarterVisible().
int TofROOTGeo::GetLayerNb | ( | int | part | ) |
Definition at line 568 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by Draw(), DrawHits(), GetPart(), Init2DGeometry(), SetDetector(), and SetVolumeDefaultVis().
Int_t TofROOTGeo::GetPart | ( | TGeoPhysicalNode * | phyNode | ) |
Get part no of a scintillator physcial node.
Definition at line 770 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by SetVisTofDetector(), and SetVisTofHits().
int TofROOTGeo::GetPartNb | ( | ) |
Get number of part;.
Definition at line 184 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
int TofROOTGeo::GetPartNb | ( | ) |
Get number of part;.
TGeoPhysicalNode * TofROOTGeo::GetPhysicalScin | ( | int | part, |
int | layer, | ||
int | scin | ||
) |
Get bucket node, 0 for west bucket, 1 for the east one;.
Get scintillator physical node;
Definition at line 749 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
TGeoPhysicalNode * TofROOTGeo::GetPhysicalScin | ( | int | part, |
int | scin | ||
) |
Get scintillator physical node;.
Definition at line 278 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
Referenced by BesEvent::ConstructTofTrackFromRec(), GetPart(), BesGeometry::GetPhysicalTofScin(), Init2DGeometry(), SetDetector(), SetHits(), and BesVisDisplay::SetTofFiredCell().
TGeoNode * TofROOTGeo::GetPVF | ( | int | part, |
int | layer, | ||
int | scin | ||
) |
Get PVF node;.
Definition at line 687 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
TGeoNode * TofROOTGeo::GetScin | ( | int | part, |
int | layer | ||
) |
Get scintillator node;.
TGeoNode * TofROOTGeo::GetScin | ( | int | part, |
int | scin | ||
) |
Get scintillator node;.
Definition at line 247 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
Referenced by SetAllVisible(), SetDefaultVis(), SetPhysicalNode(), and SetQuarterVisible().
int TofROOTGeo::GetScinNb | ( | int | part | ) |
Get number of scintillators on each part;.
Definition at line 191 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
Referenced by Draw(), DrawHits(), GetPart(), Init2DGeometry(), and SetDetector().
int TofROOTGeo::GetScinNb | ( | int | part | ) |
Get number of scintillators on each part;.
TGeoVolume * TofROOTGeo::GetVolumeAl | ( | int | part, |
int | layer | ||
) |
Get Al volume;.
Definition at line 633 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by SetVolumeDefaultVis().
TGeoVolumeAssembly * TofROOTGeo::GetVolumeAssembly | ( | int | part | ) |
Get assembly volume; part=0,2 for AssemblyEc, 1 for AssemblyBr;
Definition at line 199 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
TGeoVolume * TofROOTGeo::GetVolumeBucket | ( | int | part | ) |
Get bucket volume;.
Definition at line 231 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
Referenced by SetAllVisible(), SetDefaultVis(), SetQuarterVisible(), and SetVolumeDefaultVis().
TGeoVolume * TofROOTGeo::GetVolumeBucket | ( | int | part, |
int | layer | ||
) |
Get bucket volume;.
Definition at line 671 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
TGeoVolume * TofROOTGeo::GetVolumePart | ( | int | part | ) |
Get assembly volume; part=0,2 for AssemblyEc, 1 for AssemblyBr;
Get part volume;
Definition at line 594 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by SetVolumeDefaultVis().
TGeoVolume * TofROOTGeo::GetVolumePVF | ( | int | part, |
int | layer | ||
) |
Get PVF volume;.
Definition at line 614 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by SetVolumeDefaultVis().
TGeoVolume * TofROOTGeo::GetVolumeScin | ( | int | part | ) |
Get scintillator volume;.
Definition at line 215 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
Referenced by SetAllVisible(), SetDefaultVis(), SetQuarterVisible(), and SetVolumeDefaultVis().
TGeoVolume * TofROOTGeo::GetVolumeScin | ( | int | part, |
int | layer | ||
) |
Get scintillator volume;.
Definition at line 652 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
|
inline |
Get Tof volume;.
Definition at line 62 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/ROOTGeo/TofROOTGeo.h.
Referenced by BesGeometry::GetVolumeTof(), and BesGeometry::InitFromGDML().
|
inline |
Get Tof volume;.
Definition at line 96 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/BesVisLib/TofROOTGeo.h.
void TofROOTGeo::Init2DGeometry | ( | ) |
Initialize 2D Geometry.
Definition at line 77 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by BesGeometry::InitGeometry().
void TofROOTGeo::InitFromGdml | ( | const char * | gdmlFile, |
const char * | setupName | ||
) |
Initialize the instance of ROOTGeo.
Definition at line 39 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
void TofROOTGeo::InitFromGDML | ( | const char * | gdmlFile, |
const char * | setupName | ||
) |
Initialize ROOTGeo from GDML.
Definition at line 59 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by BesGeometry::InitFromGDML().
void TofROOTGeo::InitFromROOT | ( | TGeoVolume * | vol | ) |
Initialize ROOTGeo from TGeoVolume logicalTof.
Definition at line 68 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by BesGeometry::InitFromROOT().
void TofROOTGeo::SetAllVisible | ( | ) |
Set all visible;.
Definition at line 110 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
Referenced by BesGeometry::SetDefaultVis().
void TofROOTGeo::SetAllVisible | ( | ) |
Set all visible;.
void TofROOTGeo::SetDefaultVis | ( | ) |
Set default visual attributes;.
Definition at line 76 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
Referenced by InitFromGdml().
void TofROOTGeo::SetDetector | ( | ) |
Draw Detecor (what is detector depends on you)
Definition at line 399 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by BesClient::HandleViewOptionMenu().
void TofROOTGeo::SetHalfVisible | ( | ) |
Set half visible;.
Definition at line 302 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
void TofROOTGeo::SetHits | ( | ) |
Set all physicalNodes corresponding to digiCol;.
Definition at line 427 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by BesEvent::SetHits().
void TofROOTGeo::SetNode | ( | ) |
Set the pointers to theirs nodes;.
Definition at line 49 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
Referenced by InitFromGdml(), InitFromGDML(), and InitFromROOT().
void TofROOTGeo::SetNode | ( | ) |
Set the pointers to theirs nodes;.
void TofROOTGeo::SetNoEndVisible | ( | ) |
Set noend visible;.
Definition at line 331 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
void TofROOTGeo::SetPhysicalNode | ( | ) |
Set the pointers to the physical nodes;.
Definition at line 158 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
Referenced by BesGeometry::InitGeometry().
void TofROOTGeo::SetPhysicalNode | ( | ) |
Set the pointers to the physical nodes;.
void TofROOTGeo::SetQMatch | ( | Bool_t | input = false | ) |
Definition at line 247 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
void TofROOTGeo::SetQuarterVisible | ( | ) |
Set quater visible;.
Definition at line 133 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/TofROOTGeo.cxx.
void TofROOTGeo::SetQuarterVisible | ( | ) |
Set quater visible;.
void TofROOTGeo::SetTMatch | ( | Bool_t | input = false | ) |
Definition at line 242 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
void TofROOTGeo::SetVisTofDetector | ( | ) |
Set Tof detector visibility;.
Definition at line 498 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by BesGeometry::Draw3D(), and BesClient::HandleViewOptionMenu().
void TofROOTGeo::SetVisTofHits | ( | ) |
Set Tof hits visibility;.
Definition at line 529 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
Referenced by BesGeometry::Draw3D().
void TofROOTGeo::SetVolumeDefaultVis | ( | ) |
Set default visual attributes;.
Definition at line 214 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/src/TofROOTGeo.cxx.
|
inline |
Set Tof volume, while initializing from ROOT;.
Definition at line 93 of file EventDisplay/BesVisLib/BesVisLib-00-04-03/BesVisLib/TofROOTGeo.h.
Referenced by InitFromROOT().