1 #ifndef SiPixelFedCablingTree_H
2 #define SiPixelFedCablingTree_H
9 #include <unordered_map>
27 std::vector<const PixelFEDCabling*>
fedList()
const;
36 std::vector<sipixelobjects::CablingPathToDetUnit>
pathToDetUnit(uint32_t rawDetId)
const final;
std::string version() const override
map version
const sipixelobjects::PixelROC * findItem(const sipixelobjects::CablingPathToDetUnit &path) const final
sipixelobjects::PixelFEDCabling PixelFEDCabling
int checkNumbering() const
~SiPixelFedCablingTree() override
std::unordered_map< uint32_t, unsigned int > det2fedMap() const final
SiPixelFedCablingTree(const std::string &version="")
std::vector< sipixelobjects::CablingPathToDetUnit > pathToDetUnit(uint32_t rawDetId) const final
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
std::map< uint32_t, std::vector< sipixelobjects::CablingPathToDetUnit > > det2PathMap() const final
void addItem(unsigned int fedId, unsigned int linkId, const sipixelobjects::PixelROC &roc)
std::vector< const PixelFEDCabling * > fedList() const
bool pathToDetUnitHasDetUnit(uint32_t rawDetId, unsigned int fedId) const final
std::string print(int depth=0) const