#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 17 of file PixelFEDLink.h.
typedef std::vector<PixelROC> sipixelobjects::PixelFEDLink::ROCs |
ROCs served be this link.
Definition at line 20 of file PixelFEDLink.h.
|
inline |
void PixelFEDLink::add | ( | const ROCs & | rocs | ) |
add connection (defined by connection spec and ROCs)
Definition at line 32 of file PixelFEDLink.cc.
References PixelMapPlotter::rocs.
Referenced by PixelEndcapLinkMaker::links(), PixelBarrelLinkMaker::links(), counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
void PixelFEDLink::addItem | ( | const PixelROC & | roc | ) |
Definition at line 11 of file PixelFEDLink.cc.
References PixelMapPlotter::roc.
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 18 of file PixelFEDLink.cc.
References gather_cfg::cout, and mps_fire::result.
|
inline |
link id
Definition at line 29 of file PixelFEDLink.h.
References theId.
Referenced by sipixelobjects::PixelFEDCabling::addLink(), and SiPixelFedCablingTree::pathToDetUnit().
|
inline |
number of ROCs in fed
Definition at line 32 of file PixelFEDLink.h.
References theROCs.
Referenced by SiPixelFEDChannelContainerFromQualityConverter::createFromSiPixelQuality(), FastSiPixelFEDChannelContainerFromQuality::createFromSiPixelQuality(), SiPixelFedCablingTree::pathToDetUnit(), SiPixelFedCablingTree::pathToDetUnitHasDetUnit(), and SiPixelFedCablingMap::SiPixelFedCablingMap().
string PixelFEDLink::print | ( | int | depth = 0 | ) | const |
Definition at line 34 of file PixelFEDLink.cc.
References hcalRecHitTable_cff::depth, l1ctLayer2EG_cff::id, and MillePedeFileConverter_cfg::out.
|
private |
Definition at line 56 of file PixelFEDLink.cc.
References Reference_intrackfit_cff::barrel, dqmdumpme::first, PixelModuleName::isBarrel(), SiStripPI::max, SiStripPI::min, PixelBarrelName::name(), PixelEndcapName::name(), MillePedeFileConverter_cfg::out, DetId::rawId(), and createJobs::tmp.
|
inline |
return ROC identified by id. ROC ids are ranged [1,numberOfROCs]
Definition at line 35 of file PixelFEDLink.h.
References theROCs.
Referenced by SiPixelFEDChannelContainerFromQualityConverter::createFromSiPixelQuality(), FastSiPixelFEDChannelContainerFromQuality::createFromSiPixelQuality(), SiPixelFedCablingTree::findItem(), SiPixelFedCablingTree::findItemInFed(), SiPixelFedCablingTree::pathToDetUnit(), SiPixelFedCablingTree::pathToDetUnitHasDetUnit(), and SiPixelFedCablingMap::SiPixelFedCablingMap().
|
private |
Definition at line 46 of file PixelFEDLink.h.
Referenced by id().
|
private |
Definition at line 47 of file PixelFEDLink.h.
Referenced by numberOfROCs(), and roc().