#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 13 of file SiPixelFedCablingTree.h.
Definition at line 15 of file SiPixelFedCablingTree.h.
|
inline |
Definition at line 17 of file SiPixelFedCablingTree.h.
|
inlineoverride |
Definition at line 19 of file SiPixelFedCablingTree.h.
void SiPixelFedCablingTree::addFed | ( | const PixelFEDCabling & | f | ) |
add cabling for one fed
Definition at line 90 of file SiPixelFedCablingTree.cc.
References f, and l1ctLayer2EG_cff::id.
void SiPixelFedCablingTree::addItem | ( | unsigned int | fedId, |
unsigned int | linkId, | ||
const sipixelobjects::PixelROC & | roc | ||
) |
Definition at line 123 of file SiPixelFedCablingTree.cc.
References sipixelobjects::PixelFEDCabling::addItem(), l1tstage2_dqm_sourceclient-live_cfg::fedId, sipixelobjects::PixelFEDCabling::id(), and PixelMapPlotter::roc.
int SiPixelFedCablingTree::checkNumbering | ( | ) | const |
Definition at line 150 of file SiPixelFedCablingTree.cc.
References gather_cfg::cout, and mps_update::status.
|
finalvirtual |
Implements SiPixelFedCabling.
Definition at line 53 of file SiPixelFedCablingTree.cc.
References mps_fire::result, and PixelMapPlotter::roc.
|
finalvirtual |
Implements SiPixelFedCabling.
Definition at line 71 of file SiPixelFedCablingTree.cc.
References castor_dqm_sourceclient_file_cfg::path, mps_fire::result, and PixelMapPlotter::roc.
const PixelFEDCabling * SiPixelFedCablingTree::fed | ( | unsigned int | idFed | ) | const |
get fed identified by its id
Definition at line 95 of file SiPixelFedCablingTree.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by FastSiPixelFEDChannelContainerFromQuality::createFromSiPixelQuality(), and PixelDataFormatter::unpackFEDErrors().
std::vector< const PixelFEDCabling * > SiPixelFedCablingTree::fedList | ( | ) | const |
Definition at line 112 of file SiPixelFedCablingTree.cc.
References a, b, mps_fire::result, and jetUpdater_cfi::sort.
Referenced by SiPixelFedCablingMap::SiPixelFedCablingMap().
|
finalvirtual |
Implements SiPixelFedCabling.
Definition at line 130 of file SiPixelFedCablingTree.cc.
References sipixelobjects::PixelFEDCabling::link(), castor_dqm_sourceclient_file_cfg::path, sipixelobjects::PixelFEDLink::roc(), and PixelMapPlotter::roc.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::SiPixelMappingUtilities::getModToUnpRegionalAsync().
const sipixelobjects::PixelROC * SiPixelFedCablingTree::findItemInFed | ( | const sipixelobjects::CablingPathToDetUnit & | path, |
const PixelFEDCabling * | aFed | ||
) | const |
Definition at line 141 of file SiPixelFedCablingTree.cc.
References sipixelobjects::PixelFEDCabling::link(), castor_dqm_sourceclient_file_cfg::path, sipixelobjects::PixelFEDLink::roc(), and PixelMapPlotter::roc.
Referenced by SiPixelFrameConverter::toRoc().
|
finalvirtual |
Implements SiPixelFedCabling.
Definition at line 11 of file SiPixelFedCablingTree.cc.
References sipixelobjects::PixelFEDLink::id(), sipixelobjects::PixelFEDCabling::id(), sipixelobjects::PixelFEDCabling::link(), sipixelobjects::PixelFEDCabling::numberOfLinks(), sipixelobjects::PixelFEDLink::numberOfROCs(), castor_dqm_sourceclient_file_cfg::path, mps_fire::result, sipixelobjects::PixelFEDLink::roc(), and PixelMapPlotter::roc.
|
finalvirtual |
Implements SiPixelFedCabling.
Definition at line 32 of file SiPixelFedCablingTree.cc.
References l1tstage2_dqm_sourceclient-live_cfg::fedId, sipixelobjects::PixelFEDCabling::id(), sipixelobjects::PixelFEDCabling::link(), sipixelobjects::PixelFEDCabling::numberOfLinks(), sipixelobjects::PixelFEDLink::numberOfROCs(), sipixelobjects::PixelFEDLink::roc(), and PixelMapPlotter::roc.
string SiPixelFedCablingTree::print | ( | int | depth = 0 | ) | const |
Definition at line 100 of file SiPixelFedCablingTree.cc.
References hcalRecHitTable_cff::depth, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and MillePedeFileConverter_cfg::out.
|
inlineoverridevirtual |
map version
Implements SiPixelFedCabling.
Definition at line 30 of file SiPixelFedCablingTree.h.
References 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().