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

Hack! Wrapper around G4AssemblyVolume to access protected members. More...

#include <Geant4AssemblyVolume.h>

Public Types

typedef std::vector< const TGeoNode * > Chain
 

Public Member Functions

 Geant4AssemblyVolume ()
 Default constructor with initialization. More...
 
 Geant4AssemblyVolume (Geant4AssemblyVolume &&copy)=delete
 Inhibit move construction. More...
 
 Geant4AssemblyVolume (const Geant4AssemblyVolume &copy)=delete
 Inhibit copy construction. More...
 
Geant4AssemblyVolumeoperator= (Geant4AssemblyVolume &&copy)=delete
 Inhibit move assignment. More...
 
Geant4AssemblyVolumeoperator= (const Geant4AssemblyVolume &copy)=delete
 Inhibit copy assignment. More...
 
virtual ~Geant4AssemblyVolume ()
 Default destructor. More...
 
long placeVolume (const TGeoNode *n, G4LogicalVolume *pPlacedVolume, G4Transform3D &transformation)
 Place logical daughter volume into the assembly. More...
 
long placeAssembly (const TGeoNode *n, Geant4AssemblyVolume *pPlacedVolume, G4Transform3D &transformation)
 Place daughter assembly into the assembly
More...
 
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. More...
 

Public Attributes

std::vector< const TGeoNode * > m_entries
 
std::vector< Geant4AssemblyVolume * > m_places
 
G4AssemblyVolumem_assembly { nullptr }
 

Detailed Description

Hack! Wrapper around G4AssemblyVolume to access protected members.

Author
M.Frank
Version
1.0

Definition at line 41 of file Geant4AssemblyVolume.h.

Member Typedef Documentation

◆ Chain

typedef std::vector<const TGeoNode*> dd4hep::sim::Geant4AssemblyVolume::Chain

Definition at line 45 of file Geant4AssemblyVolume.h.

Constructor & Destructor Documentation

◆ Geant4AssemblyVolume() [1/3]

Geant4AssemblyVolume::Geant4AssemblyVolume ( )

Default constructor with initialization.

Definition at line 32 of file Geant4AssemblyVolume.cpp.

◆ Geant4AssemblyVolume() [2/3]

dd4hep::sim::Geant4AssemblyVolume::Geant4AssemblyVolume ( Geant4AssemblyVolume &&  copy)
delete

Inhibit move construction.

◆ Geant4AssemblyVolume() [3/3]

dd4hep::sim::Geant4AssemblyVolume::Geant4AssemblyVolume ( const Geant4AssemblyVolume copy)
delete

Inhibit copy construction.

◆ ~Geant4AssemblyVolume()

Geant4AssemblyVolume::~Geant4AssemblyVolume ( )
virtual

Default destructor.

Definition at line 38 of file Geant4AssemblyVolume.cpp.

Member Function Documentation

◆ imprint()

void Geant4AssemblyVolume::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.

Definition at line 68 of file Geant4AssemblyVolume.cpp.

◆ operator=() [1/2]

Geant4AssemblyVolume& dd4hep::sim::Geant4AssemblyVolume::operator= ( const Geant4AssemblyVolume copy)
delete

Inhibit copy assignment.

◆ operator=() [2/2]

Geant4AssemblyVolume& dd4hep::sim::Geant4AssemblyVolume::operator= ( Geant4AssemblyVolume &&  copy)
delete

Inhibit move assignment.

◆ placeAssembly()

long Geant4AssemblyVolume::placeAssembly ( const TGeoNode *  n,
Geant4AssemblyVolume pPlacedVolume,
G4Transform3D &  transformation 
)

Place daughter assembly into the assembly

Place daughter assembly into the assembly.

Definition at line 56 of file Geant4AssemblyVolume.cpp.

◆ placeVolume()

long Geant4AssemblyVolume::placeVolume ( const TGeoNode *  n,
G4LogicalVolume *  pPlacedVolume,
G4Transform3D &  transformation 
)

Place logical daughter volume into the assembly.

Definition at line 44 of file Geant4AssemblyVolume.cpp.

Member Data Documentation

◆ m_assembly

G4AssemblyVolume* dd4hep::sim::Geant4AssemblyVolume::m_assembly { nullptr }

Definition at line 48 of file Geant4AssemblyVolume.h.

◆ m_entries

std::vector<const TGeoNode*> dd4hep::sim::Geant4AssemblyVolume::m_entries

Definition at line 46 of file Geant4AssemblyVolume.h.

◆ m_places

std::vector<Geant4AssemblyVolume*> dd4hep::sim::Geant4AssemblyVolume::m_places

Definition at line 47 of file Geant4AssemblyVolume.h.


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