|
ATLAS Offline Software
|
Go to the documentation of this file.
22 return (
a<
b ? std::make_tuple(
a,
b) : std::make_tuple(
b,
a) );
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);
61 assert(
static_cast<unsigned int>(technology) < 31);
62 return bit_val << static_cast<unsigned int>(technology);
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
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 techno...
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.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
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.
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.