#include <SiPixelFedCablingTree.h>
Public Types | |
typedef sipixelobjects::PixelFEDCabling | PixelFEDCabling |
Public Member Functions | |
void | addFed (const PixelFEDCabling &f) |
add cabling for one fed More... | |
void | addItem (unsigned int fedId, unsigned int linkId, const sipixelobjects::PixelROC &roc) |
int | checkNumbering () const |
const PixelFEDCabling * | fed (unsigned int idFed) const |
get fed identified by its id More... | |
std::vector< const PixelFEDCabling * > | fedList () const |
virtual const sipixelobjects::PixelROC * | findItem (const sipixelobjects::CablingPathToDetUnit &path) const |
const sipixelobjects::PixelROC * | findItemInFed (const sipixelobjects::CablingPathToDetUnit &path, const PixelFEDCabling *aFed) const |
virtual std::vector < sipixelobjects::CablingPathToDetUnit > | pathToDetUnit (uint32_t rawDetId) const |
std::string | print (int depth=0) const |
SiPixelFedCablingTree (const std::string &version="") | |
virtual std::string | version () const |
map version More... | |
virtual | ~SiPixelFedCablingTree () |
Public Member Functions inherited from SiPixelFedCabling | |
virtual | ~SiPixelFedCabling () |
Private Attributes | |
std::unordered_map< int, PixelFEDCabling > | theFedCablings |
std::string | theVersion |
Definition at line 11 of file SiPixelFedCablingTree.h.
Definition at line 14 of file SiPixelFedCablingTree.h.
|
inline |
Definition at line 16 of file SiPixelFedCablingTree.h.
|
inlinevirtual |
Definition at line 18 of file SiPixelFedCablingTree.h.
void SiPixelFedCablingTree::addFed | ( | const PixelFEDCabling & | f | ) |
add cabling for one fed
Definition at line 33 of file SiPixelFedCablingTree.cc.
References f, and sipixelobjects::PixelFEDCabling::id().
void SiPixelFedCablingTree::addItem | ( | unsigned int | fedId, |
unsigned int | linkId, | ||
const sipixelobjects::PixelROC & | roc | ||
) |
Definition at line 69 of file SiPixelFedCablingTree.cc.
References sipixelobjects::PixelFEDCabling::addItem(), stage2BMTFBufferRaw_cfi::fedId, and sipixelobjects::PixelFEDCabling::id().
Referenced by SiPixelFedCablingMapBuilder::produce().
int SiPixelFedCablingTree::checkNumbering | ( | ) | const |
Definition at line 100 of file SiPixelFedCablingTree.cc.
References gather_cfg::cout, and mps_update::status.
const PixelFEDCabling * SiPixelFedCablingTree::fed | ( | unsigned int | idFed | ) | const |
get fed identified by its id
Definition at line 39 of file SiPixelFedCablingTree.cc.
std::vector< const PixelFEDCabling * > SiPixelFedCablingTree::fedList | ( | ) | const |
Definition at line 58 of file SiPixelFedCablingTree.cc.
References a, b, sipixelobjects::PixelFEDCabling::id(), and mps_fire::result.
Referenced by SiPixelFedCablingMap::SiPixelFedCablingMap().
|
virtual |
Implements SiPixelFedCabling.
Definition at line 76 of file SiPixelFedCablingTree.cc.
References sipixelobjects::CablingPathToDetUnit::fed, sipixelobjects::CablingPathToDetUnit::link, sipixelobjects::PixelFEDCabling::link(), sipixelobjects::CablingPathToDetUnit::roc, and sipixelobjects::PixelFEDLink::roc().
const sipixelobjects::PixelROC * SiPixelFedCablingTree::findItemInFed | ( | const sipixelobjects::CablingPathToDetUnit & | path, |
const PixelFEDCabling * | aFed | ||
) | const |
Definition at line 89 of file SiPixelFedCablingTree.cc.
References sipixelobjects::CablingPathToDetUnit::link, sipixelobjects::PixelFEDCabling::link(), sipixelobjects::CablingPathToDetUnit::roc, and sipixelobjects::PixelFEDLink::roc().
Referenced by SiPixelFrameConverter::toRoc().
|
virtual |
Implements SiPixelFedCabling.
Definition at line 11 of file SiPixelFedCablingTree.cc.
References sipixelobjects::PixelFEDLink::id(), sipixelobjects::PixelFEDCabling::id(), sipixelobjects::PixelROC::idInLink(), sipixelobjects::PixelFEDCabling::link(), MainPageGenerator::link, sipixelobjects::PixelFEDCabling::numberOfLinks(), sipixelobjects::PixelFEDLink::numberOfROCs(), fed_dqm_sourceclient-live_cfg::path, sipixelobjects::PixelROC::rawId(), mps_fire::result, and sipixelobjects::PixelFEDLink::roc().
string SiPixelFedCablingTree::print | ( | int | depth = 0 | ) | const |
Definition at line 45 of file SiPixelFedCablingTree.cc.
References GenerateHcalLaserBadRunList::out.
|
inlinevirtual |
map version
Implements SiPixelFedCabling.
Definition at line 29 of file SiPixelFedCablingTree.h.
References theVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
private |
Definition at line 46 of file SiPixelFedCablingTree.h.
|
private |
Definition at line 45 of file SiPixelFedCablingTree.h.
Referenced by version().