#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 final |
std::map< uint32_t, std::vector< sipixelobjects::CablingPathToDetUnit > > | det2PathMap () const final |
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 final |
const sipixelobjects::PixelROC * | findItemInFed (const sipixelobjects::CablingPathToDetUnit &path, const PixelFEDCabling *aFed) const |
std::vector< sipixelobjects::CablingPathToDetUnit > | pathToDetUnit (uint32_t rawDetId) const final |
bool | pathToDetUnitHasDetUnit (uint32_t rawDetId, unsigned int fedId) const final |
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 88 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 124 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 155 of file SiPixelFedCablingTree.cc.
References gather_cfg::cout, and mps_update::status.
Referenced by version().
|
finalvirtual |
Implements SiPixelFedCabling.
Definition at line 53 of file SiPixelFedCablingTree.cc.
References mps_fire::result.
Referenced by version().
|
finalvirtual |
Implements SiPixelFedCabling.
Definition at line 70 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 94 of file SiPixelFedCablingTree.cc.
Referenced by ~SiPixelFedCablingTree().
std::vector< const PixelFEDCabling * > SiPixelFedCablingTree::fedList | ( | ) | const |
Definition at line 113 of file SiPixelFedCablingTree.cc.
References a, b, sipixelobjects::PixelFEDCabling::id(), mps_fire::result, and jetUpdater_cfi::sort.
Referenced by SiPixelFedCablingMap::SiPixelFedCablingMap(), and ~SiPixelFedCablingTree().
|
finalvirtual |
Implements SiPixelFedCabling.
Definition at line 131 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 144 of file SiPixelFedCablingTree.cc.
References sipixelobjects::CablingPathToDetUnit::link, sipixelobjects::PixelFEDCabling::link(), sipixelobjects::CablingPathToDetUnit::roc, and sipixelobjects::PixelFEDLink::roc().
Referenced by SiPixelFrameConverter::toRoc(), and version().
|
finalvirtual |
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().
|
finalvirtual |
Implements SiPixelFedCabling.
Definition at line 33 of file SiPixelFedCablingTree.cc.
References l1t::stage2::layer2::fedId, sipixelobjects::PixelFEDCabling::id(), sipixelobjects::PixelFEDCabling::link(), sipixelobjects::PixelFEDCabling::numberOfLinks(), sipixelobjects::PixelFEDLink::numberOfROCs(), sipixelobjects::PixelROC::rawId(), and sipixelobjects::PixelFEDLink::roc().
Referenced by version().
string SiPixelFedCablingTree::print | ( | int | depth = 0 | ) | const |
Definition at line 100 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(), egammaForCoreTracking_cff::depth, det2fedMap(), det2PathMap(), l1t::stage2::layer2::fedId, findItem(), findItemInFed(), callgraph::path, pathToDetUnit(), pathToDetUnitHasDetUnit(), print(), AlCaHLTBitMon_QueryRunRegistry::string, and theVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
private |
Definition at line 52 of file SiPixelFedCablingTree.h.
|
private |
Definition at line 51 of file SiPixelFedCablingTree.h.
Referenced by version().