DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
ROOT interactive UI for dd4hep applications. More...
#include <DD4hepUI.h>
Public Member Functions | |
DD4hepUI (Detector &instance) | |
Default constructor. More... | |
virtual | ~DD4hepUI () |
Default destructor. More... | |
Detector * | instance () const |
Access to the Detector instance. More... | |
Detector * | detectorDescription () const |
Access to the Detector instance. More... | |
PrintLevel | setPrintLevel (PrintLevel level) const |
Set the printout level from the interactive prompt. More... | |
int | setVisLevel (int level) |
Set the visualization level when invoking the display. More... | |
Handle< NamedObject > | conditionsMgr () const |
Install the dd4hep conditions manager object. More... | |
long | loadConditions (const std::string &fname) const |
Load conditions from file. More... | |
long | saveROOT (const char *file_name) const |
Dump the entire detector description object to a root file. More... | |
long | importROOT (const char *file_name) const |
Import the entire detector description object from a root file. More... | |
Handle< NamedObject > | alignmentMgr () const |
Install the dd4hep alignment manager object. More... | |
long | createInterpreter (int argc, char **argv) |
Create ROOT interpreter instance. More... | |
long | runInterpreter () const |
Execute ROOT interpreter instance. More... | |
virtual long | apply (const char *factory, int argc, char **argv) const |
Detector interface: Manipulate geometry using factory converter. More... | |
virtual void | fromXML (const std::string &fname, DetectorBuildType type=BUILD_DEFAULT) const |
Detector interface: Read any geometry description or alignment file. More... | |
virtual void | draw () const |
Detector interface: Draw the scene on a OpenGL pane. More... | |
virtual void | redraw () const |
Detector interface: Re-draw the entire scene. More... | |
virtual void | drawSubtree (const char *path) const |
Detector interface: Draw detector sub-tree the scene on a OpenGL pane. More... | |
virtual void | redrawSubtree (const char *path) const |
Detector interface: Re-draw the entire sub-tree scene. More... | |
virtual long | dumpVols (int argc=0, char **argv=0) const |
Dump the volume tree. More... | |
virtual long | dumpDet (const char *path=0) const |
Dump the DetElement tree with placement volumes. More... | |
virtual long | dumpDetMaterials (const char *path=0) const |
Dump the DetElement tree with volume materials. More... | |
virtual long | dumpStructure (const char *path=0) const |
Dump the raw DetElement tree. More... | |
Protected Attributes | |
Detector & | m_detDesc |
Reference to the Detector instance object. More... | |
Handle< NamedObject > | m_condMgr |
Handle< NamedObject > | m_alignMgr |
int | visLevel = 4 |
Default visualiztion level. More... | |
detail::DD4hepUI::DD4hepUI | ( | Detector & | instance | ) |
Default constructor.
Definition at line 30 of file DD4hepUI.cpp.
|
virtual |
Default destructor.
Definition at line 34 of file DD4hepUI.cpp.
Handle< NamedObject > detail::DD4hepUI::alignmentMgr | ( | ) | const |
Install the dd4hep alignment manager object.
Definition at line 84 of file DD4hepUI.cpp.
|
virtual |
Detector interface: Manipulate geometry using factory converter.
Detector interface: Manipulate geometry using facroy converter.
Definition at line 98 of file DD4hepUI.cpp.
Handle< NamedObject > detail::DD4hepUI::conditionsMgr | ( | ) | const |
Install the dd4hep conditions manager object.
Definition at line 60 of file DD4hepUI.cpp.
long detail::DD4hepUI::createInterpreter | ( | int | argc, |
char ** | argv | ||
) |
Create ROOT interpreter instance.
Definition at line 179 of file DD4hepUI.cpp.
Detector * detail::DD4hepUI::detectorDescription | ( | ) | const |
Access to the Detector instance.
Definition at line 43 of file DD4hepUI.cpp.
|
virtual |
Detector interface: Draw the scene on a OpenGL pane.
Definition at line 108 of file DD4hepUI.cpp.
|
virtual |
Detector interface: Draw detector sub-tree the scene on a OpenGL pane.
Definition at line 118 of file DD4hepUI.cpp.
|
virtual |
Dump the DetElement tree with placement volumes.
Dump the DetElement tree with placements.
Definition at line 141 of file DD4hepUI.cpp.
|
virtual |
Dump the DetElement tree with volume materials.
Dump the DetElement tree with placements.
Definition at line 147 of file DD4hepUI.cpp.
|
virtual |
Dump the raw DetElement tree.
Dump the DetElement tree with placements.
Definition at line 153 of file DD4hepUI.cpp.
|
virtual |
Dump the volume tree.
Definition at line 132 of file DD4hepUI.cpp.
|
virtual |
Detector interface: Read any geometry description or alignment file.
Definition at line 103 of file DD4hepUI.cpp.
long detail::DD4hepUI::importROOT | ( | const char * | file_name | ) | const |
Import the entire detector description object from a root file.
Definition at line 169 of file DD4hepUI.cpp.
Detector * detail::DD4hepUI::instance | ( | ) | const |
Access to the Detector instance.
Definition at line 38 of file DD4hepUI.cpp.
long detail::DD4hepUI::loadConditions | ( | const std::string & | fname | ) | const |
Load conditions from file.
Definition at line 74 of file DD4hepUI.cpp.
|
virtual |
Detector interface: Re-draw the entire scene.
Definition at line 113 of file DD4hepUI.cpp.
|
virtual |
Detector interface: Re-draw the entire sub-tree scene.
Definition at line 125 of file DD4hepUI.cpp.
long detail::DD4hepUI::runInterpreter | ( | ) | const |
Execute ROOT interpreter instance.
Definition at line 192 of file DD4hepUI.cpp.
long detail::DD4hepUI::saveROOT | ( | const char * | file_name | ) | const |
Dump the entire detector description object to a root file.
Definition at line 159 of file DD4hepUI.cpp.
PrintLevel detail::DD4hepUI::setPrintLevel | ( | PrintLevel | level | ) | const |
Set the printout level from the interactive prompt.
Definition at line 48 of file DD4hepUI.cpp.
int detail::DD4hepUI::setVisLevel | ( | int | level | ) |
Set the visualization level when invoking the display.
Definition at line 53 of file DD4hepUI.cpp.
|
protected |
Definition at line 38 of file DD4hepUI.h.
|
protected |
Definition at line 37 of file DD4hepUI.h.
|
protected |
Reference to the Detector instance object.
Definition at line 36 of file DD4hepUI.h.
|
protected |
Default visualiztion level.
Definition at line 40 of file DD4hepUI.h.