31 return StatusCode::SUCCESS;
34template<
class ContainerType>
37 std::map<ITkPixelOnlineId, ITkPixLayout<uint16_t>> EventHitMaps;
39 for(
const auto& RDO_Collection : *rdoContainer){
41 for(
const auto *
const rdo : *RDO_Collection) {
46 const uint16_t tot = rdo->getToT();
62 ATH_MSG_DEBUG(
"Module specs: nChips = " << nChips <<
", rows per FE = " << rowsPerFE <<
" cols per FE = " << colsPerFE);
84 uint32_t offlineDetectorResourceID = (waferID.
get_identifier32().get_compact() >> 8) | (chip << 30);
89 if (onlineID.
sourceID() == 0xFFFFFFFF){
91 onlineID =
ITkPixelOnlineId(0x00170000 | (offlineDetectorResourceID & 0x0000FFFF), offlineDetectorResourceID | 0xF0000000);
94 ATH_MSG_DEBUG(
" Chip: " << std::hex << onlineID << std::dec <<
" ID: " << chip <<
" col: " << col <<
" row: " << row <<
" ToT: " << tot <<
" eta_index = " <<
m_pixIdHelper->eta_index(rdoID) <<
" phi index = " <<
m_pixIdHelper->phi_index(rdoID) <<
" rowsPerFE = " << rowsPerFE <<
" colsPerFE = " << colsPerFE <<
"\n");
96 EventHitMaps[onlineID](col, row) = tot + 1;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_WARNING(x,...)
InDetRawDataContainer< InDetRawDataCollection< ITkPixelRDORawData > > ITkPixelRDO_Container
This is an Identifier helper class for the Pixel subdetector.
InDetRawDataContainer< InDetRawDataCollection< PixelRDORawData > > PixelRDO_Container
const ServiceHandle< StoreGateSvc > & detStore() const
static uint8_t chipID(const ITkPixelCabling::TransformType &t, const uint16_t &col, const uint16_t &row)
std::uint32_t sourceID() const
Return the rod/rob Id.
value_type get_compact() const
Get the compact id.
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
Class used to describe the design of a module (diode segmentation and readout scheme).
int rowsPerCircuit() const
Number of cell rows per circuit:
int numberOfCircuits() const
Total number of circuits:
int columnsPerCircuit() const
Number of cell columns per circuit:
Class to hold geometrical description of a silicon detector element.
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):
static void chipToModuleInverseTransform(const TransformType &transform, const uint8_t &chipID, uint16_t &col, uint16_t &row)