9#include <vxd/geometry/GeoVXDAssembly.h>
10#include <G4ReflectionFactory.hh>
11#include <G4LogicalVolume.hh>
22 G4ReflectionFactory& reflection = *G4ReflectionFactory::Instance();
23 int numberOfDaughters = mother->GetNoDaughters();
25 reflection.Place(transform * p.second, p.first->GetName(), p.first,
26 mother,
false, ++numberOfDaughters,
false);
void place(G4LogicalVolume *mother, const G4Transform3D &transform)
Place all the volumes already added to the assembly in the given mother.
std::pair< G4LogicalVolume *, G4Transform3D > Placement
Placement of a logical volume consists of the Volume and ins transformation.
std::vector< Placement > m_volumes
Array of all volumes and their placements in the assembly.
Namespace to provide code needed by both Vertex Detectors, PXD and SVD, and also testbeam telescopes.
Abstract base class for different kinds of events.