allpix::BoxModel
Model of a rectangular box.
#include <BoxModel.hpp>
Inherits from allpix::PassiveMaterialModel
Public Functions
Name | |
---|---|
BoxModel(const Configuration & config, GeometryManager * geo_manager) Constructs the box passive material model. |
|
virtual double | getMaxSize() const override Virtual function that will return the maximum size parameter of the model. |
Additional inherited members
Public Functions inherited from allpix::PassiveMaterialModel
Name | |
---|---|
std::shared_ptr< PassiveMaterialModel > | factory(const Configuration & config, GeometryManager * geo_manager) Factory to dynamically create track objects. |
PassiveMaterialModel(const Configuration & config, GeometryManager * geo_manager) Constructs the base passive material model. |
|
virtual | ~PassiveMaterialModel() =default Essential virtual destructor. |
virtual void | buildVolume(const std::shared_ptr< G4LogicalVolume > & world_log) |
const std::string & | getName() const return name of this volume |
const std::string & | getMotherVolume() const return name of the mother volume or an empty string of none is set |
Protected Functions inherited from allpix::PassiveMaterialModel
Name | |
---|---|
void | set_visualization_attributes(G4LogicalVolume * volume, G4LogicalVolume * mother_volume) Set visualization attributes of the passive material as specified in the configuration. |
void | add_points() Delivers the points which represent the outer corners of the passive material to the GeometryManager. |
Protected Attributes inherited from allpix::PassiveMaterialModel
Name | |
---|---|
Configuration | config_ |
GeometryManager * | geo_manager_ |
double | max_size_ |
std::string | name_ |
ROOT::Math::Rotation3D | orientation_ |
ROOT::Math::XYZPoint | position_ |
std::shared_ptr< G4RotationMatrix > | rotation_ |
std::string | mother_volume_ |
std::vector< std::shared_ptr< G4VSolid > > | solids_ |
Public Functions Documentation
function BoxModel
inline explicit BoxModel(
const Configuration & config,
GeometryManager * geo_manager
)
Constructs the box passive material model.
Parameters:
- config Configuration with description of the model
- geo_manager Pointer to the global geometry manager
function getMaxSize
inline virtual double getMaxSize() const override
Virtual function that will return the maximum size parameter of the model.
Return: Maximum size of the model
Reimplements: allpix::PassiveMaterialModel::getMaxSize
Updated on 2024-12-13 at 08:31:36 +0000