#include <PixelFEDCabling.h>
Public Types | |
typedef std::vector< PixelFEDLink > | Links |
Public Member Functions | |
void | addItem (unsigned int linkId, const PixelROC &roc) |
void | addLink (const PixelFEDLink &link) |
bool | checkLinkNumbering () const |
unsigned int | id () const |
const PixelFEDLink * | link (unsigned int id) const |
return link identified by id. Link id's are ranged [1, numberOfLinks] More... | |
unsigned int | numberOfLinks () const |
number of links in FED More... | |
PixelFEDCabling (unsigned int id=0) | |
std::string | print (int depth=0) const |
void | setLinks (Links &links) |
Private Attributes | |
unsigned int | theFedId |
Links | theLinks |
Definition at line 16 of file PixelFEDCabling.h.
typedef std::vector<PixelFEDLink> sipixelobjects::PixelFEDCabling::Links |
Definition at line 19 of file PixelFEDCabling.h.
|
inline |
Definition at line 21 of file PixelFEDCabling.h.
void PixelFEDCabling::addItem | ( | unsigned int | linkId, |
const PixelROC & | roc | ||
) |
Definition at line 21 of file PixelFEDCabling.cc.
Referenced by SiPixelFedCablingTree::addItem().
void PixelFEDCabling::addLink | ( | const PixelFEDLink & | link | ) |
Definition at line 14 of file PixelFEDCabling.cc.
References sipixelobjects::PixelFEDLink::id(), and MainPageGenerator::link.
bool PixelFEDCabling::checkLinkNumbering | ( | ) | const |
check link numbering consistency, ie. that link position in vector is the same as its id. Futhermore it checks numbering consistency for ROCs belonging to Link.
Definition at line 29 of file PixelFEDCabling.cc.
References gather_cfg::cout, and query::result.
|
inline |
Definition at line 34 of file PixelFEDCabling.h.
References theFedId.
Referenced by SiPixelFedCablingTree::addFed(), SiPixelFedCablingTree::addItem(), SiPixelFedCablingTree::fedList(), and SiPixelFedCablingTree::pathToDetUnit().
|
inline |
return link identified by id. Link id's are ranged [1, numberOfLinks]
Definition at line 28 of file PixelFEDCabling.h.
References theLinks.
Referenced by SiPixelFedCablingTree::findItem(), SiPixelFedCablingTree::findItemInFed(), and SiPixelFedCablingTree::pathToDetUnit().
|
inline |
number of links in FED
Definition at line 32 of file PixelFEDCabling.h.
References theLinks.
Referenced by SiPixelFedCablingTree::pathToDetUnit().
string PixelFEDCabling::print | ( | int | depth = 0 | ) | const |
Definition at line 50 of file PixelFEDCabling.cc.
References dbtoconf::out.
void PixelFEDCabling::setLinks | ( | Links & | links | ) |
Definition at line 9 of file PixelFEDCabling.cc.
References electronStore::links.
Referenced by SiPixelFedCablingMapBuilder::produce().
|
private |
Definition at line 48 of file PixelFEDCabling.h.
Referenced by id().
|
private |
Definition at line 49 of file PixelFEDCabling.h.
Referenced by link(), and numberOfLinks().