|
ATLAS Offline Software
|
|
template<typename T > |
std::tuple< T, T > | sorted_tuple (T a, T b) |
| Create a tuple of the given values in increasing order. More...
|
|
double | getGoodFraction (const InDet::SiDetectorElementStatus &pixelDetElStatus, const InDetDD::IPixelReadoutManager &pixelReadout, const PixelID &pixelID, const Identifier &moduleId, const IdentifierHash &moudlIdHash, const Identifier &startId, const Identifier &endId) |
| Get The fraction of good chips the pixel of a pixel array is connected to. More...
|
|
unsigned int | makeReadoutTechnologyBit (InDetDD::PixelReadoutTechnology technology, unsigned int bit_val=1) |
| Create a word with a bit representing the given readout technology to the given value. More...
|
|
bool | matchingReadoutTechnology (const InDet::SiDetectorElementStatus &elementStatus, const IdentifierHash &moduleIdHash, unsigned int readOutTechnologyMask=(Pixel::makeReadoutTechnologyBit(InDetDD::PixelReadoutTechnology::FEI4)|(Pixel::makeReadoutTechnologyBit(InDetDD::PixelReadoutTechnology::FEI3)))) |
| Check whether the readout technology of the specified module is contained in the given readout technology mask. More...
|
|
◆ getGoodFraction()
Get The fraction of good chips the pixel of a pixel array is connected to.
- Parameters
-
pixelDetElStatus | helper class which provides the front-end module status information. |
pixelReadout | the pixel readout manager needed to determine the front-end chip of a pixel. |
moduleId | the identifier of the corresponding module. |
moduleIdHash | the identifier hash of the corresponding module. |
startId | the identifier of one corner of the pixel array. |
endId | the identifier of the opposing corner of the pixel array which must be on the same pixel module. |
Definition at line 33 of file PixelFEUtils.h.
43 double nTotal = (phiEnd-phiStart+1.0)*(etaEnd-etaStart+1.0);
46 for (
int i=phiStart;
i<=phiEnd;
i++) {
47 for (
int j=etaStart; j<=etaEnd; j++) {
48 int chFE = pixelReadout.
getFE(pixelID.
pixel_id(moduleId,
i,j), moduleId);
◆ makeReadoutTechnologyBit()
Create a word with a bit representing the given readout technology to the given value.
- Parameters
-
technology | the readout technology |
the | value to which the bit should be set to. |
- Returns
- word with readout technology bit set to given value
Definition at line 60 of file PixelFEUtils.h.
61 assert(
static_cast<unsigned int>(technology) < 31);
62 return bit_val << static_cast<unsigned int>(technology);
◆ matchingReadoutTechnology()
Check whether the readout technology of the specified module is contained in the given readout technology mask.
- Parameters
-
elementStatus | the detector element status information. |
moduleIdHash | the module hash of the module in question. |
readOutTechnologyMask | a mask which contains a bits per readout technology. |
Definition at line 70 of file PixelFEUtils.h.
◆ sorted_tuple()
template<typename T >
std::tuple<T,T> Pixel::sorted_tuple |
( |
T |
a, |
|
|
T |
b |
|
) |
| |
|
inline |
Create a tuple of the given values in increasing order.
Definition at line 21 of file PixelFEUtils.h.
22 return (
a<
b ? std::make_tuple(
a,
b) : std::make_tuple(
b,
a) );
int phi_index(const Identifier &id) const
bool isChipGood(IdentifierHash hash, unsigned int chip) const
const InDetDD::SiDetectorElement * getDetectorElement(const IdentifierHash &hash) const
unsigned int makeReadoutTechnologyBit(InDetDD::PixelReadoutTechnology technology, unsigned int bit_val=1)
Create a word with a bit representing the given readout technology to the given value.
int eta_index(const Identifier &id) const
virtual uint32_t getFE(Identifier diodeId, Identifier offlineId) const =0
PixelReadoutTechnology getReadoutTechnology() const
Identifier pixel_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const
For an individual pixel.
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):
std::tuple< T, T > sorted_tuple(T a, T b)
Create a tuple of the given values in increasing order.