CGEM BOSS 6.6.5.f
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;. | |
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-15/ROOTGeo/SubDetectorROOTGeo.h.
SubDetectorROOTGeo::SubDetectorROOTGeo | ( | ) |
Constructor.
Definition at line 18 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/SubDetectorROOTGeo.cxx.
|
virtual |
Destructor.
Definition at line 25 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/SubDetectorROOTGeo.cxx.
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 52 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/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 ith hit in HitsArray;.
Definition at line 71 of file EventDisplay/BesVisLib/BesVisLib-00-06-08/src/SubDetectorROOTGeo.cxx.
|
virtual |
Get ith hit in HitsArray;.
|
inlinevirtual |
Get number of hits in HitsArray;.
Definition at line 61 of file EventDisplay/BesVisLib/BesVisLib-00-06-08/BesVisLib/SubDetectorROOTGeo.h.
|
inlinevirtual |
Get number of hits in HitsArray;.
Definition at line 61 of file InstallArea/include/BesVisLib/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-15/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;.
|
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 59 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/src/SubDetectorROOTGeo.cxx.
Referenced by TofROOTGeo::GetBucket(), MdcROOTGeo::GetLayer(), EmcROOTGeo::GetPart(), EmcROOTGeo::GetPhi(), MdcROOTGeo::GetSegment(), MdcROOTGeo::SetNode(), MucROOTGeo::SetNode(), TofROOTGeo::SetNode(), and CgemROOTGeo::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;.
|
inline |
Get the top(world) volume;.
Definition at line 51 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by EmcROOTGeo::SetNode(), MdcROOTGeo::SetNode(), MucROOTGeo::SetNode(), TofROOTGeo::SetNode(), and CgemROOTGeo::SetNode().
|
inlinevirtual |
Get the top(world) volume;.
Definition at line 52 of file EventDisplay/BesVisLib/BesVisLib-00-06-08/BesVisLib/SubDetectorROOTGeo.h.
|
inlinevirtual |
Get the top(world) volume;.
Definition at line 52 of file InstallArea/include/BesVisLib/BesVisLib/SubDetectorROOTGeo.h.
|
inline |
Get the top(world) volume;.
Definition at line 51 of file InstallArea/include/ROOTGeo/ROOTGeo/SubDetectorROOTGeo.h.
|
inline |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 42 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/ROOTGeo/SubDetectorROOTGeo.h.
|
inlinevirtual |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 43 of file EventDisplay/BesVisLib/BesVisLib-00-06-08/BesVisLib/SubDetectorROOTGeo.h.
|
inlinevirtual |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 43 of file InstallArea/include/BesVisLib/BesVisLib/SubDetectorROOTGeo.h.
|
inline |
If the ROOT geometry of this subdetctor is initialized;.
Definition at line 42 of file InstallArea/include/ROOTGeo/ROOTGeo/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-15/src/SubDetectorROOTGeo.cxx.
Referenced by EmcROOTGeo::InitFromGdml(), MdcROOTGeo::InitFromGdml(), MucROOTGeo::InitFromGdml(), TofROOTGeo::InitFromGdml(), CgemROOTGeo::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.
|
inline |
Definition at line 45 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/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-08/BesVisLib/SubDetectorROOTGeo.h.
|
inlinevirtual |
Definition at line 46 of file InstallArea/include/BesVisLib/BesVisLib/SubDetectorROOTGeo.h.
|
inline |
Definition at line 45 of file InstallArea/include/ROOTGeo/ROOTGeo/SubDetectorROOTGeo.h.
|
virtual |
Set all physicalNodes in m_DeteorsArray visible;.
Definition at line 79 of file EventDisplay/BesVisLib/BesVisLib-00-06-08/src/SubDetectorROOTGeo.cxx.
|
virtual |
Set all physicalNodes in m_DeteorsArray visible;.
|
protected |
Definition at line 79 of file EventDisplay/BesVisLib/BesVisLib-00-06-08/BesVisLib/SubDetectorROOTGeo.h.
Referenced by CgemROOTGeo::Draw(), EmcROOTGeo::Draw(), MdcROOTGeo::Draw(), MucROOTGeo::Draw(), TofROOTGeo::Draw(), CgemROOTGeo::DrawUF(), EmcROOTGeo::Init2DGeometry(), MdcROOTGeo::Init2DGeometry(), MucROOTGeo::Init2DGeometry(), TofROOTGeo::Init2DGeometry(), and CgemROOTGeo::InitGeometry().
|
protected |
Definition at line 85 of file EventDisplay/BesVisLib/BesVisLib-00-06-08/BesVisLib/SubDetectorROOTGeo.h.
Referenced by CgemROOTGeo::ClearHits(), EmcROOTGeo::ClearHits(), MdcROOTGeo::ClearHits(), MucROOTGeo::ClearHits(), TofROOTGeo::ClearHits(), CgemROOTGeo::DrawHits(), EmcROOTGeo::DrawHits(), MdcROOTGeo::DrawHits(), MucROOTGeo::DrawHits(), TofROOTGeo::DrawHits(), CgemROOTGeo::SetHits(), EmcROOTGeo::SetHits(), MdcROOTGeo::SetHits(), MucROOTGeo::SetHits(), and TofROOTGeo::SetHits().
|
protected |
Definition at line 67 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/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-08/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-08/BesVisLib/SubDetectorROOTGeo.h.
Referenced by EmcROOTGeo::ClearHits(), MdcROOTGeo::ClearHits(), MucROOTGeo::ClearHits(), TofROOTGeo::ClearHits(), 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-15/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by EmcROOTGeo::Init2DGeometry(), MdcROOTGeo::Init2DGeometry(), MucROOTGeo::Init2DGeometry(), TofROOTGeo::Init2DGeometry(), EmcROOTGeo::InitFromGdml(), MdcROOTGeo::InitFromGdml(), MucROOTGeo::InitFromGdml(), TofROOTGeo::InitFromGdml(), CgemROOTGeo::InitFromGDML(), EmcROOTGeo::InitFromGDML(), MdcROOTGeo::InitFromGDML(), MucROOTGeo::InitFromGDML(), TofROOTGeo::InitFromGDML(), CgemROOTGeo::InitFromROOT(), EmcROOTGeo::InitFromROOT(), MdcROOTGeo::InitFromROOT(), MucROOTGeo::InitFromROOT(), TofROOTGeo::InitFromROOT(), IsInitialized(), and CgemROOTGeo::SetNode().
|
protected |
Definition at line 69 of file DetectorDescription/ROOTGeo/ROOTGeo-00-00-15/ROOTGeo/SubDetectorROOTGeo.h.
Referenced by GetTopVolume(), and ReadGdml().