#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 MainPageGenerator::link, mps_fire::result, and PixelMapPlotter::roc.
|
finalvirtual |
Implements SiPixelFedCabling.
Definition at line 71 of file SiPixelFedCablingTree.cc.
References MainPageGenerator::link, 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.
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.
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::PixelFEDCabling::id(), sipixelobjects::PixelFEDCabling::link(), MainPageGenerator::link, sipixelobjects::PixelFEDCabling::numberOfLinks(), castor_dqm_sourceclient_file_cfg::path, mps_fire::result, 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(), MainPageGenerator::link, sipixelobjects::PixelFEDCabling::numberOfLinks(), and PixelMapPlotter::roc.
string SiPixelFedCablingTree::print | ( | int | depth = 0 | ) | const |
Definition at line 100 of file SiPixelFedCablingTree.cc.
References LEDCalibrationChannels::depth, 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().