allpix::ParameterisedG4
Class to construct parameterized physical volumes allowing to switch off overlap checking. More…
#include <Parameterization2DG4.hpp>
Inherits from G4PVParameterised
Public Functions
Name | |
---|---|
ParameterisedG4(const G4String & name, G4LogicalVolume * logical, G4LogicalVolume * mother, const EAxis axis, const int n_replicas, G4VPVParameterisation * param, bool check_overlaps) | |
bool | CheckOverlaps(int res, double tol, bool verbose, int max_err) override |
Detailed Description
class allpix::ParameterisedG4;
Class to construct parameterized physical volumes allowing to switch off overlap checking.
Warning: This overload is needed to allow to disable overlap checking, because it can hang the deposition
Public Functions Documentation
function ParameterisedG4
ParameterisedG4(
const G4String & name,
G4LogicalVolume * logical,
G4LogicalVolume * mother,
const EAxis axis,
const int n_replicas,
G4VPVParameterisation * param,
bool check_overlaps
)
function CheckOverlaps
bool CheckOverlaps(
int res,
double tol,
bool verbose,
int max_err
) override
Warning: This method is overwritten to allow to disable it, because the overlap checking can hang the deposition
Updated on 2025-02-27 at 14:14:46 +0000