#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 |
void PixelFEDCabling::addItem | ( | unsigned int | linkId, |
const PixelROC & | roc | ||
) |
Definition at line 21 of file PixelFEDCabling.cc.
Referenced by SiPixelFedCablingTree::addItem(), and id().
void PixelFEDCabling::addLink | ( | const PixelFEDLink & | link | ) |
Definition at line 14 of file PixelFEDCabling.cc.
References sipixelobjects::PixelFEDLink::id().
Referenced by PixelFEDCabling().
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 mps_fire::result.
Referenced by id().
|
inline |
Definition at line 34 of file PixelFEDCabling.h.
References addItem(), checkLinkNumbering(), particleFlowClusterECALTimeSelected_cfi::depth, print(), AlCaHLTBitMon_QueryRunRegistry::string, and 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(), SiPixelFedCablingTree::pathToDetUnit(), and PixelFEDCabling().
|
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 hcalTTPDigis_cfi::id, and MillePedeFileConverter_cfg::out.
Referenced by id().
void PixelFEDCabling::setLinks | ( | Links & | links | ) |
|
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().