allpix::ConeModel

#include <ConeModel.hpp>

Inherits from allpix::PassiveMaterialModel

Public Functions

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

inline explicit ConeModel(
    const Configuration & config,
    GeometryManager * geo_manager
)
C++

Constructs the Cone passive material model.

Parameters:

  • config Configuration with description of the model
  • geo_manager Pointer to the global geometry manager

Set the CONE specifications

Required parameters outer_radius_begin : outer radius at the begin (negative z) of the cone outer_radius_end : outer radius at the end (positive z) of the cone inner_radius_begin : inner radius at the begin (negative z) of the cone inner_radius_end : inner radius at the end (positive z) of the cone starting_angle : start-angle ( default 0) arc_length : length-of the arc (360 deg default)

function getMaxSize

inline virtual double getMaxSize() const override
C++

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