|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DDG4_GEANT4ASSEMBLYVOLUME_H
14 #define DDG4_GEANT4ASSEMBLYVOLUME_H
20 #include <G4AssemblyVolume.hh>
32 class Geant4Converter;
33 class Geant4GeometryInfo;
45 typedef std::vector<const TGeoNode*>
Chain;
64 long placeVolume(
const TGeoNode* n, G4LogicalVolume* pPlacedVolume, G4Transform3D& transformation);
72 G4LogicalVolume* pMotherLV,
73 G4Transform3D& transformation,
Geometry converter from dd4hep to Geant 4.
std::vector< Geant4AssemblyVolume * > m_places
std::vector< const TGeoNode * > m_entries
Hack! Wrapper around G4AssemblyVolume to access protected members.
long placeVolume(const TGeoNode *n, G4LogicalVolume *pPlacedVolume, G4Transform3D &transformation)
Place logical daughter volume into the assembly.
std::vector< const TGeoNode * > Chain
Geant4AssemblyVolume(Geant4AssemblyVolume &©)=delete
Inhibit move construction.
Geant4AssemblyVolume & operator=(Geant4AssemblyVolume &©)=delete
Inhibit move assignment.
void imprint(const Geant4Converter &cnv, const TGeoNode *n, Chain chain, Geant4AssemblyVolume *pAssembly, G4LogicalVolume *pMotherLV, G4Transform3D &transformation, G4bool surfCheck)
Expand all daughter placements and expand the contained assemblies to imprints.
G4AssemblyVolume * m_assembly
Class of the Geant4 toolkit. See http://www-geant4.kek.jp/Reference.
virtual ~Geant4AssemblyVolume()
Default destructor.
Namespace for the AIDA detector description toolkit.
long placeAssembly(const TGeoNode *n, Geant4AssemblyVolume *pPlacedVolume, G4Transform3D &transformation)
Place daughter assembly into the assembly
Geant4AssemblyVolume & operator=(const Geant4AssemblyVolume ©)=delete
Inhibit copy assignment.
Geant4AssemblyVolume()
Default constructor with initialization.
Geant4AssemblyVolume(const Geant4AssemblyVolume ©)=delete
Inhibit copy construction.