ATLAS Offline Software
Namespaces | Functions | Variables
SCT_ChipUtils.h File Reference
#include "InDetIdentifier/SCT_ID.h"
#include "InDetReadoutGeometry/SiDetectorElement.h"
#include <stdexcept>
Include dependency graph for SCT_ChipUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SCT
 

Functions

constexpr unsigned int SCT::getChip (unsigned int side, bool swap, unsigned int strip)
 Get the physical chip ID for the given strip. More...
 
unsigned int SCT::getChip (const SCT_ID &sct_id, const InDetDD::SiDetectorElement &siElement, const Identifier &stripId)
 Get the physical chip ID for the given strip. More...
 
constexpr unsigned int SCT::getGeometricalChipID (unsigned int strip)
 Get the geometrical chip ID for the given strip. More...
 
unsigned int SCT::getGeometricalChipID (const SCT_ID &sct_id, const Identifier &stripId)
 Get the physical chip ID for the given strip. More...
 
constexpr unsigned int SCT::getGeometricalFromPhysicalChipID (unsigned int side, bool swap, unsigned int physical_chip_id)
 Get the geometrical chip ID from a physica chip ID. More...
 
unsigned int SCT::getGeometricalFromPhysicalChipID (const SCT_ID &sct_id, const InDetDD::SiDetectorElement &siElement, unsigned int physical_chip_id)
 Get the geometrical chip ID from a physical chip ID. More...
 
constexpr unsigned int SCT::getPhysicalFromGeometricalChipID (unsigned int side, bool swap, unsigned int geometrical_chip_id)
 Get the physical chip ID from a geometrical chip ID. More...
 
unsigned int SCT::getPhysicalFromGeometricalChipID (const SCT_ID &sct_id, const InDetDD::SiDetectorElement &siElement, unsigned int geometrical_chip_id)
 Get the physical chip ID from a geometrical chip ID. More...
 
constexpr unsigned int SCT::getGeometricalFromPhysicalChipFlags (unsigned int side, bool swap, unsigned int physical_chip_flags)
 Convert a word in which each bit represents the status of a certain physical chip to a word in which each bit represents a geometrical chip. More...
 
unsigned int SCT::getGeometricalFromPhysicalChipFlags (const SCT_ID &sct_id, const InDetDD::SiDetectorElement &siElement, unsigned int physical_chip_flags)
 Convert a word in which each bit represents the status of a certain physical chip to a word in which each bit represents a geometrical chip. More...
 

Variables

constexpr unsigned int SCT::N_CHIPS_PER_SIDE = 6
 
constexpr unsigned int SCT::N_SIDES = 2
 
constexpr unsigned int SCT::N_STRIPS_PER_CHIP = 128
 
constexpr unsigned int SCT::N_STRIPS_PER_SIDE = N_STRIPS_PER_CHIP*N_CHIPS_PER_SIDE