Project
Loading...
Searching...
No Matches
o2::focal::PixelMapper Class Reference

#include <PixelMapper.h>

Classes

struct  ChipIdentifier
 
struct  ChipIdentifierHasher
 
struct  ChipPosition
 
class  InvalidChipException
 
class  MappingNotSetException
 
class  UninitException
 

Public Types

enum class  MappingType_t { MAPPING_IB , MAPPING_OB , MAPPING_UNKNOWN }
 

Public Member Functions

 PixelMapper (MappingType_t mappingtype)
 
 ~PixelMapper ()=default
 
ChipPosition getPosition (unsigned int feeID, unsigned int laneID, unsigned int chipID) const
 
ChipPosition getPosition (unsigned int feeID, const PixelChip &chip) const
 
int getNumberOfColumns () const
 
int getNumberOfRows () const
 
MappingType_t getMappingType () const
 
void setMappingFile (const std::string_view mappingfile, MappingType_t mappingtype)
 

Detailed Description

Definition at line 27 of file PixelMapper.h.

Member Enumeration Documentation

◆ MappingType_t

Enumerator
MAPPING_IB 
MAPPING_OB 
MAPPING_UNKNOWN 

Definition at line 30 of file PixelMapper.h.

Constructor & Destructor Documentation

◆ PixelMapper()

PixelMapper::PixelMapper ( PixelMapper::MappingType_t  mappingtype)

Definition at line 23 of file PixelMapper.cxx.

◆ ~PixelMapper()

o2::focal::PixelMapper::~PixelMapper ( )
default

Member Function Documentation

◆ getMappingType()

MappingType_t o2::focal::PixelMapper::getMappingType ( ) const
inline

Definition at line 118 of file PixelMapper.h.

◆ getNumberOfColumns()

int o2::focal::PixelMapper::getNumberOfColumns ( ) const
inline

Definition at line 116 of file PixelMapper.h.

◆ getNumberOfRows()

int o2::focal::PixelMapper::getNumberOfRows ( ) const
inline

Definition at line 117 of file PixelMapper.h.

◆ getPosition() [1/2]

ChipPosition o2::focal::PixelMapper::getPosition ( unsigned int  feeID,
const PixelChip chip 
) const
inline

Definition at line 111 of file PixelMapper.h.

◆ getPosition() [2/2]

PixelMapper::ChipPosition PixelMapper::getPosition ( unsigned int  feeID,
unsigned int  laneID,
unsigned int  chipID 
) const

Definition at line 96 of file PixelMapper.cxx.

◆ setMappingFile()

void o2::focal::PixelMapper::setMappingFile ( const std::string_view  mappingfile,
MappingType_t  mappingtype 
)
inline

Definition at line 120 of file PixelMapper.h.


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