DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::Layer Class Reference

Class to describe one layer in a layering stack. More...

#include <Layering.h>

Public Member Functions

 Layer ()=default
 Default constructor. More...
 
 Layer (const Layer &copy)=default
 Copy constructor. More...
 
Layeroperator= (const Layer &copy)=default
 Assignment operator. More...
 
void compute ()
 
double thickness () const
 
double thicknessWithPreOffset () const
 
void add (const LayerSlice &slice)
 

Public Attributes

double _thickness = 0.0
 
double _preOffset = 0.0
 
std::vector< LayerSlice_slices
 

Detailed Description

Class to describe one layer in a layering stack.

Author
M.Frank
Version
1.0

Definition at line 56 of file Layering.h.

Constructor & Destructor Documentation

◆ Layer() [1/2]

dd4hep::Layer::Layer ( )
default

Default constructor.

◆ Layer() [2/2]

dd4hep::Layer::Layer ( const Layer copy)
default

Copy constructor.

Member Function Documentation

◆ add()

void dd4hep::Layer::add ( const LayerSlice slice)
inline

Definition at line 76 of file Layering.h.

◆ compute()

void dd4hep::Layer::compute ( )

Definition at line 21 of file Layering.cpp.

◆ operator=()

Layer& dd4hep::Layer::operator= ( const Layer copy)
default

Assignment operator.

◆ thickness()

double dd4hep::Layer::thickness ( ) const
inline

Definition at line 70 of file Layering.h.

◆ thicknessWithPreOffset()

double dd4hep::Layer::thicknessWithPreOffset ( ) const
inline

Definition at line 73 of file Layering.h.

Member Data Documentation

◆ _preOffset

double dd4hep::Layer::_preOffset = 0.0

Definition at line 59 of file Layering.h.

◆ _slices

std::vector<LayerSlice> dd4hep::Layer::_slices

Definition at line 60 of file Layering.h.

◆ _thickness

double dd4hep::Layer::_thickness = 0.0

Definition at line 58 of file Layering.h.


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