15 : theFedId(fedId), theMap(map),
17 theFed(theTree ? theTree->fed(fedId) :
nullptr)
28 static_cast<unsigned int>(link),
29 static_cast<unsigned int>(roc)};
47 typedef std::vector<CablingPathToDetUnit>::const_iterator
IT;
48 for (IT it = path.begin(); it != path.end(); ++it) {
60 if(!local.
valid())
continue;
62 static_cast<int>(it->roc), local.
dcol(), local.
pxid()};
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
virtual bool pathToDetUnitHasDetUnit(uint32_t rawDetId, unsigned int fedId) const =0
virtual const sipixelobjects::PixelROC * findItem(const sipixelobjects::CablingPathToDetUnit &) const =0
int toCabling(sipixelobjects::ElectronicIndex &cabling, const sipixelobjects::DetectorIndex &detector) const
const SiPixelFedCabling * theMap
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
const PixelFEDCabling * theFed