DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Class to dump the records of the intrinsic Geant4 event model. More...
#include <Geant4PlacementParameterisation.h>
Classes | |
struct | Dimension |
Helper structure to cache dimension variabled from setup parameters. More... | |
Public Types | |
using | Parameters = PlacedVolume::Object::Parameterisation |
using | Rotations = std::vector< G4RotationMatrix > |
using | Translations = std::vector< G4ThreeVector > |
using | Dimensions = std::vector< Dimension > |
Public Member Functions | |
void | operator() (const G4Transform3D &transform) |
Callback to store resulting rotation. More... | |
Geant4PlacementParameterisation (PlacedVolume pv) | |
Initializing constructor. More... | |
virtual | ~Geant4PlacementParameterisation ()=default |
Standard destructor. More... | |
EAxis | axis () const |
Access Axis direction. More... | |
std::size_t | count () const |
Access number of replicas. More... | |
virtual void | ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *vol) const override |
G4VPVParameterisation overload: Compute copy transformation. More... | |
Public Attributes | |
PlacedVolume | m_placement |
Setup parameters: Reference to the DD4hep placement handle. More... | |
const Parameters & | m_params |
Setup parameters: Reference to the DD4hep placement parameters. More... | |
Dimension | m_start { } |
Setup parameters: Initial parameterisation position. More... | |
Dimensions | m_dimensions { } |
Setup parameters: Dimensional parameter setup. More... | |
EAxis | m_axis { kUndefined } |
Axis definition. More... | |
size_t | m_num_cells { 0UL } |
Total number of parameterized cells. More... | |
bool | m_have_rotation { false } |
Optimization flag for simple parameteristions. More... | |
Rotations | m_rotations |
Cached rotations and translations for complex parameterisations. More... | |
Translations | m_translations |
Class to dump the records of the intrinsic Geant4 event model.
Definition at line 39 of file Geant4PlacementParameterisation.h.
using dd4hep::sim::Geant4PlacementParameterisation::Dimensions = std::vector<Dimension> |
Definition at line 67 of file Geant4PlacementParameterisation.h.
using dd4hep::sim::Geant4PlacementParameterisation::Parameters = PlacedVolume::Object::Parameterisation |
Definition at line 64 of file Geant4PlacementParameterisation.h.
using dd4hep::sim::Geant4PlacementParameterisation::Rotations = std::vector<G4RotationMatrix> |
Definition at line 65 of file Geant4PlacementParameterisation.h.
using dd4hep::sim::Geant4PlacementParameterisation::Translations = std::vector<G4ThreeVector> |
Definition at line 66 of file Geant4PlacementParameterisation.h.
dd4hep::sim::Geant4PlacementParameterisation::Geant4PlacementParameterisation | ( | PlacedVolume | pv | ) |
Initializing constructor.
Definition at line 24 of file Geant4PlacementParameterisation.cpp.
|
virtualdefault |
Standard destructor.
|
inline |
Access Axis direction.
Definition at line 98 of file Geant4PlacementParameterisation.h.
|
overridevirtual |
G4VPVParameterisation overload: Compute copy transformation.
G4VPVParameterisation overload: Callback to place sub-volumes.
Definition at line 83 of file Geant4PlacementParameterisation.cpp.
std::size_t dd4hep::sim::Geant4PlacementParameterisation::count | ( | ) | const |
Access number of replicas.
Definition at line 69 of file Geant4PlacementParameterisation.cpp.
void dd4hep::sim::Geant4PlacementParameterisation::operator() | ( | const G4Transform3D & | transform | ) |
Callback to store resulting rotation.
Definition at line 74 of file Geant4PlacementParameterisation.cpp.
EAxis dd4hep::sim::Geant4PlacementParameterisation::m_axis { kUndefined } |
Axis definition.
Definition at line 79 of file Geant4PlacementParameterisation.h.
Dimensions dd4hep::sim::Geant4PlacementParameterisation::m_dimensions { } |
Setup parameters: Dimensional parameter setup.
Definition at line 76 of file Geant4PlacementParameterisation.h.
bool dd4hep::sim::Geant4PlacementParameterisation::m_have_rotation { false } |
Optimization flag for simple parameteristions.
Definition at line 83 of file Geant4PlacementParameterisation.h.
size_t dd4hep::sim::Geant4PlacementParameterisation::m_num_cells { 0UL } |
Total number of parameterized cells.
Definition at line 81 of file Geant4PlacementParameterisation.h.
const Parameters& dd4hep::sim::Geant4PlacementParameterisation::m_params |
Setup parameters: Reference to the DD4hep placement parameters.
Definition at line 72 of file Geant4PlacementParameterisation.h.
PlacedVolume dd4hep::sim::Geant4PlacementParameterisation::m_placement |
Setup parameters: Reference to the DD4hep placement handle.
Definition at line 70 of file Geant4PlacementParameterisation.h.
|
mutable |
Cached rotations and translations for complex parameterisations.
Definition at line 86 of file Geant4PlacementParameterisation.h.
Dimension dd4hep::sim::Geant4PlacementParameterisation::m_start { } |
Setup parameters: Initial parameterisation position.
Definition at line 74 of file Geant4PlacementParameterisation.h.
|
mutable |
Definition at line 87 of file Geant4PlacementParameterisation.h.