DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Friends | List of all members
dd4hep::sim::Geant4GeometryInfo Class Reference

Concreate class holding the relation information between geant4 objects and dd4hep objects. More...

#include <Geant4GeometryInfo.h>

Inheritance diagram for dd4hep::sim::Geant4GeometryInfo:
TNamed dd4hep::detail::GeoHandlerTypes::GeometryInfo

Classes

struct  Placement
 
union  PlacementFlags
 
struct  PropertyVector
 

Public Types

typedef std::vector< const G4VPhysicalVolume * > Geant4PlacementPath
 

Public Member Functions

G4VPhysicalVolume * world () const
 The world placement. More...
 
void setWorld (const TGeoNode *node)
 Set the world volume. More...
 

Static Public Member Functions

static std::string placementPath (const Geant4PlacementPath &path, bool reverse=true)
 Assemble Geant4 volume path. More...
 

Public Attributes

TGeoManager * manager = 0
 
Geant4GeometryMaps::IsotopeMap g4Isotopes
 
Geant4GeometryMaps::ElementMap g4Elements
 
Geant4GeometryMaps::MaterialMap g4Materials
 
Geant4GeometryMaps::SolidMap g4Solids
 
Geant4GeometryMaps::VolumeMap g4Volumes
 
Geant4GeometryMaps::PlacementMap g4Placements
 
Geant4GeometryMaps::AssemblyMap g4AssemblyVolumes
 
Geant4GeometryMaps::VolumeImprintMap g4VolumeImprints
 
Geant4GeometryMaps::G4PlacementMap g4Parameterised
 
Geant4GeometryMaps::G4PlacementMap g4Replicated
 
std::map< PropertyTable, PropertyVector * > g4OpticalProperties
 
std::map< OpticalSurface, G4OpticalSurface * > g4OpticalSurfaces
 
std::map< SkinSurface, G4LogicalSkinSurface * > g4SkinSurfaces
 
std::map< BorderSurface, G4LogicalBorderSurface * > g4BorderSurfaces
 
std::map< Region, G4Region * > g4Regions
 
std::map< VisAttr, G4VisAttributes * > g4Vis
 
std::map< LimitSet, G4UserLimits * > g4Limits
 
std::map< Geant4PlacementPath, Placementg4Paths
 
std::map< SensitiveDetector, std::set< const TGeoVolume * > > sensitives
 
std::map< Region, std::set< const TGeoVolume * > > regions
 
std::map< LimitSet, std::set< const TGeoVolume * > > limits
 
G4VPhysicalVolume * m_world
 
PrintLevel printLevel
 
bool valid
 
- Public Attributes inherited from dd4hep::detail::GeoHandlerTypes::GeometryInfo
std::vector< TGeoShape * > solids
 
std::set< TGeoShape * > solid_set
 
std::set< VolumevolumeSet
 
std::vector< Volumevolumes
 
std::set< VisAttrvis
 
std::set< Ref_tfields
 
std::set< Materialmaterials
 
std::set< TGeoMedium * > media
 
std::set< TGeoElement * > elements
 
std::vector< std::pair< std::string, TGeoMatrix * > > trafos
 

Private Member Functions

 Geant4GeometryInfo ()
 Default constructor. More...
 
virtual ~Geant4GeometryInfo ()
 Default destructor. More...
 

Friends

class Geant4Mapping
 

Detailed Description

Concreate class holding the relation information between geant4 objects and dd4hep objects.

Author
M.Frank
Version
1.0

Definition at line 93 of file Geant4GeometryInfo.h.

Member Typedef Documentation

◆ Geant4PlacementPath

typedef std::vector<const G4VPhysicalVolume*> dd4hep::sim::Geant4GeometryInfo::Geant4PlacementPath

Definition at line 110 of file Geant4GeometryInfo.h.

Constructor & Destructor Documentation

◆ Geant4GeometryInfo()

Geant4GeometryInfo::Geant4GeometryInfo ( )
private

Default constructor.

Definition at line 40 of file Geant4GeometryInfo.cpp.

◆ ~Geant4GeometryInfo()

Geant4GeometryInfo::~Geant4GeometryInfo ( )
privatevirtual

Default destructor.

Definition at line 45 of file Geant4GeometryInfo.cpp.

Member Function Documentation

◆ placementPath()

std::string Geant4GeometryInfo::placementPath ( const Geant4PlacementPath path,
bool  reverse = true 
)
static

Assemble Geant4 volume path.

Definition at line 24 of file Geant4GeometryInfo.cpp.

◆ setWorld()

void Geant4GeometryInfo::setWorld ( const TGeoNode *  node)

Set the world volume.

Set the world placement.

Definition at line 59 of file Geant4GeometryInfo.cpp.

◆ world()

G4VPhysicalVolume * Geant4GeometryInfo::world ( ) const

The world placement.

Definition at line 52 of file Geant4GeometryInfo.cpp.

Friends And Related Function Documentation

◆ Geant4Mapping

friend class Geant4Mapping
friend

Definition at line 144 of file Geant4GeometryInfo.h.

Member Data Documentation

