#include <TkHistoMap.h>
Public Member Functions | |
void | add (uint32_t &detid, float value) |
void | dumpInTkMap (TrackerMap *tkmap, bool dumpEntries=false) |
void | fill (uint32_t &detid, float value) |
void | fillFromAscii (std::string filename) |
std::vector< MonitorElement * > & | getAllMaps () |
uint32_t | getDetId (std::string title, int ix, int iy) |
uint32_t | getDetId (int layer, int ix, int iy) |
uint32_t | getDetId (MonitorElement *ME, int ix, int iy) |
float | getEntries (uint32_t &detid) |
std::string | getLayerName (std::string title) |
uint16_t | getLayerNum (std::string layerName) |
MonitorElement * | getMap (short layerNumber) |
float | getValue (uint32_t &detid) |
void | loadServices () |
void | loadTkHistoMap (std::string path, std::string MapName, bool mechanicalView=false) |
void | save (std::string filename) |
void | saveAsCanvas (std::string filename, std::string options="", std::string mode="RECREATE") |
void | setBinContent (uint32_t &detid, float value) |
TkHistoMap (DQMStore::IBooker &ibooker, std::string path, std::string MapName, float baseline=0, bool mechanicalView=false) | |
TkHistoMap (std::string path, std::string MapName, float baseline=0, bool mechanicalView=false) | |
TkHistoMap () | |
~TkHistoMap () | |
Private Types | |
typedef std::vector< MonitorElement * > | tkHistoMapVect |
Private Member Functions | |
void | createTkHistoMap (std::string &path, std::string &MapName, float &baseline, bool mechanicalView) |
void | createTkHistoMap (DQMStore::IBooker &ibooker, std::string &path, std::string &MapName, float &baseline, bool mechanicalView) |
std::string | folderDefinition (std::string &path, std::string &MapName, int layer, bool mechanicalView, std::string &fullName) |
Private Attributes | |
uint32_t | cached_detid |
int16_t | cached_layer |
TkLayerMap::XYbin | cached_XYbin |
DQMStore * | dqmStore_ |
int | HistoNumber |
std::string | MapName_ |
TkDetMap * | tkdetmap_ |
std::vector< MonitorElement * > | tkHistoMap_ |
Definition at line 13 of file TkHistoMap.h.
|
private |
Definition at line 15 of file TkHistoMap.h.
TkHistoMap::TkHistoMap | ( | DQMStore::IBooker & | ibooker, |
std::string | path, | ||
std::string | MapName, | ||
float | baseline = 0 , |
||
bool | mechanicalView = false |
||
) |
Definition at line 27 of file TkHistoMap.cc.
References cached_detid, cached_layer, createTkHistoMap(), loadServices(), LogTrace, and MapName_.
TkHistoMap::TkHistoMap | ( | std::string | path, |
std::string | MapName, | ||
float | baseline = 0 , |
||
bool | mechanicalView = false |
||
) |
Definition at line 16 of file TkHistoMap.cc.
References cached_detid, cached_layer, createTkHistoMap(), loadServices(), LogTrace, and MapName_.
TkHistoMap::TkHistoMap | ( | ) |
Definition at line 6 of file TkHistoMap.cc.
References cached_detid, cached_layer, loadServices(), and LogTrace.
|
inline |
Definition at line 21 of file TkHistoMap.h.
References loadServices(), loadTkHistoMap(), callgraph::path, and AlCaHLTBitMon_QueryRunRegistry::string.
void TkHistoMap::add | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 213 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::FindLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, LogTrace, setBinContent(), tkdetmap_, and tkHistoMap_.
Referenced by DetIdSelectorTest::analyze(), APVShotsAnalyzer::analyze(), SiStripMonitorTrack::clusterInfos(), getLayerNum(), counter.Counter::register(), SequenceTypes.Task::remove(), SequenceTypes.Task::replace(), SiStripMonitorTrack::trackStudyFromTrack(), and SiStripMonitorTrack::trajectoryStudy().
|
private |
Definition at line 80 of file TkHistoMap.cc.
References DQMStore::bookProfile2D(), dqmStore_, MonitorElement::Fill(), printsummarytable::folder, folderDefinition(), TkDetMap::getComponents(), TkDetMap::getDetFromBin(), HistoNumber, createfilelist::int, LogTrace, AlCaHLTBitMon_QueryRunRegistry::string, tkdetmap_, and tkHistoMap_.
Referenced by getLayerNum(), and TkHistoMap().
|
private |
Definition at line 111 of file TkHistoMap.cc.
References DQMStore::IBooker::bookProfile2D(), MonitorElement::Fill(), printsummarytable::folder, folderDefinition(), TkDetMap::getComponents(), TkDetMap::getDetFromBin(), HistoNumber, createfilelist::int, LogTrace, AlCaHLTBitMon_QueryRunRegistry::string, tkdetmap_, and tkHistoMap_.
void TkHistoMap::dumpInTkMap | ( | TrackerMap * | tkmap, |
bool | dumpEntries = false |
||
) |
Definition at line 234 of file TkHistoMap.cc.
References TrackerMap::fill(), TkDetMap::getDetsForLayer(), getEntries(), getValue(), HistoNumber, mps_fire::i, and tkdetmap_.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), TkVoltageMapCreator::beginRun(), and getLayerNum().
void TkHistoMap::fill | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 180 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::FindLayer(), TkDetMap::getXY(), cuy::ii, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, findQualityFiles::jj, LogTrace, tkdetmap_, tkHistoMap_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), SiStripQualityStatistics::analyze(), SiStripMonitorDigi::analyze(), SiStripMonitorCluster::analyze(), APVShotsAnalyzer::analyze(), TkVoltageMapCreator::beginRun(), SiStripMonitorTrack::clusterInfos(), SiStripMonitorDigi::FillApvShotsMap(), fillFromAscii(), SiStripNoisesDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripBackPlaneCorrectionDQM::fillMEsForLayer(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripCablingDQM::getActiveDetIds(), and getLayerNum().
void TkHistoMap::fillFromAscii | ( | std::string | filename | ) |
Definition at line 168 of file TkHistoMap.cc.
References FrontierConditions_GlobalTag_cff::file, fill(), and relativeConstraints::value.
Referenced by getLayerNum().
|
private |
Definition at line 142 of file TkHistoMap.cc.
References dqmStore_, printsummarytable::folder, TkDetMap::getLayerName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), dataset::name, callgraph::path, DQMStore::setCurrentFolder(), SiStripFolderOrganizer::setSiStripFolderName(), AlCaHLTBitMon_QueryRunRegistry::string, and tkdetmap_.
Referenced by createTkHistoMap(), getLayerNum(), and loadTkHistoMap().
|
inline |
Definition at line 28 of file TkHistoMap.h.
References getEntries(), getValue(), and tkHistoMap_.
Referenced by BuildTrackerMapPlugin::subtractMap().
|
inline |
Definition at line 32 of file TkHistoMap.h.
References getDetId(), getLayerName(), and getLayerNum().
Referenced by getDetId().
|
inline |
Definition at line 33 of file TkHistoMap.h.
References TkDetMap::getDetFromBin(), and tkdetmap_.
|
inline |
Definition at line 34 of file TkHistoMap.h.
References getDetId(), and MonitorElement::getTitle().
Referenced by getDetId().
float TkHistoMap::getEntries | ( | uint32_t & | detid | ) |
Definition at line 228 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::FindLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap(), and getAllMaps().
|
inline |
|
inline |
Definition at line 36 of file TkHistoMap.h.
References add(), createTkHistoMap(), dumpInTkMap(), corrVsCorr::filename, fill(), fillFromAscii(), folderDefinition(), TkDetMap::getLayerNum(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, save(), saveAsCanvas(), setBinContent(), AlCaHLTBitMon_QueryRunRegistry::string, and tkdetmap_.
Referenced by getDetId().
|
inline |
float TkHistoMap::getValue | ( | uint32_t & | detid | ) |
Definition at line 223 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::FindLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap(), and getAllMaps().
void TkHistoMap::loadServices | ( | ) |
Definition at line 38 of file TkHistoMap.cc.
References dqmStore_, Utilities::operator, and tkdetmap_.
Referenced by TkHistoMap(), and ~TkHistoMap().
void TkHistoMap::loadTkHistoMap | ( | std::string | path, |
std::string | MapName, | ||
bool | mechanicalView = false |
||
) |
Definition at line 61 of file TkHistoMap.cc.
References dqmStore_, printsummarytable::folder, folderDefinition(), DQMStore::get(), HistoNumber, LogTrace, MapName_, AlCaHLTBitMon_QueryRunRegistry::string, and tkHistoMap_.
Referenced by ~TkHistoMap().
void TkHistoMap::save | ( | std::string | filename | ) |
Definition at line 57 of file TkHistoMap.cc.
References dqmStore_, and DQMStore::save().
Referenced by Vispa.Main.TabController.TabController::allowClose(), SiStripDetVOffTkMapPlotter::analyze(), TkVoltageMapCreator::beginRun(), Vispa.Main.TabController.TabController::checkModificationTimestamp(), SiStripQualityStatistics::endJob(), DetIdSelectorTest::endJob(), and getLayerNum().
void TkHistoMap::saveAsCanvas | ( | std::string | filename, |
std::string | options = "" , |
||
std::string | mode = "RECREATE" |
||
) |
Definition at line 252 of file TkHistoMap.cc.
References f, mps_fire::i, MapName_, AlCaHLTBitMon_QueryRunRegistry::string, TkLayerMap::TECM_W1, TkLayerMap::TECM_W2, TkLayerMap::TECM_W3, TkLayerMap::TECM_W4, TkLayerMap::TECM_W5, TkLayerMap::TECM_W6, TkLayerMap::TECM_W7, TkLayerMap::TECM_W8, TkLayerMap::TECM_W9, TkLayerMap::TECP_W1, TkLayerMap::TECP_W2, TkLayerMap::TECP_W3, TkLayerMap::TECP_W4, TkLayerMap::TECP_W5, TkLayerMap::TECP_W6, TkLayerMap::TECP_W7, TkLayerMap::TECP_W8, TkLayerMap::TECP_W9, TkLayerMap::TIB_L1, TkLayerMap::TIB_L2, TkLayerMap::TIB_L3, TkLayerMap::TIB_L4, TkLayerMap::TIDM_D1, TkLayerMap::TIDM_D2, TkLayerMap::TIDM_D3, TkLayerMap::TIDP_D1, TkLayerMap::TIDP_D2, TkLayerMap::TIDP_D3, tkHistoMap_, TkLayerMap::TOB_L1, TkLayerMap::TOB_L2, TkLayerMap::TOB_L3, TkLayerMap::TOB_L4, TkLayerMap::TOB_L5, and TkLayerMap::TOB_L6.
Referenced by SiStripQualityStatistics::endJob(), and getLayerNum().
void TkHistoMap::setBinContent | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 196 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::FindLayer(), TkDetMap::getXY(), cuy::ii, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, findQualityFiles::jj, LogTrace, tkdetmap_, tkHistoMap_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by add(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripQualityDQM::fillMEsForLayer(), and getLayerNum().
|
private |
Definition at line 57 of file TkHistoMap.h.
Referenced by add(), fill(), getEntries(), getValue(), setBinContent(), and TkHistoMap().
|
private |
Definition at line 58 of file TkHistoMap.h.
Referenced by add(), fill(), getEntries(), getValue(), setBinContent(), and TkHistoMap().
|
private |
Definition at line 59 of file TkHistoMap.h.
Referenced by add(), fill(), getEntries(), getValue(), and setBinContent().
|
private |
Definition at line 55 of file TkHistoMap.h.
Referenced by createTkHistoMap(), folderDefinition(), loadServices(), loadTkHistoMap(), and save().
|
private |
Definition at line 61 of file TkHistoMap.h.
Referenced by createTkHistoMap(), dumpInTkMap(), and loadTkHistoMap().
|
private |
Definition at line 62 of file TkHistoMap.h.
Referenced by getLayerName(), loadTkHistoMap(), saveAsCanvas(), and TkHistoMap().
|
private |
Definition at line 56 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), dumpInTkMap(), fill(), folderDefinition(), getDetId(), getEntries(), getLayerNum(), getValue(), loadServices(), and setBinContent().
|
private |
Definition at line 60 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), fill(), getAllMaps(), getEntries(), getMap(), getValue(), loadTkHistoMap(), saveAsCanvas(), and setBinContent().