ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SiSurfaceCharge Class Reference

#include <SiSurfaceCharge.h>

Collaboration diagram for SiSurfaceCharge:

Public Member Functions

 SiSurfaceCharge (const SiSurfaceCharge &surfaceCharge)
 
 SiSurfaceCharge (const InDetDD::SiLocalPosition &position, const SiCharge &charge)
 
 ~SiSurfaceCharge ()
 
SiSurfaceChargeoperator= (const SiSurfaceCharge &surfaceCharge)
 
const InDetDD::SiLocalPositionposition () const
 
const SiChargecharge () const
 

Private Member Functions

 SiSurfaceCharge ()
 

Private Attributes

InDetDD::SiLocalPosition m_position
 
SiCharge m_charge
 

Detailed Description

Definition at line 23 of file SiSurfaceCharge.h.

Constructor & Destructor Documentation

◆ SiSurfaceCharge() [1/3]

SiSurfaceCharge::SiSurfaceCharge ( const SiSurfaceCharge surfaceCharge)
default

◆ SiSurfaceCharge() [2/3]

SiSurfaceCharge::SiSurfaceCharge ( const InDetDD::SiLocalPosition position,
const SiCharge charge 
)

Definition at line 20 of file SiSurfaceCharge.cxx.

21  :
24 {}

◆ ~SiSurfaceCharge()

SiSurfaceCharge::~SiSurfaceCharge ( )
inline

Definition at line 72 of file SiSurfaceCharge.h.

73 {}

◆ SiSurfaceCharge() [3/3]

SiSurfaceCharge::SiSurfaceCharge ( )
private

Member Function Documentation

◆ charge()

const SiCharge & SiSurfaceCharge::charge ( ) const
inline

Definition at line 80 of file SiSurfaceCharge.h.

81 {
82  return m_charge;
83 }

◆ operator=()

SiSurfaceCharge & SiSurfaceCharge::operator= ( const SiSurfaceCharge surfaceCharge)

Definition at line 27 of file SiSurfaceCharge.cxx.

28 {
29  if (this!=&surfaceCharge) {
30  m_position=surfaceCharge.m_position;
31  m_charge=surfaceCharge.m_charge;
32  } else {}
33  return *this;
34 }

◆ position()

const InDetDD::SiLocalPosition & SiSurfaceCharge::position ( ) const
inline

Definition at line 75 of file SiSurfaceCharge.h.

76 {
77  return m_position;
78 }

Member Data Documentation

◆ m_charge

SiCharge SiSurfaceCharge::m_charge
private

Definition at line 66 of file SiSurfaceCharge.h.

◆ m_position

InDetDD::SiLocalPosition SiSurfaceCharge::m_position
private

Definition at line 65 of file SiSurfaceCharge.h.


The documentation for this class was generated from the following files:
SiSurfaceCharge::m_charge
SiCharge m_charge
Definition: SiSurfaceCharge.h:66
SiSurfaceCharge::m_position
InDetDD::SiLocalPosition m_position
Definition: SiSurfaceCharge.h:65
SiSurfaceCharge::position
const InDetDD::SiLocalPosition & position() const
Definition: SiSurfaceCharge.h:75
SiSurfaceCharge::charge
const SiCharge & charge() const
Definition: SiSurfaceCharge.h:80