Belle II Software development
shape_t Struct Referenceabstract

shape More...

#include <shapes.h>

Inheritance diagram for shape_t:
pent_t quadrilateral_t quadrilateral_barrel_t quadrilateral_endcap_t

Public Member Functions

G4VSolid * get_solid (const std::string &prefix, double wrapthick, G4Translate3D &shift) const
 get solid
 
virtual G4VSolid * get_tesselatedsolid (const std::string &prefix, double wrapthick, G4Translate3D &shift) const =0
 get tesselated solid
 
virtual G4VSolid * get_trapezoid (const std::string &prefix, double wrapthick, G4Translate3D &shift) const =0
 get trapezoid
 
virtual G4VSolid * get_extrudedsolid (const std::string &prefix, double wrapthick, G4Translate3D &shift) const =0
 get extruded solid
 
virtual G4VSolid * get_bellecrystal (const std::string &prefix, double wrapthick, G4Translate3D &shift) const =0
 get Belle crystal
 
virtual bool istrap () const =0
 is trapped
 

Public Attributes

int nshape
 shapes
 

Detailed Description

shape

Definition at line 29 of file shapes.h.

Constructor & Destructor Documentation

◆ shape_t()

shape_t ( )
inline

Definition at line 31 of file shapes.h.

31: nshape(0) {}
int nshape
shapes
Definition: shapes.h:30

◆ ~shape_t()

virtual ~shape_t ( )
inlinevirtual

Definition at line 32 of file shapes.h.

32{}

Member Function Documentation

◆ get_solid()

G4VSolid * get_solid ( const std::string &  prefix,
double  wrapthick,
G4Translate3D &  shift 
) const

get solid

Definition at line 73 of file shapes.cc.

74 {
75 return get_bellecrystal(prefix, wrapthick, shift);
76 }
virtual G4VSolid * get_bellecrystal(const std::string &prefix, double wrapthick, G4Translate3D &shift) const =0
get Belle crystal

◆ get_trapezoid()

virtual G4VSolid * get_trapezoid ( const std::string &  prefix,
double  wrapthick,
G4Translate3D &  shift 
) const
pure virtual

get trapezoid

Implemented in quadrilateral_t, and pent_t.

◆ istrap()

virtual bool istrap ( ) const
pure virtual

is trapped

Implemented in quadrilateral_barrel_t, quadrilateral_endcap_t, and pent_t.

Member Data Documentation

◆ nshape

int nshape

shapes

Definition at line 30 of file shapes.h.


The documentation for this struct was generated from the following files: