12 using namespace sipixelobjects;
18 theFed(theTree ? theTree->fed(fedId) : nullptr) {}
26 static_cast<unsigned int>(
theFedId), static_cast<unsigned int>(link),
static_cast<unsigned int>(
roc)};
30 stm <<
"Map shows no fed=" <<
theFedId <<
", link=" << link <<
", roc=" <<
roc;
38 typedef std::vector<CablingPathToDetUnit>::const_iterator
IT;
39 for (IT it = path.begin(); it != path.end(); ++it) {
virtual const sipixelobjects::PixelROC * findItem(const sipixelobjects::CablingPathToDetUnit &) const =0
virtual std::vector< sipixelobjects::CablingPathToDetUnit > pathToDetUnit(uint32_t rawDetId) const =0
SiPixelFrameConverter(const SiPixelFedCabling *map, int fedId)
identify pixel inside single ROC
global coordinates (row and column in DetUnit, as in PixelDigi)
LocalPixel toLocal(const GlobalPixel &glo) const
SiPixelFedCablingTree const * theTree
uint32_t rawId() const
return the DetUnit to which this ROC belongs to.
std::vector< LinkConnSpec >::const_iterator IT
int toCabling(sipixelobjects::ElectronicIndex &cabling, const sipixelobjects::DetectorIndex &detector) const
const SiPixelFedCabling * theMap
virtual bool pathToDetUnitHasDetUnit(uint32_t rawDetId, unsigned int fedId) const =0
sipixelobjects::PixelROC const * toRoc(int link, int roc) const
bool hasDetUnit(uint32_t radId) const
const sipixelobjects::PixelROC * findItemInFed(const sipixelobjects::CablingPathToDetUnit &path, const PixelFEDCabling *aFed) const
Log< level::Warning, false > LogWarning
const PixelFEDCabling * theFed