1 #ifndef SiPixelObjects_SiPixelFrameConverter_H
2 #define SiPixelObjects_SiPixelFrameConverter_H
15 #include <boost/cstdint.hpp>
33 using namespace sipixelobjects;
37 if (!local.valid())
return 3;
40 detector.
rawId = roc->rawId();
41 detector.
row = global.row;
42 detector.
col = global.col;
SiPixelFrameConverter(const SiPixelFedCabling *map, int fedId)
identify pixel inside single ROC
global coordinates (row and column in DetUnit, as in PixelDigi)
std::string link(std::string &nm, std::string &ns)
SiPixelFedCablingTree const * theTree
double collumn and pixel ID in double collumn representation
int toCabling(sipixelobjects::ElectronicIndex &cabling, const sipixelobjects::DetectorIndex &detector) const
const SiPixelFedCabling * theMap
sipixelobjects::PixelFEDCabling PixelFEDCabling
sipixelobjects::PixelROC const * toRoc(int link, int roc) const
bool hasDetUnit(uint32_t radId) const
int toDetector(const sipixelobjects::ElectronicIndex &cabling, sipixelobjects::DetectorIndex &detector) const
const PixelFEDCabling * theFed