DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 constructor. More...
 
 Layer (const Layer &c)
 Copy constructor. More...
 
Layeroperator= (const Layer &c)
 Assignment operator. More...
 
void compute ()
 
double thickness () const
 
double thicknessWithPreOffset () const
 
void add (const LayerSlice &s)
 

Public Attributes

double _thickness
 
double _preOffset
 
std::vector< LayerSlice_slices
 

Detailed Description

Class to describe one layer in a layering stack.

Author
M.Frank
Version
1.0

Definition at line 61 of file Layering.h.

Constructor & Destructor Documentation

DD4hep::Layer::Layer ( )
inline

Default constructor.

Definition at line 87 of file Layering.h.

Layer::Layer ( const Layer c)

Copy constructor.

Definition at line 39 of file Layering.cpp.

Member Function Documentation

void DD4hep::Layer::add ( const LayerSlice s)
inline

Definition at line 81 of file Layering.h.

References _slices.

Referenced by DD4hep::XML::LayeringCnv::fromCompact().

void Layer::compute ( )

Definition at line 52 of file Layering.cpp.

References _slices, and _thickness.

Referenced by DD4hep::XML::LayeringCnv::fromCompact().

Layer & Layer::operator= ( const Layer c)

Assignment operator.

Definition at line 43 of file Layering.cpp.

References _preOffset, _slices, and _thickness.

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

Definition at line 75 of file Layering.h.

References _thickness.

Referenced by create_detector().

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

Definition at line 78 of file Layering.h.

References _preOffset, and _thickness.

Member Data Documentation

double DD4hep::Layer::_preOffset

Definition at line 64 of file Layering.h.

Referenced by operator=(), and thicknessWithPreOffset().

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

Definition at line 65 of file Layering.h.

Referenced by add(), compute(), and operator=().

double DD4hep::Layer::_thickness

Definition at line 63 of file Layering.h.

Referenced by compute(), operator=(), thickness(), and thicknessWithPreOffset().


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