#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, bool isTH2F=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 () | |
Protected Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
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_ {nullptr} |
int | HistoNumber |
bool | isTH2F_ |
std::string | MapName_ |
const TkDetMap * | tkdetmap_ |
std::vector< MonitorElement * > | tkHistoMap_ |
Definition at line 12 of file TkHistoMap.h.
|
protected |
Definition at line 14 of file TkHistoMap.h.
|
protected |
Definition at line 15 of file TkHistoMap.h.
|
protected |
Definition at line 16 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 , |
||
bool | isTH2F = false |
||
) |
Definition at line 35 of file TkHistoMap.cc.
References createTkHistoMap(), load(), LogTrace, MapName_, and castor_dqm_sourceclient_file_cfg::path.
TkHistoMap::TkHistoMap | ( | const TkDetMap * | tkDetMap, |
const std::string & | path, | ||
const std::string & | MapName, | ||
float | baseline = 0 , |
||
bool | mechanicalView = false |
||
) |
Definition at line 11 of file TkHistoMap.cc.
References createTkHistoMap(), dqmStore_, load(), LogTrace, MapName_, dqm::implementation::DQMStore::meBookerGetter(), and castor_dqm_sourceclient_file_cfg::path.
TkHistoMap::TkHistoMap | ( | const TkDetMap * | tkDetMap, |
const std::string & | path, | ||
const std::string & | MapName, | ||
float | baseline, | ||
bool | mechanicalView, | ||
bool | isTH2F | ||
) |
Definition at line 21 of file TkHistoMap.cc.
References createTkHistoMap(), dqmStore_, load(), LogTrace, MapName_, dqm::implementation::DQMStore::meBookerGetter(), and castor_dqm_sourceclient_file_cfg::path.
TkHistoMap::TkHistoMap | ( | const TkDetMap * | tkDetMap | ) |
Definition at line 6 of file TkHistoMap.cc.
References f, load(), and LogTrace.
|
inline |
Definition at line 38 of file TkHistoMap.h.
void TkHistoMap::add | ( | DetId | detid, |
float | value | ||
) |
Definition at line 233 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::findLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, CalibrationSummaryClient_cfi::kind, phase1PixelTopology::layer, LogTrace, setBinContent(), MonitorElementData::TH2F, tkdetmap_, tkHistoMap_, and MonitorElementData::TPROFILE2D.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
|
private |
Definition at line 101 of file TkHistoMap.cc.
References dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile2D(), printsummarytable::folder, folderDefinition(), newFWLiteAna::fullName, TkDetMap::getComponents(), TkDetMap::getDetFromBin(), HistoNumber, createfilelist::int, isTH2F_, phase1PixelTopology::layer, LogTrace, SiPixelPhase1Summary_cfi::MapName, hlt_dqm_clientPB-live_cfg::me, castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, tkdetmap_, and tkHistoMap_.
Referenced by TkHistoMap().
void TkHistoMap::dumpInTkMap | ( | TrackerMap * | tkmap, |
bool | dumpEntries = false |
||
) |
Definition at line 271 of file TkHistoMap.cc.
References TrackerMap::fill(), TkDetMap::getDetsForLayer(), getEntries(), getValue(), HistoNumber, mps_fire::i, phase1PixelTopology::layer, and tkdetmap_.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), and TkVoltageMapCreator::beginRun().
void TkHistoMap::fill | ( | DetId | detid, |
float | value | ||
) |
Definition at line 177 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, CalibrationSummaryClient_cfi::kind, phase1PixelTopology::layer, LogTrace, DetId::rawId(), MonitorElementData::TH2F, tkdetmap_, tkHistoMap_, MonitorElementData::TPROFILE2D, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), TkVoltageMapCreator::beginRun(), SiStripMonitorDigi::FillApvShotsMap(), and fillFromAscii().
void TkHistoMap::fillFromAscii | ( | const std::string & | filename | ) |
Definition at line 165 of file TkHistoMap.cc.
References geometryDiff::file, corrVsCorr::filename, fill(), and relativeConstraints::value.
|
private |
Definition at line 139 of file TkHistoMap.cc.
References printsummarytable::folder, newFWLiteAna::fullName, TkDetMap::getLayerName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), phase1PixelTopology::layer, SiPixelPhase1Summary_cfi::MapName, Skims_PA_cff::name, dqm::implementation::NavigatorBase::setCurrentFolder(), SiStripFolderOrganizer::setSiStripFolderName(), contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by createTkHistoMap(), and loadTkHistoMap().
|
inline |
Definition at line 45 of file TkHistoMap.h.
References tkHistoMap_.
Referenced by BuildTrackerMapPlugin::subtractMap().
|
inline |
|
inline |
Definition at line 50 of file TkHistoMap.h.
References getLayerName(), getLayerNum(), and runGCPTkAlMap::title.
|
inline |
Definition at line 53 of file TkHistoMap.h.
References TkDetMap::getDetFromBin(), phase1PixelTopology::layer, and tkdetmap_.
|
inline |
Definition at line 54 of file TkHistoMap.h.
References getDetId().
Referenced by getDetId().
float TkHistoMap::getEntries | ( | DetId | detid | ) |
Definition at line 261 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::findLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, CalibrationSummaryClient_cfi::kind, phase1PixelTopology::layer, MonitorElementData::TH2F, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap().
|
inline |
Definition at line 55 of file TkHistoMap.h.
References MapName_, and runGCPTkAlMap::title.
Referenced by getDetId().
|
inline |
Definition at line 56 of file TkHistoMap.h.
References TkDetMap::getLayerNum(), phase1PixelTopology::layerName, and tkdetmap_.
Referenced by getDetId().
|
inline |
float TkHistoMap::getValue | ( | DetId | detid | ) |
Definition at line 251 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::findLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, CalibrationSummaryClient_cfi::kind, phase1PixelTopology::layer, MonitorElementData::TH2F, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap().
|
private |
Definition at line 48 of file TkHistoMap.cc.
References cached_detid, cached_layer, isTH2F_, loadServices(), and tkdetmap_.
Referenced by TkHistoMap().
void TkHistoMap::loadServices | ( | ) |
Definition at line 61 of file TkHistoMap.cc.
References dqmStore_, and Utilities::operator.
Referenced by load().
void TkHistoMap::loadTkHistoMap | ( | const std::string & | path, |
const std::string & | MapName, | ||
bool | mechanicalView = false |
||
) |
Definition at line 77 of file TkHistoMap.cc.
References dqmStore_, printsummarytable::folder, folderDefinition(), newFWLiteAna::fullName, HistoNumber, phase1PixelTopology::layer, LogTrace, SiPixelPhase1Summary_cfi::MapName, MapName_, dqm::implementation::DQMStore::meBookerGetter(), castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, and tkHistoMap_.
Referenced by BuildTrackerMapPlugin::read().
void TkHistoMap::save | ( | const std::string & | filename | ) |
Definition at line 72 of file TkHistoMap.cc.
References dqmStore_, corrVsCorr::filename, and dqm::implementation::DQMStore::save().
Referenced by SiStripDetVOffTkMapPlotter::analyze(), and TkVoltageMapCreator::beginRun().
void TkHistoMap::saveAsCanvas | ( | const std::string & | filename, |
const std::string & | options = "" , |
||
const std::string & | mode = "RECREATE" |
||
) |
Definition at line 288 of file TkHistoMap.cc.
References f, corrVsCorr::filename, mps_fire::i, MapName_, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, 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.
void TkHistoMap::setBinContent | ( | DetId | detid, |
float | value | ||
) |
Definition at line 205 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, CalibrationSummaryClient_cfi::kind, phase1PixelTopology::layer, LogTrace, DetId::rawId(), MonitorElementData::TH2F, tkdetmap_, tkHistoMap_, MonitorElementData::TPROFILE2D, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by add().
|
private |
Definition at line 92 of file TkHistoMap.h.
Referenced by add(), fill(), getEntries(), getValue(), load(), and setBinContent().
|
private |
Definition at line 93 of file TkHistoMap.h.
Referenced by add(), fill(), getEntries(), getValue(), load(), and setBinContent().
|
private |
Definition at line 94 of file TkHistoMap.h.
Referenced by add(), fill(), getEntries(), getValue(), and setBinContent().
|
private |
Definition at line 89 of file TkHistoMap.h.
Referenced by loadServices(), loadTkHistoMap(), save(), and TkHistoMap().
|
private |
Definition at line 96 of file TkHistoMap.h.
Referenced by createTkHistoMap(), dumpInTkMap(), and loadTkHistoMap().
|
private |
Definition at line 98 of file TkHistoMap.h.
Referenced by createTkHistoMap(), and load().
|
private |
Definition at line 97 of file TkHistoMap.h.
Referenced by getLayerName(), loadTkHistoMap(), saveAsCanvas(), and TkHistoMap().
|
private |
Definition at line 91 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), dumpInTkMap(), fill(), getDetId(), getEntries(), getLayerNum(), getValue(), load(), and setBinContent().
|
private |
Definition at line 95 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), fill(), getAllMaps(), getEntries(), getMap(), getValue(), loadTkHistoMap(), saveAsCanvas(), and setBinContent().