CGEM BOSS 6.6.5.i
BESIII Offline Software System
|
#include <CgemROOTGeo.h>
Public Member Functions | |
CgemROOTGeo () | |
virtual | ~CgemROOTGeo () |
void | InitFromGDML (const char *gdmlFile, const char *setupName) |
void | InitFromROOT (TGeoVolume *vol) |
void | InitGeometry () |
void | SetNode () |
void | SetVolumeDefaultVis () |
void | SetPhysicalDefaultVis () |
void | SetAllVisible () |
void | SetQuarterVisible () |
void | SetHalfVisible () |
void | SetPhysicalNode () |
void | SetDetector () |
void | SetHits () |
void | ClearHits () |
void | SetVisCgemDetector () |
void | SetVisCgemHits () |
void | SetVolumeCgem (TGeoVolume *vol) |
TGeoVolume * | GetVolumeCgem () const |
Cgem2DStripBase * | Get2DStrip (bool is_x, int layer, int sheet, int strip) const |
TGeoNode * | GetCgemAnode (int layer) |
TGeoNode * | GetCgemCathode (int layer) |
TGeoNode * | GetCgemFoil (int layer, int foil) |
void | Draw (Option_t *option) |
void | DrawUF (int layer, Option_t *option="") |
void | DrawHits (Option_t *option) |
void | Draw3DHits (Option_t *option) |
double | calcZFromLayerSheetVIDPhi (int layer, int sheet, double v, double phi) const |
double | getRFromLayerSheet (int layer, int sheet) const |
double | getSheetWidth (int layer, int sheet) const |
double | isPointInSheet (int layer, int sheet, double phi, double z) const |
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 |
Definition at line 23 of file CgemROOTGeo.h.
CgemROOTGeo::CgemROOTGeo | ( | ) |
Definition at line 35 of file CgemROOTGeo.cxx.
|
virtual |
Definition at line 60 of file CgemROOTGeo.cxx.
double CgemROOTGeo::calcZFromLayerSheetVIDPhi | ( | int | layer, |
int | sheet, | ||
double | v, | ||
double | phi ) const |
Definition at line 907 of file CgemROOTGeo.cxx.
void CgemROOTGeo::ClearHits | ( | ) |
Definition at line 479 of file CgemROOTGeo.cxx.
Referenced by BesEvent::ClearHits(), and SetHits().
void CgemROOTGeo::Draw | ( | Option_t * | option | ) |
Definition at line 596 of file CgemROOTGeo.cxx.
Referenced by BesGeometry::Draw2DXY(), and BesGeometry::Draw2DZR().
void CgemROOTGeo::Draw3DHits | ( | Option_t * | option | ) |
Definition at line 802 of file CgemROOTGeo.cxx.
Referenced by BesEvent::DrawCgem3DHits().
void CgemROOTGeo::DrawHits | ( | Option_t * | option | ) |
Definition at line 752 of file CgemROOTGeo.cxx.
Referenced by BesEvent::DrawCgemUFHits(), and BesEvent::DrawHits().
void CgemROOTGeo::DrawUF | ( | int | layer, |
Option_t * | option = "" ) |
Definition at line 714 of file CgemROOTGeo.cxx.
Referenced by BesGeometry::DrawCgemUF().
Cgem2DStripBase * CgemROOTGeo::Get2DStrip | ( | bool | is_x, |
int | layer, | ||
int | sheet, | ||
int | strip ) const |
Definition at line 891 of file CgemROOTGeo.cxx.
TGeoNode * CgemROOTGeo::GetCgemAnode | ( | int | layer | ) |
Definition at line 580 of file CgemROOTGeo.cxx.
Referenced by InitGeometry().
TGeoNode * CgemROOTGeo::GetCgemCathode | ( | int | layer | ) |
Definition at line 585 of file CgemROOTGeo.cxx.
Referenced by InitGeometry().
TGeoNode * CgemROOTGeo::GetCgemFoil | ( | int | layer, |
int | foil ) |
Definition at line 590 of file CgemROOTGeo.cxx.
Referenced by InitGeometry().
double CgemROOTGeo::getRFromLayerSheet | ( | int | layer, |
int | sheet ) const |
Definition at line 922 of file CgemROOTGeo.cxx.
Referenced by BesEvent::SetCgemClusters().
double CgemROOTGeo::getSheetWidth | ( | int | layer, |
int | sheet ) const |
Definition at line 928 of file CgemROOTGeo.cxx.
Referenced by BesEvent::SetCgemClusters().
|
inline |
Definition at line 70 of file CgemROOTGeo.h.
Referenced by BesGeometry::GetVolumeCgem(), BesGeometry::InitFromGDML(), and InitGeometry().
void CgemROOTGeo::InitFromGDML | ( | const char * | gdmlFile, |
const char * | setupName ) |
Definition at line 81 of file CgemROOTGeo.cxx.
Referenced by BesGeometry::InitFromGDML().
void CgemROOTGeo::InitFromROOT | ( | TGeoVolume * | vol | ) |
Definition at line 89 of file CgemROOTGeo.cxx.
Referenced by BesGeometry::InitFromROOT().
void CgemROOTGeo::InitGeometry | ( | ) |
Definition at line 97 of file CgemROOTGeo.cxx.
Referenced by BesGeometry::InitGeometry().
double CgemROOTGeo::isPointInSheet | ( | int | layer, |
int | sheet, | ||
double | phi, | ||
double | z ) const |
Definition at line 934 of file CgemROOTGeo.cxx.
void CgemROOTGeo::SetAllVisible | ( | ) |
Definition at line 449 of file CgemROOTGeo.cxx.
void CgemROOTGeo::SetDetector | ( | ) |
Definition at line 473 of file CgemROOTGeo.cxx.
Referenced by BesClient::HandleViewOptionMenu().
void CgemROOTGeo::SetHalfVisible | ( | ) |
Definition at line 461 of file CgemROOTGeo.cxx.
void CgemROOTGeo::SetHits | ( | ) |
Definition at line 492 of file CgemROOTGeo.cxx.
Referenced by BesEvent::SetHits().
void CgemROOTGeo::SetNode | ( | ) |
Definition at line 392 of file CgemROOTGeo.cxx.
Referenced by InitFromGDML(), and InitFromROOT().
void CgemROOTGeo::SetPhysicalDefaultVis | ( | ) |
Definition at line 443 of file CgemROOTGeo.cxx.
Referenced by BesGeometry::SetPhysicalDefaultVis().
void CgemROOTGeo::SetPhysicalNode | ( | ) |
Definition at line 467 of file CgemROOTGeo.cxx.
Referenced by BesGeometry::InitGeometry().
void CgemROOTGeo::SetQuarterVisible | ( | ) |
Definition at line 455 of file CgemROOTGeo.cxx.
void CgemROOTGeo::SetVisCgemDetector | ( | ) |
Definition at line 569 of file CgemROOTGeo.cxx.
Referenced by BesClient::HandleViewOptionMenu().
void CgemROOTGeo::SetVisCgemHits | ( | ) |
Definition at line 575 of file CgemROOTGeo.cxx.
|
inline |
void CgemROOTGeo::SetVolumeDefaultVis | ( | ) |
Definition at line 437 of file CgemROOTGeo.cxx.