#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 |
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::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, sipixelobjects::PixelFEDCabling::id(), and errorMatrix2Lands_multiChannel::id.
Referenced by SiPixelFedCablingMapBuilder::produce().
void SiPixelFedCablingTree::addItem | ( | unsigned int | fedId, |
unsigned int | linkId, | ||
const sipixelobjects::PixelROC & | roc | ||
) |
Definition at line 68 of file SiPixelFedCablingTree.cc.
References sipixelobjects::PixelFEDCabling::addItem(), and sipixelobjects::PixelFEDCabling::id().
Referenced by SiPixelFedCablingMap::cablingTree(), and SiPixelFedCablingMapBuilder::produce().
int SiPixelFedCablingTree::checkNumbering | ( | ) | const |
Definition at line 87 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 query::result.
Referenced by SiPixelDigiToRaw::produce(), and SiPixelFedCablingMap::SiPixelFedCablingMap().
|
virtual |
Implements SiPixelFedCabling.
Definition at line 75 of file SiPixelFedCablingTree.cc.
References sipixelobjects::CablingPathToDetUnit::fed, sipixelobjects::CablingPathToDetUnit::link, sipixelobjects::PixelFEDCabling::link(), sipixelobjects::CablingPathToDetUnit::roc, and sipixelobjects::PixelFEDLink::roc().
|
virtual |
Implements SiPixelFedCabling.
Definition at line 10 of file SiPixelFedCablingTree.cc.
References sipixelobjects::PixelFEDLink::id(), sipixelobjects::PixelFEDCabling::id(), sipixelobjects::PixelROC::idInLink(), sipixelobjects::PixelFEDCabling::link(), link(), sipixelobjects::PixelFEDCabling::numberOfLinks(), sipixelobjects::PixelFEDLink::numberOfROCs(), scaleCards::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.
Referenced by SiPixelDigiToRaw::produce().
|
private |
Definition at line 44 of file SiPixelFedCablingTree.h.
|
private |
Definition at line 43 of file SiPixelFedCablingTree.h.
Referenced by version().