ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::LayerIndex Class Reference

LayerIndex for the identification of layers in a simplified detector geometry of Cylinders and Discs. More...

#include <LayerIndex.h>

Collaboration diagram for Trk::LayerIndex:

Public Member Functions

 LayerIndex ()=default
 Default Constructor.
 LayerIndex (int value)
 Constructor with value.
 LayerIndex (const LayerIndex &layIx)=default
 Copy Constructor.
 LayerIndex (LayerIndex &&layIx)=default
 Move Constructor.
LayerIndexoperator= (const LayerIndex &layIx)=default
 Assignment Operator.
LayerIndexoperator= (LayerIndex &&layIx)=default
 Move Assignment Operator.
 ~LayerIndex ()=default
 Destructor.
int value () const
 layerIndex expressed in an integer

Protected Attributes

int m_value =0

Detailed Description

LayerIndex for the identification of layers in a simplified detector geometry of Cylinders and Discs.

Author
Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch

Definition at line 36 of file LayerIndex.h.

Constructor & Destructor Documentation

◆ LayerIndex() [1/4]

Trk::LayerIndex::LayerIndex ( )
default

Default Constructor.

◆ LayerIndex() [2/4]

Trk::LayerIndex::LayerIndex ( int value)
inline

Constructor with value.

Definition at line 44 of file LayerIndex.h.

45 : m_value(value)
46 {}
int value() const
layerIndex expressed in an integer
Definition LayerIndex.h:71

◆ LayerIndex() [3/4]

Trk::LayerIndex::LayerIndex ( const LayerIndex & layIx)
default

Copy Constructor.

◆ LayerIndex() [4/4]

Trk::LayerIndex::LayerIndex ( LayerIndex && layIx)
default

Move Constructor.

◆ ~LayerIndex()

Trk::LayerIndex::~LayerIndex ( )
default

Destructor.

Member Function Documentation

◆ operator=() [1/2]

LayerIndex & Trk::LayerIndex::operator= ( const LayerIndex & layIx)
default

Assignment Operator.

◆ operator=() [2/2]

LayerIndex & Trk::LayerIndex::operator= ( LayerIndex && layIx)
default

Move Assignment Operator.

◆ value()

int Trk::LayerIndex::value ( ) const
inline

layerIndex expressed in an integer

Definition at line 71 of file LayerIndex.h.

72{
73 return m_value;
74}

Member Data Documentation

◆ m_value

int Trk::LayerIndex::m_value =0
protected

Definition at line 67 of file LayerIndex.h.


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