#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(), PixelBarrelLinkMaker::links(), PixelFEDLink(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
void PixelFEDLink::addItem | ( | const PixelROC & | roc | ) |
Definition at line 12 of file PixelFEDLink.cc.
References sipixelobjects::PixelROC::idInLink().
Referenced by 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 19 of file PixelFEDLink.cc.
References gather_cfg::cout, and mps_fire::result.
Referenced by roc().
|
inline |
link id
Definition at line 31 of file PixelFEDLink.h.
References theId.
Referenced by sipixelobjects::PixelFEDCabling::addLink(), and SiPixelFedCablingTree::pathToDetUnit().
|
inline |
number of ROCs in fed
Definition at line 34 of file PixelFEDLink.h.
References theROCs.
Referenced by SiPixelFedCablingTree::pathToDetUnit(), SiPixelFedCablingTree::pathToDetUnitHasDetUnit(), SiPixelRawToDigi::produce(), and SiPixelFedCablingMap::SiPixelFedCablingMap().
string PixelFEDLink::print | ( | int | depth = 0 | ) | const |
Definition at line 40 of file PixelFEDLink.cc.
References triggerObjects_cff::id, and MillePedeFileConverter_cfg::out.
Referenced by roc().
|
private |
Definition at line 59 of file PixelFEDLink.cc.
References Reference_intrackfit_cff::barrel, PixelEndcapName::bladeName(), PixelEndcapName::diskName(), plotBeamSpotDB::first, PixelEndcapName::halfCylinder(), PixelModuleName::isBarrel(), SiStripPI::max, min(), PixelBarrelName::name(), PixelEndcapName::name(), MillePedeFileConverter_cfg::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 addItem(), checkRocNumbering(), egammaForCoreTracking_cff::depth, print(), AlCaHLTBitMon_QueryRunRegistry::string, and theROCs.
Referenced by SiPixelFedCablingTree::findItem(), SiPixelFedCablingTree::findItemInFed(), SiPixelFedCablingTree::pathToDetUnit(), SiPixelFedCablingTree::pathToDetUnitHasDetUnit(), SiPixelRawToDigi::produce(), 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().