#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 |
Additional Inherited Members | |
Public Attributes inherited from SiPixelFedCabling | |
COND_SERIALIZABLE | |
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().
Referenced by SiPixelFedCablingMapBuilder::produce().
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(), 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 ntuplemaker::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(), query::result, and python.multivaluedict::sort().
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(), link(), sipixelobjects::PixelFEDCabling::link(), sipixelobjects::PixelFEDCabling::numberOfLinks(), sipixelobjects::PixelFEDLink::numberOfROCs(), getHLTPrescaleColumns::path, sipixelobjects::PixelROC::rawId(), query::result, and sipixelobjects::PixelFEDLink::roc().
string SiPixelFedCablingTree::print | ( | int | depth = 0 | ) | const |
Definition at line 45 of file SiPixelFedCablingTree.cc.
References dbtoconf::out.
|
inlinevirtual |
map version
Implements SiPixelFedCabling.
Definition at line 29 of file SiPixelFedCablingTree.h.
References theVersion.
|
private |
Definition at line 46 of file SiPixelFedCablingTree.h.
|
private |
Definition at line 45 of file SiPixelFedCablingTree.h.
Referenced by version().