ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
InDetDD::SiDiodesParameters Class Reference

#include <SiDiodesParameters.h>

Collaboration diagram for InDetDD::SiDiodesParameters:

Public Member Functions

 SiDiodesParameters ()
 Implicit constructor: More...
 
 SiDiodesParameters (const SiDiodesParameters &parameters)
 Copy constructor: More...
 
 SiDiodesParameters (const SiLocalPosition &centre, const SiLocalPosition &width)
 Constructor with parameters: position of the diodes centre width of the diodes. More...
 
 ~SiDiodesParameters ()
 Destructor: More...
 
SiDiodesParametersoperator= (const SiDiodesParameters &parameters)
 Assignment operator: More...
 
const SiLocalPositioncentre () const
 position of the diodes centre: More...
 
const SiLocalPositionwidth () const
 width of the diodes: More...
 
SiLocalPosition halfWidth () const
 
double xEtaMin () const
 boundaries of the diodes: More...
 
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 More...
 
SiLocalPosition m_width
 width of the diodes More...
 

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

◆ 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  :
33  m_width(width)
34 {}

◆ ~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 {
143  m_width=width;
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:
InDetDD::SiDiodesParameters::m_centre
SiLocalPosition m_centre
position of the diodes centre
Definition: SiDiodesParameters.h:81
InDetDD::SiDiodesParameters::centre
const SiLocalPosition & centre() const
position of the diodes centre:
Definition: SiDiodesParameters.h:91
InDetDD::SiLocalPosition::xPhi
double xPhi() const
position along phi direction:
Definition: SiLocalPosition.h:123
InDetDD::SiLocalPosition::xEta
double xEta() const
position along eta direction:
Definition: SiLocalPosition.h:118
InDetDD::SiLocalPosition::xDepth
double xDepth() const
position along depth direction:
Definition: SiLocalPosition.h:128
InDetDD::SiDiodesParameters::width
const SiLocalPosition & width() const
width of the diodes:
Definition: SiDiodesParameters.h:96
physics_parameters.parameters
parameters
Definition: physics_parameters.py:144
InDetDD::SiDiodesParameters::m_width
SiLocalPosition m_width
width of the diodes
Definition: SiDiodesParameters.h:82