◆ g4AssemblyVolumes

Geant4GeometryMaps::AssemblyMap dd4hep::sim::Geant4GeometryInfo::g4AssemblyVolumes

Definition at line 118 of file Geant4GeometryInfo.h.

◆ g4BorderSurfaces

std::map<BorderSurface, G4LogicalBorderSurface*> dd4hep::sim::Geant4GeometryInfo::g4BorderSurfaces

Definition at line 132 of file Geant4GeometryInfo.h.

◆ g4Elements

Geant4GeometryMaps::ElementMap dd4hep::sim::Geant4GeometryInfo::g4Elements

Definition at line 113 of file Geant4GeometryInfo.h.

◆ g4Isotopes

Geant4GeometryMaps::IsotopeMap dd4hep::sim::Geant4GeometryInfo::g4Isotopes

Definition at line 112 of file Geant4GeometryInfo.h.

◆ g4Limits

std::map<LimitSet, G4UserLimits*> dd4hep::sim::Geant4GeometryInfo::g4Limits

Definition at line 135 of file Geant4GeometryInfo.h.

◆ g4Materials

Geant4GeometryMaps::MaterialMap dd4hep::sim::Geant4GeometryInfo::g4Materials

Definition at line 114 of file Geant4GeometryInfo.h.

◆ g4OpticalProperties

std::map<PropertyTable, PropertyVector*> dd4hep::sim::Geant4GeometryInfo::g4OpticalProperties

Definition at line 129 of file Geant4GeometryInfo.h.

◆ g4OpticalSurfaces

std::map<OpticalSurface, G4OpticalSurface*> dd4hep::sim::Geant4GeometryInfo::g4OpticalSurfaces

Definition at line 130 of file Geant4GeometryInfo.h.

◆ g4Parameterised

Geant4GeometryMaps::G4PlacementMap dd4hep::sim::Geant4GeometryInfo::g4Parameterised

Definition at line 120 of file Geant4GeometryInfo.h.

◆ g4Paths

std::map<Geant4PlacementPath, Placement> dd4hep::sim::Geant4GeometryInfo::g4Paths

Definition at line 136 of file Geant4GeometryInfo.h.

◆ g4Placements

Geant4GeometryMaps::PlacementMap dd4hep::sim::Geant4GeometryInfo::g4Placements

Definition at line 117 of file Geant4GeometryInfo.h.

◆ g4Regions

std::map<Region, G4Region*> dd4hep::sim::Geant4GeometryInfo::g4Regions

Definition at line 133 of file Geant4GeometryInfo.h.

◆ g4Replicated

Geant4GeometryMaps::G4PlacementMap dd4hep::sim::Geant4GeometryInfo::g4Replicated

Definition at line 121 of file Geant4GeometryInfo.h.

◆ g4SkinSurfaces

std::map<SkinSurface, G4LogicalSkinSurface*> dd4hep::sim::Geant4GeometryInfo::g4SkinSurfaces

Definition at line 131 of file Geant4GeometryInfo.h.

◆ g4Solids

Geant4GeometryMaps::SolidMap dd4hep::sim::Geant4GeometryInfo::g4Solids

Definition at line 115 of file Geant4GeometryInfo.h.

◆ g4Vis

std::map<VisAttr, G4VisAttributes*> dd4hep::sim::Geant4GeometryInfo::g4Vis

Definition at line 134 of file Geant4GeometryInfo.h.

◆ g4VolumeImprints

Geant4GeometryMaps::VolumeImprintMap dd4hep::sim::Geant4GeometryInfo::g4VolumeImprints

Definition at line 119 of file Geant4GeometryInfo.h.

◆ g4Volumes

Geant4GeometryMaps::VolumeMap dd4hep::sim::Geant4GeometryInfo::g4Volumes

Definition at line 116 of file Geant4GeometryInfo.h.

◆ limits

std::map<LimitSet, std::set<const TGeoVolume*> > dd4hep::sim::Geant4GeometryInfo::limits

Definition at line 139 of file Geant4GeometryInfo.h.

◆ m_world

G4VPhysicalVolume* dd4hep::sim::Geant4GeometryInfo::m_world

Definition at line 140 of file Geant4GeometryInfo.h.

◆ manager

TGeoManager* dd4hep::sim::Geant4GeometryInfo::manager = 0

Definition at line 111 of file Geant4GeometryInfo.h.

◆ printLevel

PrintLevel dd4hep::sim::Geant4GeometryInfo::printLevel

Definition at line 141 of file Geant4GeometryInfo.h.

◆ regions

std::map<Region, std::set<const TGeoVolume*> > dd4hep::sim::Geant4GeometryInfo::regions

Definition at line 138 of file Geant4GeometryInfo.h.

◆ sensitives

std::map<SensitiveDetector,std::set<const TGeoVolume*> > dd4hep::sim::Geant4GeometryInfo::sensitives

Definition at line 137 of file Geant4GeometryInfo.h.

◆ valid

bool dd4hep::sim::Geant4GeometryInfo::valid

Definition at line 142 of file Geant4GeometryInfo.h.


The documentation for this class was generated from the following files: