ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
Trk::LayerIndex Class Reference

#include <LayerIndex.h>

Collaboration diagram for Trk::LayerIndex:

Public Member Functions

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

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  {}

◆ 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:
Trk::LayerIndex::m_value
int m_value
Definition: LayerIndex.h:67
Trk::LayerIndex::value
int value() const
layerIndex expressed in an integer
Definition: LayerIndex.h:71