|
BOSS 8.0.0
BESIII Offline Software System
|
#include <SubDetectorROOTGeo.h>
Public Member Functions | |
| 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;. | |
| 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;. | |
| 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;. | |
| 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;. | |
Protected Attributes | |
| int | m_ROOTGeoInit |
| int | m_childNo |
| TGeoVolume * | m_TopVolume |
| int | m_2DGeoInit |
| TObjArray * | m_DetectorsArray |
| TObjArray * | m_HitsArray |
| TObjArray * | m_2DHitsArray |
Class SubDetectorROOTGeo is a base class for the four subdetector ROOT geometry class.
Definition at line 29 of file DetectorDescription/ROOTGeo/include/ROOTGeo/SubDetectorROOTGeo.h.
| SubDetectorROOTGeo::SubDetectorROOTGeo | ( | ) |
Constructor.
Definition at line 18 of file DetectorDescription/ROOTGeo/src/SubDetectorROOTGeo.cxx.
Referenced by MdcROOTGeo::MdcROOTGeo().
|
virtual |
Destructor.
Definition at line 23 of file DetectorDescription/ROOTGeo/src/SubDetectorROOTGeo.cxx.
| SubDetectorROOTGeo::SubDetectorROOTGeo | ( | ) |
Constructor.
|
virtual |
Destructor.
| SubDetectorROOTGeo::SubDetectorROOTGeo | ( | ) |
Constructor.
|
virtual |
Destructor.
| SubDetectorROOTGeo::SubDetectorROOTGeo | ( | ) |
Constructor.
|
virtual |
Destructor.
| SubDetectorROOTGeo::SubDetectorROOTGeo | ( | ) |
Constructor.
|
virtual |
Destructor.
| SubDetectorROOTGeo::SubDetectorROOTGeo | ( | ) |
Constructor.
|
virtual |
Destructor.
| TGeoVolumeAssembly * SubDetectorROOTGeo::GetAssemblyVolume | ( | const std::string & | an | ) |
Get an assembly by name;.
Definition at line 44 of file DetectorDescription/ROOTGeo/src/SubDetectorROOTGeo.cxx.
Referenced by TofROOTGeo::GetVolumeAssembly().
|
virtual |
Get an assembly by name;.
|
virtual |
Get an assembly by name;.
| TGeoVolumeAssembly * SubDetectorROOTGeo::GetAssemblyVolume | ( | const std::string & | an | ) |
Get an assembly by name;.
|
virtual |
Get an assembly by name;.
| TGeoVolumeAssembly * SubDetectorROOTGeo::GetAssemblyVolume | ( | const std::string & | an | ) |
Get an assembly by name;.
|
virtual |
Get ith hit in HitsArray;.
Definition at line 61 of file EventDisplay/BesVisLib/src/SubDetectorROOTGeo.cxx.
|
virtual |
Get ith hit in HitsArray;.
|
virtual |
Get ith hit in HitsArray;.
|
inlinevirtual |
Get number of hits in HitsArray;.
Definition at line 59 of file EventDisplay/BesVisLib/include/BesVisLib/SubDetectorROOTGeo.h.
|
inlinevirtual |
Get number of hits in HitsArray;.
Definition at line 59 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/SubDetectorROOTGeo.h.
|
inlinevirtual |
Get number of hits in HitsArray;.
Definition at line 59 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/SubDetectorROOTGeo.h.
| TGeoVolume * SubDetectorROOTGeo::GetLogicalVolume | ( | const std::string & | vn | ) |
Get a logical volume by name;.
Definition at line 38 of file DetectorDescription/ROOTGeo/src/SubDetectorROOTGeo.cxx.
Referenced by MucROOTGeo::GetVolumeAbsorber(), MucROOTGeo::GetVolumeAbsorberPanel(), MucROOTGeo::GetVolumeAbsorberSmallBlock(), TofROOTGeo::GetVolumeAl(), MucROOTGeo::GetVolumeAluminumBox(), MucROOTGeo::GetVolumeBakelite(), MucROOTGeo::GetVolumeBakelite(), MucROOTGeo::GetVolumeBox(), MucROOTGeo::GetVolumeBoxSurface(), TofROOTGeo::GetVolumeBucket(), TofROOTGeo::GetVolumeBucket(), EmcROOTGeo::GetVolumeCrystal(), MucROOTGeo::GetVolumeGap(), MucROOTGeo::GetVolumeGasBorder(), MucROOTGeo::GetVolumeGasChamber(), MdcROOTGeo::GetVolumeLayer(), EmcROOTGeo::GetVolumePart(), TofROOTGeo::GetVolumePart(), EmcROOTGeo::GetVolumePhi(), TofROOTGeo::GetVolumePVF(), MdcROOTGeo::GetVolumeReplica(), TofROOTGeo::GetVolumeScin(), TofROOTGeo::GetVolumeScin(), MdcROOTGeo::GetVolumeSegment(), MucROOTGeo::GetVolumeStrip(), MucROOTGeo::GetVolumeStripPlane(), EmcROOTGeo::GetVolumeTheta(), EmcROOTGeo::SetNode(), MucROOTGeo::SetNode(), EmcROOTGeo::SetPhysicalNode(), and EmcROOTGeo::SetVolumeAppendInVis().
|
virtual |
Get a logical volume by name;.
|
virtual |
Get a logical volume by name;.
| TGeoVolume * SubDetectorROOTGeo::GetLogicalVolume | ( | const std::string & | vn | ) |
Get a logical volume by name;.
|
virtual |
Get a logical volume by name;.
| TGeoVolume * SubDetectorROOTGeo::GetLogicalVolume | ( | const std::string & | vn | ) |
Get a logical volume by name;.
| TGeoNode * SubDetectorROOTGeo::GetNode | ( | const std::string & | nn | ) |
Get a node(physical volume) by name;.
Definition at line 51 of file DetectorDescription/ROOTGeo/src/SubDetectorROOTGeo.cxx.
Referenced by TofROOTGeo::GetBucket(), MdcROOTGeo::GetLayer(), EmcROOTGeo::GetPart(), EmcROOTGeo::GetPhi(), MdcROOTGeo::GetSegment(), MdcROOTGeo::SetNode(), MucROOTGeo::SetNode(), and TofROOTGeo::SetNode().
|
virtual |
Get a node(physical volume) by name;.
|
virtual |
Get a node(physical volume) by name;.
| TGeoNode * SubDetectorROOTGeo::GetNode | ( | const std::string & | nn | ) |
Get a node(physical volume) by name;.
|
virtual |
Get a node(physical volume) by name;.
| TGeoNode * SubDetectorROOTGeo::GetNode | ( | const std::string & | nn | ) |
Get a node(physical volume) by name;.
|
inline |
Get the top(world) volume;.
Definition at line 50 of file DetectorDescription/ROOTGeo/include/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by EmcROOTGeo::SetNode(), MdcROOTGeo::SetNode(), MucROOTGeo::SetNode(), and TofROOTGeo::SetNode().
|
inlinevirtual |
Get the top(world) volume;.
Definition at line 50 of file EventDisplay/BesVisLib/include/BesVisLib/SubDetectorROOTGeo.h.
|
inlinevirtual |
Get the top(world) volume;.
Definition at line 50 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/SubDetectorROOTGeo.h.
|
inline |
Get the top(world) volume;.
Definition at line 50 of file InstallArea/x86_64-el9-gcc13-dbg/include/ROOTGeo/SubDetectorROOTGeo.h.
|
inlinevirtual |
Get the top(world) volume;.
Definition at line 50 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/SubDetectorROOTGeo.h.
|
inline |
Get the top(world) volume;.
Definition at line 50 of file InstallArea/x86_64-el9-gcc13-opt/include/ROOTGeo/SubDetectorROOTGeo.h.
|
inline |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 41 of file DetectorDescription/ROOTGeo/include/ROOTGeo/SubDetectorROOTGeo.h.
|
inlinevirtual |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 41 of file EventDisplay/BesVisLib/include/BesVisLib/SubDetectorROOTGeo.h.
|
inlinevirtual |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 41 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/SubDetectorROOTGeo.h.
|
inline |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 41 of file InstallArea/x86_64-el9-gcc13-dbg/include/ROOTGeo/SubDetectorROOTGeo.h.
|
inlinevirtual |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 41 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/SubDetectorROOTGeo.h.
|
inline |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 41 of file InstallArea/x86_64-el9-gcc13-opt/include/ROOTGeo/SubDetectorROOTGeo.h.
| void SubDetectorROOTGeo::ReadGdml | ( | const char * | gdmlFile, |
| const char * | setupName ) |
Initialize the instance of ROOTGeo.
Definition at line 25 of file DetectorDescription/ROOTGeo/src/SubDetectorROOTGeo.cxx.
Referenced by EmcROOTGeo::InitFromGDML(), MdcROOTGeo::InitFromGDML(), MucROOTGeo::InitFromGDML(), TofROOTGeo::InitFromGDML(), EmcROOTGeo::InitFromGdml(), MdcROOTGeo::InitFromGdml(), MucROOTGeo::InitFromGdml(), and TofROOTGeo::InitFromGdml().
|
virtual |
Initialize the instance of ROOTGeo.
|
virtual |
Initialize the instance of ROOTGeo.
| void SubDetectorROOTGeo::ReadGdml | ( | const char * | gdmlFile, |
| const char * | setupName ) |
Initialize the instance of ROOTGeo.
|
virtual |
Initialize the instance of ROOTGeo.
| void SubDetectorROOTGeo::ReadGdml | ( | const char * | gdmlFile, |
| const char * | setupName ) |
Initialize the instance of ROOTGeo.
|
inline |
Definition at line 44 of file DetectorDescription/ROOTGeo/include/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by MucGeoGeneral::InitFromXML(), and EmcROOTGeo::SetPhysicalNode().
|
inlinevirtual |
Definition at line 44 of file EventDisplay/BesVisLib/include/BesVisLib/SubDetectorROOTGeo.h.
|
inlinevirtual |
Definition at line 44 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/SubDetectorROOTGeo.h.
|
inline |
Definition at line 44 of file InstallArea/x86_64-el9-gcc13-dbg/include/ROOTGeo/SubDetectorROOTGeo.h.
|
inlinevirtual |
Definition at line 44 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/SubDetectorROOTGeo.h.
|
inline |
Definition at line 44 of file InstallArea/x86_64-el9-gcc13-opt/include/ROOTGeo/SubDetectorROOTGeo.h.
|
virtual |
Set all physicalNodes in m_DeteorsArray visible;.
Definition at line 66 of file EventDisplay/BesVisLib/src/SubDetectorROOTGeo.cxx.
|
virtual |
Set all physicalNodes in m_DeteorsArray visible;.
|
virtual |
Set all physicalNodes in m_DeteorsArray visible;.
|
protected |
Definition at line 75 of file EventDisplay/BesVisLib/include/BesVisLib/SubDetectorROOTGeo.h.
Referenced by EmcROOTGeo::Draw(), MdcROOTGeo::Draw(), MucROOTGeo::Draw(), TofROOTGeo::Draw(), EmcROOTGeo::Init2DGeometry(), MdcROOTGeo::Init2DGeometry(), MucROOTGeo::Init2DGeometry(), TofROOTGeo::Init2DGeometry(), and SetDetectorOn().
|
protected |
Definition at line 81 of file EventDisplay/BesVisLib/include/BesVisLib/SubDetectorROOTGeo.h.
Referenced by EmcROOTGeo::DrawHits(), MdcROOTGeo::DrawHits(), MucROOTGeo::DrawHits(), TofROOTGeo::DrawHits(), SetDetectorOn(), EmcROOTGeo::SetHits(), MdcROOTGeo::SetHits(), MucROOTGeo::SetHits(), and TofROOTGeo::SetHits().
|
protected |
Definition at line 65 of file DetectorDescription/ROOTGeo/include/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by GetNode(), SetChildNo(), SetDetectorOn(), MdcROOTGeo::SetPhysicalNode(), MucROOTGeo::SetPhysicalNode(), and TofROOTGeo::SetPhysicalNode().
|
protected |
Definition at line 79 of file EventDisplay/BesVisLib/include/BesVisLib/SubDetectorROOTGeo.h.
Referenced by EmcROOTGeo::SetDetector(), MdcROOTGeo::SetDetector(), MucROOTGeo::SetDetector(), TofROOTGeo::SetDetector(), SetDetectorOn(), EmcROOTGeo::SetVisEmcDetector(), MdcROOTGeo::SetVisMdcDetector(), MucROOTGeo::SetVisMucDetector(), and TofROOTGeo::SetVisTofDetector().
|
protected |
Definition at line 80 of file EventDisplay/BesVisLib/include/BesVisLib/SubDetectorROOTGeo.h.
Referenced by GetHit(), GetHitsNum(), SetDetectorOn(), EmcROOTGeo::SetHits(), MdcROOTGeo::SetHits(), MucROOTGeo::SetHits(), TofROOTGeo::SetHits(), EmcROOTGeo::SetVisEmcHits(), MdcROOTGeo::SetVisMdcHits(), MucROOTGeo::SetVisMucHits(), and TofROOTGeo::SetVisTofHits().
|
protected |
Definition at line 64 of file DetectorDescription/ROOTGeo/include/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by GetNode(), EmcROOTGeo::Init2DGeometry(), MdcROOTGeo::Init2DGeometry(), MucROOTGeo::Init2DGeometry(), TofROOTGeo::Init2DGeometry(), EmcROOTGeo::InitFromGDML(), MdcROOTGeo::InitFromGDML(), MucROOTGeo::InitFromGDML(), TofROOTGeo::InitFromGDML(), EmcROOTGeo::InitFromGdml(), MdcROOTGeo::InitFromGdml(), MucROOTGeo::InitFromGdml(), TofROOTGeo::InitFromGdml(), EmcROOTGeo::InitFromROOT(), MdcROOTGeo::InitFromROOT(), MucROOTGeo::InitFromROOT(), TofROOTGeo::InitFromROOT(), IsInitialized(), SetDetectorOn(), and SubDetectorROOTGeo().
|
protected |
Definition at line 67 of file DetectorDescription/ROOTGeo/include/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by GetNode(), GetTopVolume(), ReadGdml(), and SetDetectorOn().