15 #ifndef DD4hep_LAYERING_H
16 #define DD4hep_LAYERING_H
48 : _sensitive(s), _thickness(t), _material(m) {
52 : _sensitive(c._sensitive), _thickness(c._thickness), _material(c._material) {
115 const std::vector<Layer*>&
layers()
const {
129 : _layers(c._layers) {
std::vector< Layer * > _layers
double totalThickness() const
std::vector< Layer * > & layers()
Layer()
Default constructor.
void sensitivePositionsInLayer(XML::Element e, std::vector< double > &sens_pos) const
LayerStack()
Default constructor.
Class to convert a layering object from the compact notation.
void fromCompact(Layering &layering) const
Invoke converter.
double sectionThickness(size_t is, size_t ie) const
const Layer * layer(size_t which) const
double thicknessWithPreOffset() const
const std::vector< Layer * > & layers() const
LayerSlice(bool s, double t, const std::string &m)
Initializing constructor.
User abstraction class to manipulate XML elements within a document.
void add(const LayerSlice &s)
std::vector< LayerSlice > _slices
double singleLayerThickness(XML::Element e) const
Class to describe one layer in a layering stack.
virtual ~Layering()
Default destructor.
double absorberThicknessInLayer(XML::Element e) const
double totalThickness() const
~LayerStack()
Default destructor.
Class to describe the slice of one layer in a layering stack.
LayeringCnv(Element e)
Initializing constructor.
Class to describe a layering stack.
Layering()
Default constructor.
std::vector< Layer * > & layers()
LayerSlice & operator=(const LayerSlice &c)
Assignment operator.
XML converter for layering objects.
Layer & operator=(const Layer &c)
Assignment operator.
LayerStack & operator=(const LayerStack &c)
Assignment operator.