allpix::CylinderModel

Model of an cylinder with inner and outer radius.

#include <CylinderModel.hpp>

Inherits from allpix::PassiveMaterialModel

Public Functions

Name
CylinderModel(const Configuration & config, GeometryManager * geo_manager)
Constructs the cylinder 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 CylinderModel

inline explicit CylinderModel(
    const Configuration & config,
    GeometryManager * geo_manager
)

Constructs the cylinder 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 2025-02-27 at 14:14:46 +0000