14 #ifndef DD4HEP_GEANT4CONVERTER_H
15 #define DD4HEP_GEANT4CONVERTER_H
25 namespace Simulation {
57 virtual void*
handleSolid(
const std::string& name,
const TGeoShape* volume)
const;
60 virtual void*
handleVolume(
const std::string& name,
const TGeoVolume* volume)
const;
61 virtual void*
collectVolume(
const std::string& name,
const TGeoVolume* volume)
const;
64 virtual void*
handlePlacement(
const std::string& name,
const TGeoNode* node)
const;
65 virtual void*
handleAssembly(
const std::string& name,
const TGeoNode* node)
const;
71 virtual void*
handleRegion(
Region region,
const std::set<const TGeoVolume*>& volumes)
const;
86 virtual void*
printPlacement(
const std::string& name,
const TGeoNode* node)
const;
91 #endif // DD4HEP_GEANT4CONVERTER_H
Handle class to hold the information of a sensitive detector.
Handle class describing a material.
Handle class describing an element in the periodic table.
virtual void * handleAssembly(const std::string &name, const TGeoNode *node) const
Dump volume placement in GDML format to output stream.
virtual ~Geant4Converter()
Standard destructor.
virtual void * handleLimitSet(LimitSet limitset, const std::set< const TGeoVolume * > &volumes) const
Convert the geometry type LimitSet into the corresponding Geant4 object(s).
virtual void * handleElement(const std::string &name, Atom element) const
Convert the geometry type element into the corresponding Geant4 object(s).
virtual void * handleVolume(const std::string &name, const TGeoVolume *volume) const
Convert the geometry type logical volume into the corresponding Geant4 object(s). ...
The base class for all DD4hep geometry crawlers.
virtual void * handleRegion(Region region, const std::set< const TGeoVolume * > &volumes) const
Convert the geometry type region into the corresponding Geant4 object(s).
virtual void * handleMaterial(const std::string &name, Material medium) const
Convert the geometry type material into the corresponding Geant4 object(s).
LCDD & lcdd() const
Accesor to the LCDD instance.
virtual void * handleVis(const std::string &name, VisAttr vis) const
Convert the geometry visualisation attributes to the corresponding Geant4 object(s).
virtual void printSensitive(SensitiveDetector sens_det, const std::set< const TGeoVolume * > &volumes) const
Print the geometry type SensitiveDetector.
Geant4Converter(LCDD &lcdd)
Initializing Constructor.
virtual void * printPlacement(const std::string &name, const TGeoNode *node) const
Print Geant4 placement.
Geant4Converter & create(DetElement top)
Create geometry conversion.
std::map< std::string, PropertyValues > Properties
virtual void * collectVolume(const std::string &name, const TGeoVolume *volume) const
Dump logical volume in GDML format to output stream.
Handle class describing visualization attributes.
Handle class describing a detector element.
void handleProperties(LCDD::Properties &prp) const
Handle the geant 4 specific properties.
Geometry converter from DD4hep to Geant 4.
Handle class describing a set of limits as they are used for simulation.
Handle class describing a region as used in simulation.
The main interface to the DD4hep detector description package.
Geometry mapping from DD4hep to Geant 4.
virtual void * handlePlacement(const std::string &name, const TGeoNode *node) const
Convert the geometry type volume placement into the corresponding Geant4 object(s).
virtual void * handleSolid(const std::string &name, const TGeoShape *volume) const
Convert the geometry type solid into the corresponding Geant4 object(s).