#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 |
std::unordered_map< uint32_t, unsigned int > | det2fedMap () const override |
std::map< uint32_t, std::vector< sipixelobjects::CablingPathToDetUnit > > | det2PathMap () const override |
const PixelFEDCabling * | fed (unsigned int idFed) const |
get fed identified by its id More... | |
std::vector< const PixelFEDCabling * > | fedList () const |
const sipixelobjects::PixelROC * | findItem (const sipixelobjects::CablingPathToDetUnit &path) const override |
const sipixelobjects::PixelROC * | findItemInFed (const sipixelobjects::CablingPathToDetUnit &path, const PixelFEDCabling *aFed) const |
std::vector< sipixelobjects::CablingPathToDetUnit > | pathToDetUnit (uint32_t rawDetId) const override |
std::string | print (int depth=0) const |
SiPixelFedCablingTree (const std::string &version="") | |
std::string | version () const override |
map version More... | |
~SiPixelFedCablingTree () override | |
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.
|
inlineoverride |
void SiPixelFedCablingTree::addFed | ( | const PixelFEDCabling & | f | ) |
add cabling for one fed
Definition at line 68 of file SiPixelFedCablingTree.cc.
References f, triggerObjects_cff::id, and sipixelobjects::PixelFEDCabling::id().
Referenced by ~SiPixelFedCablingTree().
void SiPixelFedCablingTree::addItem | ( | unsigned int | fedId, |
unsigned int | linkId, | ||
const sipixelobjects::PixelROC & | roc | ||
) |
Definition at line 104 of file SiPixelFedCablingTree.cc.
References sipixelobjects::PixelFEDCabling::addItem(), l1t::stage2::layer2::fedId, and sipixelobjects::PixelFEDCabling::id().
Referenced by SiPixelFedCablingMapBuilder::produce(), and version().
int SiPixelFedCablingTree::checkNumbering | ( | ) | const |
Definition at line 135 of file SiPixelFedCablingTree.cc.
References gather_cfg::cout, and mps_update::status.
Referenced by version().
|
overridevirtual |
Implements SiPixelFedCabling.
Definition at line 33 of file SiPixelFedCablingTree.cc.
References mps_fire::result.
Referenced by version().
|
overridevirtual |
Implements SiPixelFedCabling.
Definition at line 50 of file SiPixelFedCablingTree.cc.
References callgraph::path, and mps_fire::result.
Referenced by version().
const PixelFEDCabling * SiPixelFedCablingTree::fed | ( | unsigned int | idFed | ) | const |
get fed identified by its id
Definition at line 74 of file SiPixelFedCablingTree.cc.
Referenced by ~SiPixelFedCablingTree().
std::vector< const PixelFEDCabling * > SiPixelFedCablingTree::fedList | ( | ) | const |
Definition at line 93 of file SiPixelFedCablingTree.cc.
References a, b, sipixelobjects::PixelFEDCabling::id(), and mps_fire::result.
Referenced by SiPixelFedCablingMap::SiPixelFedCablingMap(), and ~SiPixelFedCablingTree().
|
overridevirtual |
Implements SiPixelFedCabling.
Definition at line 111 of file SiPixelFedCablingTree.cc.
References sipixelobjects::CablingPathToDetUnit::fed, sipixelobjects::CablingPathToDetUnit::link, sipixelobjects::PixelFEDCabling::link(), sipixelobjects::CablingPathToDetUnit::roc, and sipixelobjects::PixelFEDLink::roc().
Referenced by version().
const sipixelobjects::PixelROC * SiPixelFedCablingTree::findItemInFed | ( | const sipixelobjects::CablingPathToDetUnit & | path, |
const PixelFEDCabling * | aFed | ||
) | const |
Definition at line 124 of file SiPixelFedCablingTree.cc.
References sipixelobjects::CablingPathToDetUnit::link, sipixelobjects::PixelFEDCabling::link(), sipixelobjects::CablingPathToDetUnit::roc, and sipixelobjects::PixelFEDLink::roc().
Referenced by SiPixelFrameConverter::toRoc(), and version().
|
overridevirtual |
Implements SiPixelFedCabling.
Definition at line 11 of file SiPixelFedCablingTree.cc.
References sipixelobjects::PixelFEDLink::id(), sipixelobjects::PixelFEDCabling::id(), sipixelobjects::PixelROC::idInLink(), sipixelobjects::PixelFEDCabling::link(), sipixelobjects::PixelFEDCabling::numberOfLinks(), sipixelobjects::PixelFEDLink::numberOfROCs(), callgraph::path, sipixelobjects::PixelROC::rawId(), mps_fire::result, and sipixelobjects::PixelFEDLink::roc().
Referenced by version().
string SiPixelFedCablingTree::print | ( | int | depth = 0 | ) | const |
Definition at line 80 of file SiPixelFedCablingTree.cc.
References MillePedeFileConverter_cfg::out.
Referenced by version().
|
inlineoverridevirtual |
map version
Implements SiPixelFedCabling.
Definition at line 29 of file SiPixelFedCablingTree.h.
References addItem(), checkNumbering(), particleFlowClusterECALTimeSelected_cfi::depth, det2fedMap(), det2PathMap(), l1t::stage2::layer2::fedId, findItem(), findItemInFed(), callgraph::path, pathToDetUnit(), print(), AlCaHLTBitMon_QueryRunRegistry::string, and theVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
private |
Definition at line 51 of file SiPixelFedCablingTree.h.
|
private |
Definition at line 50 of file SiPixelFedCablingTree.h.
Referenced by version().