|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DD4HEP_DD4HEPUI_H
14 #define DD4HEP_DD4HEPUI_H
62 long saveROOT(
const char* file_name)
const;
76 virtual long apply(
const char* factory,
int argc,
char** argv)
const;
81 virtual void draw()
const;
83 virtual void redraw()
const;
91 virtual long dumpVols(
int argc = 0,
char** argv = 0)
const;
93 virtual long dumpDet(
const char* path = 0)
const;
102 #endif // DD4HEP_DD4HEPUI_H
Handle< NamedObject > alignmentMgr() const
Install the dd4hep alignment manager object.
long importROOT(const char *file_name) const
Import the entire detector description object from a root file.
virtual void fromXML(const std::string &fname, DetectorBuildType type=BUILD_DEFAULT) const
Detector interface: Read any geometry description or alignment file.
virtual void redrawSubtree(const char *path) const
Detector interface: Re-draw the entire sub-tree scene.
virtual long apply(const char *factory, int argc, char **argv) const
Detector interface: Manipulate geometry using factory converter.
virtual long dumpDet(const char *path=0) const
Dump the DetElement tree with placement volumes.
Detector * instance() const
Access to the Detector instance.
PrintLevel setPrintLevel(PrintLevel level) const
Set the printout level from the interactive prompt.
int setVisLevel(int level)
Set the visualization level when invoking the display.
long runInterpreter() const
Execute ROOT interpreter instance.
virtual long dumpVols(int argc=0, char **argv=0) const
Dump the volume tree.
virtual void drawSubtree(const char *path) const
Detector interface: Draw detector sub-tree the scene on a OpenGL pane.
Detector & m_detDesc
Reference to the Detector instance object.
DD4hepUI(Detector &instance)
Default constructor.
virtual void redraw() const
Detector interface: Re-draw the entire scene.
Detector * detectorDescription() const
Access to the Detector instance.
virtual long dumpDetMaterials(const char *path=0) const
Dump the DetElement tree with volume materials.
virtual void draw() const
Detector interface: Draw the scene on a OpenGL pane.
Handle< NamedObject > m_condMgr
ROOT interactive UI for dd4hep applications.
int visLevel
Default visualiztion level.
DetectorBuildType
Detector description build types.
Namespace for the AIDA detector description toolkit.
Handle< NamedObject > m_alignMgr
virtual ~DD4hepUI()
Default destructor.
The main interface to the dd4hep detector description package.
long loadConditions(const std::string &fname) const
Load conditions from file.
long saveROOT(const char *file_name) const
Dump the entire detector description object to a root file.
Handle< NamedObject > conditionsMgr() const
Install the dd4hep conditions manager object.
long createInterpreter(int argc, char **argv)
Create ROOT interpreter instance.
virtual long dumpStructure(const char *path=0) const
Dump the raw DetElement tree.