ATLAS Offline Software
Loading...
Searching...
No Matches
InDetDD::SiDiodesParameters Class Reference

Class to handle the position of the centre and the width of a diode or a cluster of diodes Version 1.1 15/08/2001 David Calvet. More...

#include <SiDiodesParameters.h>

Collaboration diagram for InDetDD::SiDiodesParameters:

Public Member Functions

 SiDiodesParameters ()
 Implicit constructor:
 SiDiodesParameters (const SiDiodesParameters &parameters)
 Copy constructor:
 SiDiodesParameters (const SiLocalPosition &centre, const SiLocalPosition &width)
 Constructor with parameters: position of the diodes centre width of the diodes.
 ~SiDiodesParameters ()
 Destructor:
SiDiodesParametersoperator= (const SiDiodesParameters &parameters)
 Assignment operator:
const SiLocalPositioncentre () const
 position of the diodes centre:
const SiLocalPositionwidth () const
 width of the diodes:
SiLocalPosition halfWidth () const
double xEtaMin () const
 boundaries of the diodes:
double xEtaMax () const
double xPhiMin () const
double xPhiMax () const
double xDepthMin () const
double xDepthMax () const
void centre (const SiLocalPosition &centre)
void width (const SiLocalPosition &width)

Private Attributes

SiLocalPosition m_centre
 position of the diodes centre
SiLocalPosition m_width
 width of the diodes

Detailed Description

Class to handle the position of the centre and the width of a diode or a cluster of diodes Version 1.1 15/08/2001 David Calvet.

Definition at line 25 of file SiDiodesParameters.h.

Constructor & Destructor Documentation

◆ SiDiodesParameters() [1/3]

InDetDD::SiDiodesParameters::SiDiodesParameters ( )

Implicit constructor:

Definition at line 19 of file SiDiodesParameters.cxx.

19 :
20 m_centre(),
21 m_width()
22{}
SiLocalPosition m_centre
position of the diodes centre
SiLocalPosition m_width
width of the diodes

◆ SiDiodesParameters() [2/3]

InDetDD::SiDiodesParameters::SiDiodesParameters ( const SiDiodesParameters & parameters)
default

Copy constructor:

◆ SiDiodesParameters() [3/3]

InDetDD::SiDiodesParameters::SiDiodesParameters ( const SiLocalPosition & centre,
const SiLocalPosition & width )

Constructor with parameters: position of the diodes centre width of the diodes.

Definition at line 30 of file SiDiodesParameters.cxx.

31 :
34{}
const SiLocalPosition & centre() const
position of the diodes centre:
const SiLocalPosition & width() const
width of the diodes:

◆ ~SiDiodesParameters()

InDetDD::SiDiodesParameters::~SiDiodesParameters ( )
inline

Destructor:

Definition at line 88 of file SiDiodesParameters.h.

89{}

Member Function Documentation

◆ centre() [1/2]

const SiLocalPosition & InDetDD::SiDiodesParameters::centre ( ) const
inline

position of the diodes centre:

Definition at line 91 of file SiDiodesParameters.h.

92{
93 return m_centre;
94}

◆ centre() [2/2]

void InDetDD::SiDiodesParameters::centre ( const SiLocalPosition & centre)
inline

Definition at line 136 of file SiDiodesParameters.h.

137{
139}

◆ halfWidth()

SiLocalPosition InDetDD::SiDiodesParameters::halfWidth ( ) const
inline

Definition at line 101 of file SiDiodesParameters.h.

102{
103 return m_width/2;
104}

◆ operator=()

SiDiodesParameters & InDetDD::SiDiodesParameters::operator= ( const SiDiodesParameters & parameters)

Assignment operator:

Definition at line 37 of file SiDiodesParameters.cxx.

38{
39 if (this!=&parameters) {
40 m_centre=parameters.m_centre;
41 m_width=parameters.m_width;
42 } else {}
43 return *this;
44}

◆ width() [1/2]

const SiLocalPosition & InDetDD::SiDiodesParameters::width ( ) const
inline

width of the diodes:

Definition at line 96 of file SiDiodesParameters.h.

97{
98 return m_width;
99}

◆ width() [2/2]

void InDetDD::SiDiodesParameters::width ( const SiLocalPosition & width)
inline

Definition at line 141 of file SiDiodesParameters.h.

142{
144}

◆ xDepthMax()

double InDetDD::SiDiodesParameters::xDepthMax ( ) const
inline

Definition at line 131 of file SiDiodesParameters.h.

132{
133 return m_centre.xDepth()+m_width.xDepth()/2;
134}

◆ xDepthMin()

double InDetDD::SiDiodesParameters::xDepthMin ( ) const
inline

Definition at line 126 of file SiDiodesParameters.h.

127{
128 return m_centre.xDepth()-m_width.xDepth()/2;
129}

◆ xEtaMax()

double InDetDD::SiDiodesParameters::xEtaMax ( ) const
inline

Definition at line 111 of file SiDiodesParameters.h.

112{
113 return m_centre.xEta()+m_width.xEta()/2;
114}

◆ xEtaMin()

double InDetDD::SiDiodesParameters::xEtaMin ( ) const
inline

boundaries of the diodes:

Definition at line 106 of file SiDiodesParameters.h.

107{
108 return m_centre.xEta()-m_width.xEta()/2;
109}

◆ xPhiMax()

double InDetDD::SiDiodesParameters::xPhiMax ( ) const
inline

Definition at line 121 of file SiDiodesParameters.h.

122{
123 return m_centre.xPhi()+m_width.xPhi()/2;
124}

◆ xPhiMin()

double InDetDD::SiDiodesParameters::xPhiMin ( ) const
inline

Definition at line 116 of file SiDiodesParameters.h.

117{
118 return m_centre.xPhi()-m_width.xPhi()/2;
119}

Member Data Documentation

◆ m_centre

SiLocalPosition InDetDD::SiDiodesParameters::m_centre
private

position of the diodes centre

Definition at line 81 of file SiDiodesParameters.h.

◆ m_width

SiLocalPosition InDetDD::SiDiodesParameters::m_width
private

width of the diodes

Definition at line 82 of file SiDiodesParameters.h.


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