ATLAS Offline Software
|
#include <HGTD_ModuleDesign.h>
Public Types | |
enum | Axis { xAxis =0, yAxis, zAxis } |
Public Member Functions | |
HGTD_ModuleDesign (double thickness, const int circuitsPerColumn, const int circuitsPerRow, const int cellColumnsPerCircuit, const int cellRowsPerCircuit, const int diodeColumnsPerCircuit, const int diodeRowsPerCircuit, std::shared_ptr< const PixelDiodeMatrix > matrix, InDetDD::CarrierType carrierType, int readoutSide, DetectorDesign::Axis yDirection=InDetDD::DetectorDesign::xAxis, DetectorDesign::Axis depthDirection=InDetDD::DetectorDesign::zAxis) | |
Constructor. More... | |
virtual | ~HGTD_ModuleDesign () |
virtual void | distanceToDetectorEdge (const SiLocalPosition &localPosition, double &etaDist, double &phiDist) const |
Returns distance to nearest detector active edge +ve = inside -ve = outside. More... | |
double | sensorLeftColumn () const |
Global sensor size: More... | |
double | sensorRightColumn () const |
double | sensorLeftRow () const |
double | sensorRightRow () const |
int | numberOfDiodes () const |
Total number of diodes: More... | |
int | numberOfCircuits () const |
Total number of circuits: More... | |
int | columnsPerCircuit () const |
Number of cell columns per circuit: More... | |
int | rowsPerCircuit () const |
Number of cell rows per circuit: More... | |
int | columns () const |
Number of cell columns per module: More... | |
int | rows () const |
Number of cell rows per module: More... | |
virtual double | length () const |
Method to calculate length of a module. More... | |
virtual double | width () const |
Method to calculate average width of a module. More... | |
virtual double | minWidth () const |
Method to calculate minimum width of a module. More... | |
virtual double | maxWidth () const |
Method to calculate maximum width of a module. More... | |
virtual double | phiPitch () const |
Pitch in phi direction. More... | |
virtual double | phiPitch (const SiLocalPosition &localPosition) const |
Pitch in phi direction. More... | |
virtual double | etaPitch () const |
Pitch in eta direction. More... | |
double | widthFromColumnRange (const int colMin, const int colMax) const |
Method to calculate eta width from a column range. More... | |
double | widthFromRowRange (const int rowMin, const int rowMax) const |
Method to calculate phi width from a row range. More... | |
virtual bool | swapHitPhiReadoutDirection () const |
Return true if hit local direction is the same as readout direction. More... | |
virtual bool | swapHitEtaReadoutDirection () const |
virtual const Trk::SurfaceBounds & | bounds () const |
Element boundary. More... | |
virtual SiDiodesParameters | parameters (const SiCellId &cellId) const |
readout or diode id -> position, size More... | |
virtual SiLocalPosition | localPositionOfCell (const SiCellId &cellId) const |
readout or diode id -> position. More... | |
virtual int | numberOfConnectedCells (const SiReadoutCellId &readoutId) const |
readout id -> id of connected diodes More... | |
virtual SiCellId | connectedCell (const SiReadoutCellId &readoutId, int number) const |
readout id -> id of connected diodes. More... | |
virtual SiReadoutCellId | readoutIdOfCell (const SiCellId &cellId) const |
diode id -> readout id More... | |
virtual SiReadoutCellId | readoutIdOfPosition (const SiLocalPosition &localPos) const |
position -> id More... | |
virtual SiCellId | cellIdOfPosition (const SiLocalPosition &localPos) const |
position -> id More... | |
virtual void | neighboursOfCell (const SiCellId &cellId, std::vector< SiCellId > &neighbours) const |
Get the neighbouring diodes of a given diode: Cell for which the neighbours must be found List of cells which are neighbours of the given one. More... | |
double | intersectionLength (const SiCellId &diode1, const SiCellId &diode2) const |
Compute the intersection length of two diodes: return: the intersection length when the two diodes are projected on one of the two axis, or 0 in case of no intersection or problem input: the two diodes for which the intersection length is computed. More... | |
virtual SiCellId | cellIdInRange (const SiCellId &cellId) const |
Check if cell is in range. More... | |
void | addMultipleRowConnection (const int lowerRow, const std::vector< int > &connections) |
Add a new multiple connection for rows: lower diode row for which the connection scheme is given vector containing, for each diode, the readout cell row number to which the corresponding diode is connected. More... | |
virtual Amg::Vector3D | sensorCenter () const |
Return the centre of a sensor in the local reference frame. More... | |
virtual SiIntersect | inDetector (const SiLocalPosition &localPosition, double phiTol, double etaTol) const |
Test if point is in the active part of the detector with specified tolerances. More... | |
void | setSymmetry (bool phiSymmetric, bool etaSymmetric, bool depthSymmetric) |
Override default symmetries to prevent swapping of axes. More... | |
Axis | etaAxis () const |
local axis corresponding to eta direction: More... | |
Axis | phiAxis () const |
local axis corresponding to phi direction: More... | |
Axis | depthAxis () const |
local axis corresponding to depth direction: More... | |
double | thickness () const |
Method which returns thickness of the silicon wafer. More... | |
InDetDD::CarrierType | carrierType () const |
Return carrier type (ie electrons or holes) More... | |
bool | phiSymmetric () const |
bool | etaSymmetric () const |
bool | depthSymmetric () const |
int | readoutSide () const |
ReadoutSide. More... | |
virtual DetectorShape | shape () const |
Shape of element. More... | |
virtual DetectorType | type () const |
Type of element. More... | |
virtual const Amg::Transform3D | moduleShift () const |
Private Member Functions | |
HGTD_ModuleDesign () | |
HGTD_ModuleDesign (const HGTD_ModuleDesign &design) | |
HGTD_ModuleDesign & | operator= (const HGTD_ModuleDesign &design) |
Private Attributes | |
PixelDiodeMap | m_diodeMap |
PixelReadoutScheme | m_readoutScheme |
Trk::RectangleBounds | m_bounds |
Axis | m_etaAxis |
Axis | m_phiAxis |
Axis | m_depthAxis |
double | m_thickness |
InDetDD::CarrierType | m_carrierType |
bool | m_phiSymmetric |
bool | m_etaSymmetric |
bool | m_depthSymmetric |
bool | m_readoutSidePosDepth |
Class used to describe the design of a module (diode segmentation and readout scheme)
Definition at line 43 of file HGTD_ModuleDesign.h.
|
inherited |
Enumerator | |
---|---|
xAxis | |
yAxis | |
zAxis |
Definition at line 59 of file DetectorDesign.h.
InDetDD::HGTD_ModuleDesign::HGTD_ModuleDesign | ( | double | thickness, |
const int | circuitsPerColumn, | ||
const int | circuitsPerRow, | ||
const int | cellColumnsPerCircuit, | ||
const int | cellRowsPerCircuit, | ||
const int | diodeColumnsPerCircuit, | ||
const int | diodeRowsPerCircuit, | ||
std::shared_ptr< const PixelDiodeMatrix > | matrix, | ||
InDetDD::CarrierType | carrierType, | ||
int | readoutSide, | ||
DetectorDesign::Axis | yDirection = InDetDD::DetectorDesign::xAxis , |
||
DetectorDesign::Axis | depthDirection = InDetDD::DetectorDesign::zAxis |
||
) |
Constructor.
thickness | Thickness of sensor |
circuitsPerColumn | Number of circuits in one circuit column |
circuitsPerRow | Number of circuits in one circuit row |
cellColumnsPerCircuit | Number of cell columns per circuit |
cellRowsPerCircuit | Number of cell rows per circuit |
diodeColumnsPerCircuit | Number of diode columns connected to one circuit |
diodeRowsPerCircuit | Number of diode rows connected to one circuit |
matrix | PixelDiodeMatrix, describing segmentation and conversion between cell id and position |
carrierType | Carrier type, either holes or electrons |
readoutSide | Readout side, +ve = positive Depth Side, -ve = negative depth side |
Definition at line 13 of file HGTD_ModuleDesign.cxx.
|
virtual |
Definition at line 40 of file HGTD_ModuleDesign.cxx.
|
private |
|
private |
|
inline |
Add a new multiple connection for rows: lower diode row for which the connection scheme is given vector containing, for each diode, the readout cell row number to which the corresponding diode is connected.
Definition at line 214 of file HGTD_ModuleDesign.h.
|
virtual |
Element boundary.
Implements InDetDD::DetectorDesign.
Definition at line 135 of file HGTD_ModuleDesign.cxx.
|
inlineinherited |
Return carrier type (ie electrons or holes)
Definition at line 275 of file DetectorDesign.h.
Check if cell is in range.
Returns the original cellId if it is in range, otherwise it returns an invalid id.
Implements InDetDD::DetectorDesign.
Definition at line 179 of file HGTD_ModuleDesign.cxx.
|
virtual |
position -> id
Implements InDetDD::DetectorDesign.
Definition at line 173 of file HGTD_ModuleDesign.cxx.
|
inline |
Number of cell columns per module:
Definition at line 260 of file HGTD_ModuleDesign.h.
|
inline |
Number of cell columns per circuit:
Definition at line 250 of file HGTD_ModuleDesign.h.
|
virtual |
readout id -> id of connected diodes.
parameter number = 0 will refer to the primary diode and in general the cell number will be the same. NB. SiCellId cellId = connectedCell(readoutId, 0) will in general be equivalent to SiCellId cellId = readoutId
Implements InDetDD::DetectorDesign.
Definition at line 156 of file HGTD_ModuleDesign.cxx.
|
inlineinherited |
local axis corresponding to depth direction:
Definition at line 267 of file DetectorDesign.h.
|
inlineinherited |
Definition at line 287 of file DetectorDesign.h.
|
virtual |
Returns distance to nearest detector active edge +ve = inside -ve = outside.
Implements InDetDD::DetectorDesign.
Definition at line 46 of file HGTD_ModuleDesign.cxx.
|
inlineinherited |
local axis corresponding to eta direction:
Definition at line 259 of file DetectorDesign.h.
|
virtual |
Pitch in eta direction.
Implements InDetDD::DetectorDesign.
Definition at line 128 of file HGTD_ModuleDesign.cxx.
|
inlineinherited |
Definition at line 283 of file DetectorDesign.h.
|
virtualinherited |
Test if point is in the active part of the detector with specified tolerances.
Reimplemented in InDetDD::SCT_ModuleSideDesign.
Definition at line 106 of file DetectorDesign.cxx.
|
inline |
Compute the intersection length of two diodes: return: the intersection length when the two diodes are projected on one of the two axis, or 0 in case of no intersection or problem input: the two diodes for which the intersection length is computed.
Definition at line 286 of file HGTD_ModuleDesign.h.
|
virtual |
Method to calculate length of a module.
Implements InDetDD::DetectorDesign.
Definition at line 65 of file HGTD_ModuleDesign.cxx.
|
virtual |
readout or diode id -> position.
Implements InDetDD::DetectorDesign.
Definition at line 145 of file HGTD_ModuleDesign.cxx.
|
virtual |
Method to calculate maximum width of a module.
Implements InDetDD::DetectorDesign.
Definition at line 83 of file HGTD_ModuleDesign.cxx.
|
virtual |
Method to calculate minimum width of a module.
Implements InDetDD::DetectorDesign.
Definition at line 77 of file HGTD_ModuleDesign.cxx.
|
virtualinherited |
Reimplemented in InDetDD::StripBoxDesign.
Definition at line 130 of file DetectorDesign.cxx.
|
inlinevirtual |
Get the neighbouring diodes of a given diode: Cell for which the neighbours must be found List of cells which are neighbours of the given one.
Implements InDetDD::DetectorDesign.
Definition at line 280 of file HGTD_ModuleDesign.h.
|
inline |
Total number of circuits:
Definition at line 245 of file HGTD_ModuleDesign.h.
|
virtual |
readout id -> id of connected diodes
Implements InDetDD::DetectorDesign.
Definition at line 150 of file HGTD_ModuleDesign.cxx.
|
inline |
Total number of diodes:
Definition at line 240 of file HGTD_ModuleDesign.h.
|
private |
|
virtual |
readout or diode id -> position, size
Implements InDetDD::DetectorDesign.
Definition at line 140 of file HGTD_ModuleDesign.cxx.
|
inlineinherited |
local axis corresponding to phi direction:
Definition at line 263 of file DetectorDesign.h.
|
virtual |
Pitch in phi direction.
Implements InDetDD::DetectorDesign.
Definition at line 112 of file HGTD_ModuleDesign.cxx.
|
virtual |
Pitch in phi direction.
Implements InDetDD::DetectorDesign.
Definition at line 120 of file HGTD_ModuleDesign.cxx.
|
inlineinherited |
Definition at line 279 of file DetectorDesign.h.
|
virtual |
diode id -> readout id
Implements InDetDD::DetectorDesign.
Definition at line 162 of file HGTD_ModuleDesign.cxx.
|
virtual |
position -> id
Implements InDetDD::DetectorDesign.
Definition at line 168 of file HGTD_ModuleDesign.cxx.
|
inlineinherited |
ReadoutSide.
+1 = postive depth side, -1 = negative depth side.
Definition at line 291 of file DetectorDesign.h.
|
inline |
Number of cell rows per module:
Definition at line 265 of file HGTD_ModuleDesign.h.
|
inline |
Number of cell rows per circuit:
Definition at line 255 of file HGTD_ModuleDesign.h.
|
virtualinherited |
Return the centre of a sensor in the local reference frame.
For most designs, this is the origin of the local reference frame. For StripStereoAnnulusDesign, this is not the case (coordinate origin is "on the beamline")
Reimplemented in InDetDD::StripStereoAnnulusDesign, and InDetDD::StripAnnulusDesign.
Definition at line 60 of file DetectorDesign.cxx.
|
inline |
Global sensor size:
Definition at line 220 of file HGTD_ModuleDesign.h.
|
inline |
Definition at line 230 of file HGTD_ModuleDesign.h.
|
inline |
Definition at line 225 of file HGTD_ModuleDesign.h.
|
inline |
Definition at line 235 of file HGTD_ModuleDesign.h.
|
inherited |
Override default symmetries to prevent swapping of axes.
NB. Flags can be changed from true to false but not false to true.
Definition at line 65 of file DetectorDesign.cxx.
|
virtualinherited |
Shape of element.
Reimplemented in InDetDD::StripStereoAnnulusDesign, and InDetDD::SCT_ForwardModuleSideDesign.
Definition at line 96 of file DetectorDesign.cxx.
|
inlinevirtual |
Implements InDetDD::DetectorDesign.
Definition at line 275 of file HGTD_ModuleDesign.h.
|
inlinevirtual |
Return true if hit local direction is the same as readout direction.
Implements InDetDD::DetectorDesign.
Definition at line 270 of file HGTD_ModuleDesign.h.
|
inlineinherited |
Method which returns thickness of the silicon wafer.
Definition at line 271 of file DetectorDesign.h.
|
virtualinherited |
Type of element.
Reimplemented in InDetDD::StripStereoAnnulusDesign, InDetDD::StripBoxDesign, and InDetDD::PixelModuleDesign.
Definition at line 101 of file DetectorDesign.cxx.
|
virtual |
Method to calculate average width of a module.
Implements InDetDD::DetectorDesign.
Definition at line 71 of file HGTD_ModuleDesign.cxx.
double InDetDD::HGTD_ModuleDesign::widthFromColumnRange | ( | const int | colMin, |
const int | colMax | ||
) | const |
Method to calculate eta width from a column range.
Definition at line 89 of file HGTD_ModuleDesign.cxx.
Method to calculate phi width from a row range.
Definition at line 100 of file HGTD_ModuleDesign.cxx.
|
private |
Definition at line 202 of file HGTD_ModuleDesign.h.
|
privateinherited |
Definition at line 240 of file DetectorDesign.h.
|
privateinherited |
Definition at line 238 of file DetectorDesign.h.
|
privateinherited |
Definition at line 244 of file DetectorDesign.h.
|
private |
Definition at line 200 of file HGTD_ModuleDesign.h.
|
privateinherited |
Definition at line 236 of file DetectorDesign.h.
|
privateinherited |
Definition at line 243 of file DetectorDesign.h.
|
privateinherited |
Definition at line 237 of file DetectorDesign.h.
|
privateinherited |
Definition at line 242 of file DetectorDesign.h.
|
private |
Definition at line 201 of file HGTD_ModuleDesign.h.
|
privateinherited |
Definition at line 246 of file DetectorDesign.h.
|
privateinherited |
Definition at line 239 of file DetectorDesign.h.