Project
Loading...
Searching...
No Matches
o2::mid::GlobalMapper Class Reference

Global mapper for MID. More...

#include <GlobalMapper.h>

Public Member Functions

std::vector< ExtendedMappingInfobuildStripsInfo () const
 Build the strips info.
 
std::map< int, std::vector< std::pair< int, int > > > buildDEGeom () const
 Build the geometry for the Detection elements.
 
const MappinggetMapping () const
 Returns the mapping.
 
void setScaleFactor (int scaleFactor)
 Sets the scale factor for geometrical positions and sizes.
 

Detailed Description

Global mapper for MID.

Definition at line 32 of file GlobalMapper.h.

Member Function Documentation

◆ buildDEGeom()

std::map< int, std::vector< std::pair< int, int > > > o2::mid::GlobalMapper::buildDEGeom ( ) const

Build the geometry for the Detection elements.

Returns
Map with detection element ID and vertexes

Definition at line 128 of file GlobalMapper.cxx.

◆ buildStripsInfo()

std::vector< ExtendedMappingInfo > o2::mid::GlobalMapper::buildStripsInfo ( ) const

Build the strips info.

Returns
Map with strip unique ID and strip info

Definition at line 103 of file GlobalMapper.cxx.

◆ getMapping()

const Mapping & o2::mid::GlobalMapper::getMapping ( ) const
inline

Returns the mapping.

Returns
Const reference to mapping object

Definition at line 45 of file GlobalMapper.h.

◆ setScaleFactor()

void o2::mid::GlobalMapper::setScaleFactor ( int  scaleFactor)
inline

Sets the scale factor for geometrical positions and sizes.

Parameters
scaleFactorinteger scale factor

Definition at line 49 of file GlobalMapper.h.


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