#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 18 of file PixelFEDCabling.h.
|
inline |
Definition at line 20 of file PixelFEDCabling.h.
void PixelFEDCabling::addItem | ( | unsigned int | linkId, |
const PixelROC & | roc | ||
) |
Definition at line 19 of file PixelFEDCabling.cc.
References PixelMapPlotter::roc.
Referenced by SiPixelFedCablingTree::addItem().
void PixelFEDCabling::addLink | ( | const PixelFEDLink & | link | ) |
Definition at line 11 of file PixelFEDCabling.cc.
References 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 mps_fire::result.
|
inline |
Definition at line 34 of file PixelFEDCabling.h.
References theFedId.
Referenced by SiPixelFedCablingTree::addItem(), SiPixelFedCablingTree::pathToDetUnit(), SiPixelFedCablingTree::pathToDetUnitHasDetUnit(), and PixelDataFormatter::unpackFEDErrors().
|
inline |
return link identified by id. Link id's are ranged [1, numberOfLinks]
Definition at line 27 of file PixelFEDCabling.h.
References theLinks.
Referenced by SiPixelFEDChannelContainerFromQualityConverter::createFromSiPixelQuality(), FastSiPixelFEDChannelContainerFromQuality::createFromSiPixelQuality(), SiPixelFedCablingTree::findItem(), SiPixelFedCablingTree::findItemInFed(), SiPixelFedCablingTree::pathToDetUnit(), SiPixelFedCablingTree::pathToDetUnitHasDetUnit(), and PixelDataFormatter::unpackFEDErrors().
|
inline |
number of links in FED
Definition at line 32 of file PixelFEDCabling.h.
References theLinks.
Referenced by SiPixelFedCablingTree::pathToDetUnit(), and SiPixelFedCablingTree::pathToDetUnitHasDetUnit().
string PixelFEDCabling::print | ( | int | depth = 0 | ) | const |
Definition at line 48 of file PixelFEDCabling.cc.
References LEDCalibrationChannels::depth, l1ctLayer2EG_cff::id, and MillePedeFileConverter_cfg::out.
void PixelFEDCabling::setLinks | ( | Links & | links | ) |
|
private |
Definition at line 47 of file PixelFEDCabling.h.
Referenced by id().
|
private |
Definition at line 48 of file PixelFEDCabling.h.
Referenced by link(), and numberOfLinks().