1 #ifndef SiPixelFedCablingTree_H 2 #define SiPixelFedCablingTree_H 5 #include <unordered_map> 21 void addFed(
const PixelFEDCabling&
f);
24 const PixelFEDCabling *
fed(
unsigned int idFed)
const;
26 std::vector<const PixelFEDCabling *>
fedList()
const;
35 virtual std::vector<sipixelobjects::CablingPathToDetUnit>
pathToDetUnit(uint32_t rawDetId)
const;
40 const PixelFEDCabling * aFed)
const;
sipixelobjects::PixelFEDCabling PixelFEDCabling
virtual std::vector< sipixelobjects::CablingPathToDetUnit > pathToDetUnit(uint32_t rawDetId) const
int checkNumbering() const
virtual const sipixelobjects::PixelROC * findItem(const sipixelobjects::CablingPathToDetUnit &path) const
SiPixelFedCablingTree(const std::string &version="")
virtual ~SiPixelFedCablingTree()
virtual std::string version() const
map version
const PixelFEDCabling * fed(unsigned int idFed) const
get fed identified by its id
std::unordered_map< int, PixelFEDCabling > theFedCablings
void addFed(const PixelFEDCabling &f)
add cabling for one fed
const sipixelobjects::PixelROC * findItemInFed(const sipixelobjects::CablingPathToDetUnit &path, const PixelFEDCabling *aFed) const
void addItem(unsigned int fedId, unsigned int linkId, const sipixelobjects::PixelROC &roc)
std::vector< const PixelFEDCabling * > fedList() const
std::string print(int depth=0) const