#include <TkHistoMap.h>
Public Member Functions | |
void | add (DetId detid, float value) |
void | dumpInTkMap (TrackerMap *tkmap, bool dumpEntries=false) |
void | fill (DetId detid, float value) |
void | fillFromAscii (const std::string &filename) |
const std::vector< MonitorElement * > & | getAllMaps () const |
std::vector< MonitorElement * > & | getAllMaps () |
DetId | getDetId (const std::string &title, int ix, int iy) |
DetId | getDetId (int layer, int ix, int iy) |
DetId | getDetId (const MonitorElement *ME, int ix, int iy) |
float | getEntries (DetId detid) |
std::string | getLayerName (std::string title) |
uint16_t | getLayerNum (const std::string &layerName) |
MonitorElement * | getMap (short layerNumber) |
float | getValue (DetId detid) |
void | loadServices () |
void | loadTkHistoMap (const std::string &path, const std::string &MapName, bool mechanicalView=false) |
void | save (const std::string &filename) |
void | saveAsCanvas (const std::string &filename, const std::string &options="", const std::string &mode="RECREATE") |
void | setBinContent (DetId detid, float value) |
TkHistoMap (const TkDetMap *tkDetMap, DQMStore::IBooker &ibooker, const std::string &path, const std::string &MapName, float baseline=0, bool mechanicalView=false) | |
TkHistoMap (const TkDetMap *tkDetMap, const std::string &path, const std::string &MapName, float baseline=0, bool mechanicalView=false) | |
TkHistoMap (const TkDetMap *tkDetMap, const std::string &path, const std::string &MapName, float baseline, bool mechanicalView, bool isTH2F) | |
TkHistoMap (const TkDetMap *tkDetMap) | |
~TkHistoMap () | |
Private Types | |
typedef std::vector< MonitorElement * > | tkHistoMapVect |
Private Member Functions | |
void | createTkHistoMap (DQMStore::IBooker &ibooker, const std::string &path, const std::string &MapName, float baseline, bool mechanicalView) |
std::string | folderDefinition (DQMStore::IBooker &ibooker, std::string folder, const std::string &MapName, int layer, bool mechanicalView, std::string &fullName) |
void | load (const TkDetMap *tkDetMap, const std::string &path, float baseline, bool mechanicalView, bool isTH2F, bool createTkMap=true) |
Private Attributes | |
DetId | cached_detid |
int16_t | cached_layer |
TkLayerMap::XYbin | cached_XYbin |
DQMStore * | dqmStore_ { 0 } |
int | HistoNumber |
bool | isTH2F_ |
std::string | MapName_ |
const 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 | ( | const TkDetMap * | tkDetMap, |
DQMStore::IBooker & | ibooker, | ||
const std::string & | path, | ||
const std::string & | MapName, | ||
float | baseline = 0 , |
||
bool | mechanicalView = false |
||
) |
Definition at line 37 of file TkHistoMap.cc.
References createTkHistoMap(), load(), LogTrace, and MapName_.
TkHistoMap::TkHistoMap | ( | const TkDetMap * | tkDetMap, |
const std::string & | path, | ||
const std::string & | MapName, | ||
float | baseline = 0 , |
||
bool | mechanicalView = false |
||
) |
Definition at line 13 of file TkHistoMap.cc.
References createTkHistoMap(), dqmStore_, load(), LogTrace, MapName_, and DQMStore::meBookerGetter().
TkHistoMap::TkHistoMap | ( | const TkDetMap * | tkDetMap, |
const std::string & | path, | ||
const std::string & | MapName, | ||
float | baseline, | ||
bool | mechanicalView, | ||
bool | isTH2F | ||
) |
Definition at line 25 of file TkHistoMap.cc.
References createTkHistoMap(), dqmStore_, load(), LogTrace, MapName_, and DQMStore::meBookerGetter().
TkHistoMap::TkHistoMap | ( | const TkDetMap * | tkDetMap | ) |
Definition at line 6 of file TkHistoMap.cc.
References f, load(), and LogTrace.
|
inline |
Definition at line 22 of file TkHistoMap.h.
References loadServices(), loadTkHistoMap(), callgraph::path, and AlCaHLTBitMon_QueryRunRegistry::string.
void TkHistoMap::add | ( | DetId | detid, |
float | value | ||
) |
Definition at line 212 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, TkDetMap::findLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, callgraph::kind, LogTrace, setBinContent(), tkdetmap_, and tkHistoMap_.
Referenced by getLayerNum(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
|
private |
Definition at line 93 of file TkHistoMap.cc.
References DQMStore::IBooker::book2D(), DQMStore::IBooker::bookProfile2D(), MonitorElement::Fill(), printsummarytable::folder, folderDefinition(), TkDetMap::getComponents(), TkDetMap::getDetFromBin(), HistoNumber, createfilelist::int, isTH2F_, LogTrace, AlCaHLTBitMon_QueryRunRegistry::string, tkdetmap_, and tkHistoMap_.
Referenced by getLayerNum(), and TkHistoMap().
void TkHistoMap::dumpInTkMap | ( | TrackerMap * | tkmap, |
bool | dumpEntries = false |
||
) |
Definition at line 242 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 | ( | DetId | detid, |
float | value | ||
) |
Definition at line 167 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, TkDetMap::findLayer(), TkDetMap::getXY(), cuy::ii, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, findQualityFiles::jj, callgraph::kind, LogTrace, DetId::rawId(), tkdetmap_, tkHistoMap_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), TkVoltageMapCreator::beginRun(), SiStripMonitorDigi::FillApvShotsMap(), fillFromAscii(), and getLayerNum().
void TkHistoMap::fillFromAscii | ( | const std::string & | filename | ) |
Definition at line 155 of file TkHistoMap.cc.
References FrontierConditions_GlobalTag_cff::file, fill(), and relativeConstraints::value.
Referenced by getLayerNum().
|
private |
Definition at line 133 of file TkHistoMap.cc.
References printsummarytable::folder, TkDetMap::getLayerName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), dataset::name, DQMStore::IBooker::setCurrentFolder(), SiStripFolderOrganizer::setSiStripFolderName(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by createTkHistoMap(), getLayerNum(), and loadTkHistoMap().
|
inline |
Definition at line 29 of file TkHistoMap.h.
References tkHistoMap_.
Referenced by BuildTrackerMapPlugin::subtractMap().
|
inline |
|
inline |
Definition at line 34 of file TkHistoMap.h.
References getDetId(), getLayerName(), and getLayerNum().
Referenced by getDetId().
|
inline |
Definition at line 35 of file TkHistoMap.h.
References TkDetMap::getDetFromBin(), and tkdetmap_.
|
inline |
Definition at line 36 of file TkHistoMap.h.
References getDetId(), and MonitorElement::getTitle().
Referenced by getDetId().
float TkHistoMap::getEntries | ( | DetId | detid | ) |
Definition at line 233 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, MonitorElement::DQM_KIND_TH2F, TkDetMap::findLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, callgraph::kind, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap(), and getAllMaps().
|
inline |
|
inline |
Definition at line 38 of file TkHistoMap.h.
References add(), createTkHistoMap(), dumpInTkMap(), corrVsCorr::filename, fill(), fillFromAscii(), printsummarytable::folder, folderDefinition(), TkDetMap::getLayerNum(), load(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, save(), saveAsCanvas(), setBinContent(), AlCaHLTBitMon_QueryRunRegistry::string, and tkdetmap_.
Referenced by getDetId().
|
inline |
float TkHistoMap::getValue | ( | DetId | detid | ) |
Definition at line 224 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, MonitorElement::DQM_KIND_TH2F, TkDetMap::findLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, callgraph::kind, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap(), and getAllMaps().
|
private |
Definition at line 46 of file TkHistoMap.cc.
References cached_detid, cached_layer, isTH2F_, loadServices(), and tkdetmap_.
Referenced by getLayerNum(), and TkHistoMap().
void TkHistoMap::loadServices | ( | ) |
Definition at line 55 of file TkHistoMap.cc.
References dqmStore_, and Utilities::operator.
Referenced by load(), and ~TkHistoMap().
void TkHistoMap::loadTkHistoMap | ( | const std::string & | path, |
const std::string & | MapName, | ||
bool | mechanicalView = false |
||
) |
Definition at line 71 of file TkHistoMap.cc.
References dqmStore_, printsummarytable::folder, folderDefinition(), HistoNumber, edm::loadMap(), LogTrace, MapName_, DQMStore::meBookerGetter(), callgraph::path, AlCaHLTBitMon_QueryRunRegistry::string, and tkHistoMap_.
Referenced by BuildTrackerMapPlugin::read(), and ~TkHistoMap().
void TkHistoMap::save | ( | const std::string & | filename | ) |
Definition at line 66 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(), and getLayerNum().
void TkHistoMap::saveAsCanvas | ( | const std::string & | filename, |
const std::string & | options = "" , |
||
const std::string & | mode = "RECREATE" |
||
) |
Definition at line 260 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 getLayerNum().
void TkHistoMap::setBinContent | ( | DetId | detid, |
float | value | ||
) |
Definition at line 190 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, TkDetMap::findLayer(), TkDetMap::getXY(), cuy::ii, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, findQualityFiles::jj, callgraph::kind, LogTrace, DetId::rawId(), tkdetmap_, tkHistoMap_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by add(), and getLayerNum().
|
private |
Definition at line 60 of file TkHistoMap.h.
Referenced by add(), fill(), getEntries(), getValue(), load(), and setBinContent().
|
private |
Definition at line 61 of file TkHistoMap.h.
Referenced by add(), fill(), getEntries(), getValue(), load(), and setBinContent().
|
private |
Definition at line 62 of file TkHistoMap.h.
Referenced by add(), fill(), getEntries(), getValue(), and setBinContent().
|
private |
Definition at line 57 of file TkHistoMap.h.
Referenced by loadServices(), loadTkHistoMap(), save(), and TkHistoMap().
|
private |
Definition at line 64 of file TkHistoMap.h.
Referenced by createTkHistoMap(), dumpInTkMap(), and loadTkHistoMap().
|
private |
Definition at line 66 of file TkHistoMap.h.
Referenced by createTkHistoMap(), and load().
|
private |
Definition at line 65 of file TkHistoMap.h.
Referenced by getLayerName(), loadTkHistoMap(), saveAsCanvas(), and TkHistoMap().
|
private |
Definition at line 59 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), dumpInTkMap(), fill(), getDetId(), getEntries(), getLayerNum(), getValue(), load(), and setBinContent().
|
private |
Definition at line 63 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), fill(), getAllMaps(), getEntries(), getMap(), getValue(), loadTkHistoMap(), saveAsCanvas(), and setBinContent().