|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DDG4_GEANT4PLACEMENTPARAMETERISATION_H
14 #define DDG4_GEANT4PLACEMENTPARAMETERISATION_H
20 #include <G4Transform3D.hh>
21 #include <G4PVParameterised.hh>
22 #include <G4VPVParameterisation.hh>
90 void operator()(
const G4Transform3D& transform);
100 std::size_t
count()
const;
106 #endif // DDG4_GEANT4PLACEMENTPARAMETERISATION_H
const Parameters & m_params
Setup parameters: Reference to the DD4hep placement parameters.
Geant4PlacementParameterisation(PlacedVolume pv)
Initializing constructor.
Handle class holding a placed volume (also called physical volume)
Class to dump the records of the intrinsic Geant4 event model.
G4ThreeVector translation
PlacedVolume m_placement
Setup parameters: Reference to the DD4hep placement handle.
Dimension & operator=(Dimension &&)=default
Assignment operator.
Helper structure to cache dimension variabled from setup parameters.
std::vector< G4ThreeVector > Translations
std::vector< Dimension > Dimensions
EAxis m_axis
Axis definition.
Translations m_translations
Dimension(Dimension &&)=default
Move Constructor.
Dimensions m_dimensions
Setup parameters: Dimensional parameter setup.
Dimension(const Dimension &)=default
Copy Constructor.
Dimension & operator=(const Dimension &)=default
Assignment operator.
Dimension m_start
Setup parameters: Initial parameterisation position.
virtual ~Geant4PlacementParameterisation()=default
Standard destructor.
size_t m_num_cells
Total number of parameterized cells.
EAxis axis() const
Access Axis direction.
std::vector< G4RotationMatrix > Rotations
std::size_t count() const
Access number of replicas.
Namespace for the AIDA detector description toolkit.
Dimension()=default
Default constructor.
Rotations m_rotations
Cached rotations and translations for complex parameterisations.
void operator()(const G4Transform3D &transform)
Callback to store resulting rotation.
virtual void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *vol) const override
G4VPVParameterisation overload: Compute copy transformation.
Dimension(const G4Transform3D &d, std::size_t c)
Initializing constructor.
Optional parameters to implement special features such as parametrization.
bool m_have_rotation
Optimization flag for simple parameteristions.