|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DDG4_GEANT4CONVERTER_H
14 #define DDG4_GEANT4CONVERTER_H
91 virtual void*
handleIsotope(
const std::string& name,
const TGeoIsotope* iso)
const;
97 virtual void*
handleSolid(
const std::string& name,
const TGeoShape* volume)
const;
100 virtual void*
handleVolume(
const std::string& name,
const TGeoVolume* volume)
const;
101 virtual void*
collectVolume(
const std::string& name,
const TGeoVolume* volume)
const;
104 virtual void*
handlePlacement(
const std::string& name,
const TGeoNode* node)
const;
105 virtual void*
handleAssembly(
const std::string& name,
const TGeoNode* node)
const;
111 virtual void*
handleRegion(
Region region,
const std::set<const TGeoVolume*>& volumes)
const;
126 virtual void*
printPlacement(
const std::string& name,
const TGeoNode* node)
const;
130 #endif // DDG4_GEANT4CONVERTER_H
bool debugRegions
Property: Flag to debug regions during conversion mechanism.
bool debugMaterials
Property: Flag to debug materials during conversion mechanism.
virtual void * handleLimitSet(LimitSet limitset, const std::set< const TGeoVolume * > &volumes) const
Convert the geometry type LimitSet into the corresponding Geant4 object(s).
Handle class describing an element in the periodic table.
Geometry converter from dd4hep to Geant 4.
Geant4Converter(const Detector &description)
Initializing Constructor.
Handle class to hold the information of a sensitive detector.
bool debugLimits
Property: Flag to debug LimitSets during conversion mechanism.
bool debugElements
Property: Flag to debug elements during conversion mechanism.
std::map< std::string, PropertyValues > Properties
Handle class describing visualization attributes.
void * handleSkinSurface(TObject *surface) const
Convert the skin surface to Geant4.
PrintLevel outputLevel
Property: Output level for debug printing.
bool debugSurfaces
Property: Flag to debug surfaces during conversion mechanism.
bool debugShapes
Property: Flag to debug shapes during conversion mechanism.
Handle class describing a material.
bool debugPlacements
Property: Flag to debug placements during conversion mechanism.
Geant4Converter & create(DetElement top)
Create geometry conversion.
Handle class describing a detector element.
void * handleBorderSurface(TObject *surface) const
Convert the border surface to Geant4.
The base class for all dd4hep geometry crawlers.
Geometry mapping from dd4hep to Geant 4.
bool checkOverlaps
Property: Check geometrical overlaps for volume placements and G4 imprints.
virtual ~Geant4Converter()
Standard destructor.
Handle class describing a set of limits as they are used for simulation.
virtual void * handleMaterial(const std::string &name, Material medium) const
Convert the geometry type material into the corresponding Geant4 object(s).
void handleProperties(Detector::Properties &prp) const
Handle the geant 4 specific properties.
Handle class describing a region as used in simulation.
virtual void printSensitive(SensitiveDetector sens_det, const std::set< const TGeoVolume * > &volumes) const
Print the geometry type SensitiveDetector.
void * handleOpticalSurface(TObject *surface) const
Convert the optical surface to Geant4.
virtual void * handleAssembly(const std::string &name, const TGeoNode *node) const
Dump volume placement in GDML format to output stream.
virtual void * handleVis(const std::string &name, VisAttr vis) const
Convert the geometry visualisation attributes to 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).
bool debugVolumes
Property: Flag to debug volumes during conversion mechanism.
virtual void * handleSolid(const std::string &name, const TGeoShape *volume) const
Convert the geometry type solid into the corresponding Geant4 object(s).
virtual void * collectVolume(const std::string &name, const TGeoVolume *volume) const
Dump logical volume in GDML format to output stream.
bool printSensitives
Property: Flag to dump all sensitives after the conversion procedure.
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 * handleIsotope(const std::string &name, const TGeoIsotope *iso) const
Handle the conversion of isotopes.
Class of the ROOT toolkit. See http://root.cern.ch/root/htmldoc/ClassIndex.html.
virtual void * handleMaterialProperties(TObject *matrix) const
Convert the geometry type material into the corresponding Geant4 object(s).
Namespace for the AIDA detector description toolkit.
bool debugReflections
Property: Flag to debug reflections during conversion mechanism.
virtual void * handleRegion(Region region, const std::set< const TGeoVolume * > &volumes) const
Convert the geometry type region into the corresponding Geant4 object(s).
The main interface to the dd4hep detector description package.
bool printPlacements
Property: Flag to dump all placements after the conversion procedure.
virtual void * handleElement(const std::string &name, Atom element) const
Convert the geometry type element into the corresponding Geant4 object(s).
virtual void * printPlacement(const std::string &name, const TGeoNode *node) const
Print Geant4 placement.