#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.
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(), getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, LogTrace, setBinContent(), tkdetmap_, and tkHistoMap_.
Referenced by DetIdSelectorTest::analyze(), APVShotsAnalyzer::analyze(), SiStripMonitorTrack::clusterInfos(), counter.Counter::register(), SiStripMonitorTrack::trackStudyFromTrack(), and SiStripMonitorTrack::trajectoryStudy().
|
private |
Definition at line 80 of file TkHistoMap.cc.
References DQMStore::bookProfile2D(), dqmStore_, MonitorElement::Fill(), folderDefinition(), newFWLiteAna::fullName, TkDetMap::getComponents(), TkDetMap::getDetFromBin(), HistoNumber, LogTrace, AlCaHLTBitMon_QueryRunRegistry::string, tkdetmap_, and tkHistoMap_.
Referenced by TkHistoMap().
|
private |
Definition at line 111 of file TkHistoMap.cc.
References DQMStore::IBooker::bookProfile2D(), MonitorElement::Fill(), folderDefinition(), newFWLiteAna::fullName, TkDetMap::getComponents(), TkDetMap::getDetFromBin(), HistoNumber, 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, i, and tkdetmap_.
Referenced by TkVoltageMapCreator::beginRun().
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 SiStripQualityStatistics::analyze(), SiStripMonitorDigi::analyze(), SiStripMonitorCluster::analyze(), APVShotsAnalyzer::analyze(), TkVoltageMapCreator::beginRun(), SiStripMonitorTrack::clusterInfos(), SiStripMonitorDigi::FillApvShotsMap(), fillFromAscii(), SiStripNoisesDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), SiStripBackPlaneCorrectionDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripLorentzAngleDQM::fillMEsForLayer(), and SiStripCablingDQM::getActiveDetIds().
void TkHistoMap::fillFromAscii | ( | std::string | filename | ) |
Definition at line 168 of file TkHistoMap.cc.
References mergeVDriftHistosByStation::file, fill(), and relativeConstraints::value.
|
private |
Definition at line 142 of file TkHistoMap.cc.
References dqmStore_, TkDetMap::getLayerName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), mergeVDriftHistosByStation::name, fed_dqm_sourceclient-live_cfg::path, DQMStore::setCurrentFolder(), SiStripFolderOrganizer::setSiStripFolderName(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and tkdetmap_.
Referenced by createTkHistoMap(), and loadTkHistoMap().
|
inline |
Definition at line 28 of file TkHistoMap.h.
References 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(), getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap().
|
inline |
|
inline |
Definition at line 36 of file TkHistoMap.h.
References TkDetMap::getLayerNum(), and tkdetmap_.
Referenced by getDetId().
|
inline |
Definition at line 27 of file TkHistoMap.h.
References align::tib::layerNumber(), and tkHistoMap_.
float TkHistoMap::getValue | ( | uint32_t & | detid | ) |
Definition at line 223 of file TkHistoMap.cc.
References cached_detid, cached_layer, cached_XYbin, TkDetMap::FindLayer(), getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap().
void TkHistoMap::loadServices | ( | ) |
Definition at line 38 of file TkHistoMap.cc.
References dqmStore_, cppFunctionSkipper::operator, and tkdetmap_.
Referenced by TkHistoMap().
void TkHistoMap::loadTkHistoMap | ( | std::string | path, |
std::string | MapName, | ||
bool | mechanicalView = false |
||
) |
Definition at line 61 of file TkHistoMap.cc.
References dqmStore_, folderDefinition(), newFWLiteAna::fullName, DQMStore::get(), HistoNumber, LogTrace, MapName_, AlCaHLTBitMon_QueryRunRegistry::string, and 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(), TkVoltageMapCreator::beginRun(), Vispa.Main.TabController.TabController::checkModificationTimestamp(), SiStripQualityStatistics::endJob(), and DetIdSelectorTest::endJob().
void TkHistoMap::saveAsCanvas | ( | std::string | filename, |
std::string | options = "" , |
||
std::string | mode = "RECREATE" |
||
) |
Definition at line 252 of file TkHistoMap.cc.
References f, 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().
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(), getTProfile2D(), 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(), and SiStripQualityDQM::fillMEsForLayer().
|
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().