17#ifndef O2_MID_GLOBALMAPPER_H
18#define O2_MID_GLOBALMAPPER_H
41 std::map<int, std::vector<std::pair<int, int>>>
buildDEGeom()
const;
59 std::array<int, 4> getStripGeom(
int deId,
int columnId,
int lineId,
int stripId,
int cathode)
const;
69 ExtendedMappingInfo buildExtendedInfo(
int deId,
int columnId,
int lineId,
int stripId,
int cathode)
const;
83int getStripId(
int deId,
int columnId,
int lineId,
int stripId,
int cathode);
Mapper to convert the RO Ids to a format suitable for O2.
void setScaleFactor(int scaleFactor)
Sets the scale factor for geometrical positions and sizes.
std::map< int, std::vector< std::pair< int, int > > > buildDEGeom() const
Build the geometry for the Detection elements.
const Mapping & getMapping() const
Returns the mapping.
std::vector< ExtendedMappingInfo > buildStripsInfo() const
Build the strips info.
int getStripId(int deId, int columnId, int lineId, int stripId, int cathode)
Gets the unique strip ID.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...