BOSS 7.1.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;. | |
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 28 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/ROOTGeo/SubDetectorROOTGeo.h.
SubDetectorROOTGeo::SubDetectorROOTGeo | ( | ) |
Constructor.
Definition at line 18 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/src/SubDetectorROOTGeo.cxx.
|
virtual |
Destructor.
Definition at line 25 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/src/SubDetectorROOTGeo.cxx.
SubDetectorROOTGeo::SubDetectorROOTGeo | ( | ) |
Constructor.
|
virtual |
Destructor.
TGeoVolumeAssembly * SubDetectorROOTGeo::GetAssemblyVolume | ( | const std::string & | an | ) |
Get an assembly by name;.
Definition at line 52 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/src/SubDetectorROOTGeo.cxx.
Referenced by TofROOTGeo::GetVolumeAssembly().
|
virtual |
Get an assembly by name;.
|
virtual |
Get ith hit in HitsArray;.
Definition at line 69 of file EventDisplay/BesVisLib/BesVisLib-00-06-02/src/SubDetectorROOTGeo.cxx.
|
inlinevirtual |
Get number of hits in HitsArray;.
Definition at line 61 of file EventDisplay/BesVisLib/BesVisLib-00-06-02/BesVisLib/SubDetectorROOTGeo.h.
TGeoVolume * SubDetectorROOTGeo::GetLogicalVolume | ( | const std::string & | vn | ) |
Get a logical volume by name;.
Definition at line 45 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/src/SubDetectorROOTGeo.cxx.
Referenced by MucROOTGeo::GetVolumeAbsorber(), MucROOTGeo::GetVolumeAbsorberPanel(), MucROOTGeo::GetVolumeAbsorberSmallBlock(), TofROOTGeo::GetVolumeAl(), MucROOTGeo::GetVolumeAluminumBox(), MucROOTGeo::GetVolumeBakelite(), MucROOTGeo::GetVolumeBox(), MucROOTGeo::GetVolumeBoxSurface(), TofROOTGeo::GetVolumeBucket(), EmcROOTGeo::GetVolumeCrystal(), MucROOTGeo::GetVolumeGap(), MucROOTGeo::GetVolumeGasBorder(), MucROOTGeo::GetVolumeGasChamber(), MdcROOTGeo::GetVolumeLayer(), EmcROOTGeo::GetVolumePart(), TofROOTGeo::GetVolumePart(), EmcROOTGeo::GetVolumePhi(), TofROOTGeo::GetVolumePVF(), MdcROOTGeo::GetVolumeReplica(), 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;.
TGeoNode * SubDetectorROOTGeo::GetNode | ( | const std::string & | nn | ) |
Get a node(physical volume) by name;.
Definition at line 59 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/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;.
|
inline |
Get the top(world) volume;.
Definition at line 51 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by EmcROOTGeo::SetNode(), MdcROOTGeo::SetNode(), MucROOTGeo::SetNode(), and TofROOTGeo::SetNode().
|
inlinevirtual |
Get the top(world) volume;.
Definition at line 52 of file EventDisplay/BesVisLib/BesVisLib-00-06-02/BesVisLib/SubDetectorROOTGeo.h.
|
inline |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 42 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/ROOTGeo/SubDetectorROOTGeo.h.
|
inlinevirtual |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 43 of file EventDisplay/BesVisLib/BesVisLib-00-06-02/BesVisLib/SubDetectorROOTGeo.h.
void SubDetectorROOTGeo::ReadGdml | ( | const char * | gdmlFile, |
const char * | setupName | ||
) |
Initialize the instance of ROOTGeo.
Definition at line 31 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/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.
|
inline |
Definition at line 45 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by BesGeometry::InitFromGDML(), BesGeometry::InitFromROOT(), MucGeoGeneral::InitFromXML(), and EmcROOTGeo::SetPhysicalNode().
|
inlinevirtual |
Definition at line 46 of file EventDisplay/BesVisLib/BesVisLib-00-06-02/BesVisLib/SubDetectorROOTGeo.h.
|
virtual |
Set all physicalNodes in m_DeteorsArray visible;.
Definition at line 77 of file EventDisplay/BesVisLib/BesVisLib-00-06-02/src/SubDetectorROOTGeo.cxx.
|
protected |
Definition at line 79 of file EventDisplay/BesVisLib/BesVisLib-00-06-02/BesVisLib/SubDetectorROOTGeo.h.
Referenced by EmcROOTGeo::Draw(), MdcROOTGeo::Draw(), MucROOTGeo::Draw(), TofROOTGeo::Draw(), EmcROOTGeo::Init2DGeometry(), MdcROOTGeo::Init2DGeometry(), MucROOTGeo::Init2DGeometry(), and TofROOTGeo::Init2DGeometry().
|
protected |
Definition at line 85 of file EventDisplay/BesVisLib/BesVisLib-00-06-02/BesVisLib/SubDetectorROOTGeo.h.
Referenced by EmcROOTGeo::DrawHits(), MdcROOTGeo::DrawHits(), MucROOTGeo::DrawHits(), TofROOTGeo::DrawHits(), EmcROOTGeo::SetHits(), MdcROOTGeo::SetHits(), MucROOTGeo::SetHits(), and TofROOTGeo::SetHits().
|
protected |
Definition at line 67 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by SetChildNo(), MdcROOTGeo::SetPhysicalNode(), MucROOTGeo::SetPhysicalNode(), and TofROOTGeo::SetPhysicalNode().
|
protected |
Definition at line 83 of file EventDisplay/BesVisLib/BesVisLib-00-06-02/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 84 of file EventDisplay/BesVisLib/BesVisLib-00-06-02/BesVisLib/SubDetectorROOTGeo.h.
Referenced by GetHit(), GetHitsNum(), EmcROOTGeo::SetHits(), MdcROOTGeo::SetHits(), MucROOTGeo::SetHits(), TofROOTGeo::SetHits(), EmcROOTGeo::SetVisEmcHits(), MdcROOTGeo::SetVisMdcHits(), MucROOTGeo::SetVisMucHits(), and TofROOTGeo::SetVisTofHits().
|
protected |
Definition at line 66 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by 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(), and IsInitialized().
|
protected |
Definition at line 69 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-16/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by GetTopVolume(), and ReadGdml().