#include <PixelFEDLink.h>
Public Types | |
typedef std::vector< PixelROC > | ROCs |
ROCs served be this link. More... | |
Public Member Functions | |
void | add (const ROCs &rocs) |
add connection (defined by connection spec and ROCs) More... | |
void | addItem (const PixelROC &roc) |
bool | checkRocNumbering () const |
unsigned int | id () const |
link id More... | |
unsigned int | numberOfROCs () const |
number of ROCs in fed More... | |
PixelFEDLink (unsigned int id=0) | |
ctor with id of link and parent FED More... | |
std::string | print (int depth=0) const |
const PixelROC * | roc (unsigned int id) const |
return ROC identified by id. ROC ids are ranged [1,numberOfROCs] More... | |
Private Member Functions | |
std::string | printForMap () const |
Private Attributes | |
unsigned int | theId |
ROCs | theROCs |
Definition at line 18 of file PixelFEDLink.h.
typedef std::vector<PixelROC> sipixelobjects::PixelFEDLink::ROCs |
ROCs served be this link.
Definition at line 22 of file PixelFEDLink.h.
|
inline |
void PixelFEDLink::add | ( | const ROCs & | rocs | ) |
add connection (defined by connection spec and ROCs)
Definition at line 35 of file PixelFEDLink.cc.
Referenced by PixelEndcapLinkMaker::links(), and PixelBarrelLinkMaker::links().
void PixelFEDLink::addItem | ( | const PixelROC & | roc | ) |
Definition at line 12 of file PixelFEDLink.cc.
References sipixelobjects::PixelROC::idInLink().
bool PixelFEDLink::checkRocNumbering | ( | ) | const |
check ROC in link numbering consistency, ie. that ROC position in vector is the same as its id. To be called by owner
Definition at line 19 of file PixelFEDLink.cc.
References gather_cfg::cout, and query::result.
|
inline |
link id
Definition at line 31 of file PixelFEDLink.h.
References theId.
Referenced by sipixelobjects::PixelFEDCabling::addLink(), SiPixelFedCablingTree::pathToDetUnit(), and SiPixelFedCablingMap::SiPixelFedCablingMap().
|
inline |
number of ROCs in fed
Definition at line 34 of file PixelFEDLink.h.
References theROCs.
Referenced by SiPixelFedCablingTree::pathToDetUnit(), and SiPixelFedCablingMap::SiPixelFedCablingMap().
string PixelFEDLink::print | ( | int | depth = 0 | ) | const |
Definition at line 40 of file PixelFEDLink.cc.
References dbtoconf::out.
|
private |
Definition at line 59 of file PixelFEDLink.cc.
References Reference_intrackfit_cff::barrel, PixelEndcapName::bladeName(), cond::rpcobgas::detid, PixelEndcapName::diskName(), first, PixelEndcapName::halfCylinder(), PixelModuleName::isBarrel(), bookConverter::max, min(), PixelBarrelName::name(), PixelEndcapName::name(), dbtoconf::out, PixelEndcapName::pannelName(), DetId::rawId(), and tmp.
|
inline |
return ROC identified by id. ROC ids are ranged [1,numberOfROCs]
Definition at line 37 of file PixelFEDLink.h.
References theROCs.
Referenced by SiPixelFedCablingTree::findItem(), SiPixelFedCablingTree::findItemInFed(), SiPixelFedCablingTree::pathToDetUnit(), and SiPixelFedCablingMap::SiPixelFedCablingMap().
|
private |
Definition at line 49 of file PixelFEDLink.h.
Referenced by id().
|
private |
Definition at line 50 of file PixelFEDLink.h.
Referenced by numberOfROCs(), and roc().