#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) |
std::vector< MonitorElement * > & | getAllMaps () |
const std::vector< MonitorElement * > & | getAllMaps () const |
DetId | getDetId (const MonitorElement *ME, int ix, int iy) |
DetId | getDetId (const std::string &title, int ix, int iy) |
DetId | getDetId (int layer, 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) | |
TkHistoMap (const TkDetMap *tkDetMap, const std::string &path, const std::string &MapName, float baseline, bool mechanicalView, bool isTH2F) | |
TkHistoMap (const TkDetMap *tkDetMap, const std::string &path, const std::string &MapName, float baseline=0, bool mechanicalView=false) | |
TkHistoMap (const TkDetMap *tkDetMap, DQMStore::IBooker &ibooker, const std::string &path, const std::string &MapName, float baseline=0, bool mechanicalView=false) | |
~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 |
||
) |
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.
|
inline |
Definition at line 37 of file TkHistoMap.h.
void TkHistoMap::add | ( | DetId | detid, |
float | value | ||
) |
Definition at line 232 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::findLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, CalibrationSummaryClient_cfi::kind, LogTrace, setBinContent(), MonitorElementData::TH2F, tkdetmap_, tkHistoMap_, and MonitorElementData::TPROFILE2D.
Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
|
private |
Definition at line 100 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_, 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 270 of file TkHistoMap.cc.
References TrackerMap::fill(), TkDetMap::getDetsForLayer(), getEntries(), getValue(), HistoNumber, mps_fire::i, and tkdetmap_.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), and TkVoltageMapCreator::beginRun().
void TkHistoMap::fill | ( | DetId | detid, |
float | value | ||
) |
Definition at line 176 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, 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 164 of file TkHistoMap.cc.
References FrontierConditions_GlobalTag_cff::file, corrVsCorr::filename, fill(), and relativeConstraints::value.
|
private |
Definition at line 138 of file TkHistoMap.cc.
References printsummarytable::folder, newFWLiteAna::fullName, TkDetMap::getLayerName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), 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 |
|
inline |
Definition at line 44 of file TkHistoMap.h.
References tkHistoMap_.
Referenced by BuildTrackerMapPlugin::subtractMap().
|
inline |
|
inline |
Definition at line 49 of file TkHistoMap.h.
References getLayerName(), getLayerNum(), and runGCPTkAlMap::title.
|
inline |
float TkHistoMap::getEntries | ( | DetId | detid | ) |
Definition at line 260 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::findLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, CalibrationSummaryClient_cfi::kind, MonitorElementData::TH2F, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap().
|
inline |
Definition at line 54 of file TkHistoMap.h.
References MapName_, and runGCPTkAlMap::title.
Referenced by getDetId().
|
inline |
Definition at line 55 of file TkHistoMap.h.
References TkDetMap::getLayerNum(), and tkdetmap_.
Referenced by getDetId().
|
inline |
float TkHistoMap::getValue | ( | DetId | detid | ) |
Definition at line 250 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::findLayer(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, CalibrationSummaryClient_cfi::kind, MonitorElementData::TH2F, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap().
|
private |
Definition at line 47 of file TkHistoMap.cc.
References cached_detid, cached_layer, isTH2F_, loadServices(), and tkdetmap_.
Referenced by TkHistoMap().
void TkHistoMap::loadServices | ( | ) |
void TkHistoMap::loadTkHistoMap | ( | const std::string & | path, |
const std::string & | MapName, | ||
bool | mechanicalView = false |
||
) |
Definition at line 76 of file TkHistoMap.cc.
References dqmStore_, printsummarytable::folder, folderDefinition(), newFWLiteAna::fullName, HistoNumber, 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 71 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 287 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 204 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, LogTrace, DetId::rawId(), MonitorElementData::TH2F, tkdetmap_, tkHistoMap_, MonitorElementData::TPROFILE2D, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by add().
|
private |
Definition at line 91 of file TkHistoMap.h.
Referenced by add(), fill(), getEntries(), getValue(), load(), and setBinContent().
|
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(), and setBinContent().
|
private |
Definition at line 88 of file TkHistoMap.h.
Referenced by loadServices(), loadTkHistoMap(), save(), and TkHistoMap().
|
private |
Definition at line 95 of file TkHistoMap.h.
Referenced by createTkHistoMap(), dumpInTkMap(), and loadTkHistoMap().
|
private |
Definition at line 97 of file TkHistoMap.h.
Referenced by createTkHistoMap(), and load().
|
private |
Definition at line 96 of file TkHistoMap.h.
Referenced by getLayerName(), loadTkHistoMap(), saveAsCanvas(), and TkHistoMap().
|
private |
Definition at line 90 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), dumpInTkMap(), fill(), getDetId(), getEntries(), getLayerNum(), getValue(), load(), and setBinContent().
|
private |
Definition at line 94 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), fill(), getAllMaps(), getEntries(), getMap(), getValue(), loadTkHistoMap(), saveAsCanvas(), and setBinContent().