ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::RDOAdapter< PhaseIIPixelRawDataContainer > Class Reference

#include <PixelRDOCollectionAdapter.h>

Collaboration diagram for ActsTrk::RDOAdapter< PhaseIIPixelRawDataContainer >:

Public Types

using index_t = typename PhaseII::PixelRawDataTypeTraits<>::RawDataProxy::index_t

Public Member Functions

 RDOAdapter (PhaseII::PixelRawDataTypeTraits<>::RawDataProxy &&rdo_proxy)
template<typename T_CellProxy>
Identifier computeIdentifier (const PixelID &pixelID, const Identifier &module_id, const T_CellProxy &)
int getLVL1A () const
int getToT () const
index_t index () const
const std::array< std::int16_t, 2 > & coordinates (const PixelID &) const
bool isGanged (const InDetDD::PixelModuleDesign &design, const PixelID &) const

Private Attributes

PhaseII::PixelRawDataTypeTraits ::RawDataProxy m_rdoProxy

Detailed Description

Definition at line 109 of file PixelRDOCollectionAdapter.h.

Member Typedef Documentation

◆ index_t

using ActsTrk::RDOAdapter< PhaseIIPixelRawDataContainer >::index_t = typename PhaseII::PixelRawDataTypeTraits<>::RawDataProxy::index_t

Definition at line 112 of file PixelRDOCollectionAdapter.h.

Constructor & Destructor Documentation

◆ RDOAdapter()

ActsTrk::RDOAdapter< PhaseIIPixelRawDataContainer >::RDOAdapter ( PhaseII::PixelRawDataTypeTraits<>::RawDataProxy && rdo_proxy)
inline

Member Function Documentation

◆ computeIdentifier()

template<typename T_CellProxy>
Identifier ActsTrk::RDOAdapter< PhaseIIPixelRawDataContainer >::computeIdentifier ( const PixelID & pixelID,
const Identifier & module_id,
const T_CellProxy &  )
inline

Definition at line 118 of file PixelRDOCollectionAdapter.h.

118 {
119 return pixelID.pixel_id(module_id, m_rdoProxy.coordinates()[0], m_rdoProxy.coordinates()[1]);
120 }

◆ coordinates()

const std::array< std::int16_t, 2 > & ActsTrk::RDOAdapter< PhaseIIPixelRawDataContainer >::coordinates ( const PixelID & ) const
inline

Definition at line 135 of file PixelRDOCollectionAdapter.h.

135 {
136 return m_rdoProxy.coordinates();
137 }

◆ getLVL1A()

int ActsTrk::RDOAdapter< PhaseIIPixelRawDataContainer >::getLVL1A ( ) const
inline

Definition at line 122 of file PixelRDOCollectionAdapter.h.

122 {
123 return m_rdoProxy.getLVL1A();
124 }

◆ getToT()

int ActsTrk::RDOAdapter< PhaseIIPixelRawDataContainer >::getToT ( ) const
inline

Definition at line 126 of file PixelRDOCollectionAdapter.h.

126 {
127 return m_rdoProxy.getToT();
128 }

◆ index()

Definition at line 130 of file PixelRDOCollectionAdapter.h.

130 {
131 return m_rdoProxy.index();
132 }

◆ isGanged()

Definition at line 141 of file PixelRDOCollectionAdapter.h.

141 {
142 assert( std::in_range<int>(m_rdoProxy.coordinates()[0]) );
143 assert( std::in_range<int>(m_rdoProxy.coordinates()[1]) );
144 InDetDD::SiCellId cellId(m_rdoProxy.coordinates()[0],
145 m_rdoProxy.coordinates()[1]);
147 return ( design.numberOfConnectedCells( readoutId ) > 1 );
148 }

Member Data Documentation

◆ m_rdoProxy

Definition at line 110 of file PixelRDOCollectionAdapter.h.


The documentation for this class was generated from the following file: