allpix::Parameterization2DG4
Represents a 2D Geant4 parameterization in the X,Y plane. More…
#include <Parameterization2DG4.hpp>
Inherits from G4VPVParameterisation
Public Functions
Name | |
---|---|
Parameterization2DG4(int div_x, double size_x, double size_y, double offset_x, double offset_y, double pos_z) Construct the parameterization. |
|
void | ComputeTransformation(const G4int, G4VPhysicalVolume * phys_volume) const override Place the physical volume at the correct place with the copy number. |
Detailed Description
class allpix::Parameterization2DG4;
Represents a 2D Geant4 parameterization in the X,Y plane.
Used to construct the pixel grid and the array of bump bonds.
Public Functions Documentation
function Parameterization2DG4
Parameterization2DG4(
int div_x,
double size_x,
double size_y,
double offset_x,
double offset_y,
double pos_z
)
Construct the parameterization.
Parameters:
- div_x Number of divisions in the x-direction (y is automatically inferred)
- size_x Size of single element in x-direction
- size_y Size of single element in y-direction
- offset_x Offset of grid in the x-direction
- offset_y Offset of grid in the y-direction
- pos_z Position of the 2D parameterization in the z-axis
function ComputeTransformation
void ComputeTransformation(
const G4int,
G4VPhysicalVolume * phys_volume
) const override
Place the physical volume at the correct place with the copy number.
Parameters:
- copy_id Id of the volume on the grid
- phys_volume Physical volume to place on the grid
Updated on 2024-12-13 at 08:31:36 +0000