#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 (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) |
std::string | folderDefinition (std::string &path, std::string &MapName, int layer, bool mechanicalView, std::string &fullName) |
Private Attributes | |
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 | ( | std::string | path, |
std::string | MapName, | ||
float | baseline = 0 , |
||
bool | mechanicalView = false |
||
) |
Definition at line 13 of file TkHistoMap.cc.
References createTkHistoMap(), loadServices(), LogTrace, and MapName_.
TkHistoMap::TkHistoMap | ( | ) |
|
inline |
Definition at line 20 of file TkHistoMap.h.
void TkHistoMap::add | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 163 of file TkHistoMap.cc.
References TkDetMap::FindLayer(), getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, LogTrace, setBinContent(), tkdetmap_, and tkHistoMap_.
Referenced by APVShotsAnalyzer::analyze(), SiStripMonitorMuonHLT::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), and SiStripMonitorTrack::clusterInfos().
|
private |
Definition at line 64 of file TkHistoMap.cc.
References DQMStore::bookProfile2D(), dqmStore_, MonitorElement::Fill(), folderDefinition(), newFWLiteAna::fullName, TkDetMap::getComponents(), TkDetMap::getDetFromBin(), HistoNumber, LogTrace, tkdetmap_, and tkHistoMap_.
Referenced by TkHistoMap().
void TkHistoMap::dumpInTkMap | ( | TrackerMap * | tkmap, |
bool | dumpEntries = false |
||
) |
Definition at line 184 of file TkHistoMap.cc.
References TrackerMap::fill(), TkDetMap::getDetsForLayer(), getEntries(), getValue(), HistoNumber, i, and tkdetmap_.
Referenced by TkVoltageMapCreator::beginRun(), and APVShotsAnalyzer::endJob().
void TkHistoMap::fill | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 130 of file TkHistoMap.cc.
References TkDetMap::FindLayer(), TkDetMap::getXY(), 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(), SiStripDQMProfileToTkMapConverter::beginRun(), TkVoltageMapCreator::beginRun(), SiStripMonitorTrack::clusterInfos(), SiStripMonitorDigi::FillApvShotsMap(), fillFromAscii(), SiStripNoisesDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), SiStripLorentzAngleDQM::fillMEsForLayer(), and SiStripCablingDQM::getActiveDetIds().
void TkHistoMap::fillFromAscii | ( | std::string | filename | ) |
Definition at line 118 of file TkHistoMap.cc.
References cond::rpcobgas::detid, mergeVDriftHistosByStation::file, fill(), and relativeConstraints::value.
|
private |
Definition at line 95 of file TkHistoMap.cc.
References dqmStore_, TkDetMap::getLayerName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), mergeVDriftHistosByStation::name, scaleCards::path, DQMStore::setCurrentFolder(), and tkdetmap_.
Referenced by createTkHistoMap(), and loadTkHistoMap().
|
inline |
Definition at line 27 of file TkHistoMap.h.
References tkHistoMap_.
Referenced by BuildTrackerMapPlugin::subtractMap().
|
inline |
Definition at line 31 of file TkHistoMap.h.
References getDetId(), getLayerName(), and getLayerNum().
Referenced by getDetId().
|
inline |
|
inline |
Definition at line 33 of file TkHistoMap.h.
References getDetId(), and MonitorElement::getTitle().
Referenced by getDetId().
float TkHistoMap::getEntries | ( | uint32_t & | detid | ) |
Definition at line 178 of file TkHistoMap.cc.
References TkDetMap::FindLayer(), getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap().
|
inline |
|
inline |
Definition at line 35 of file TkHistoMap.h.
References TkDetMap::getLayerNum(), and tkdetmap_.
Referenced by getDetId().
|
inline |
Definition at line 26 of file TkHistoMap.h.
References align::tib::layerNumber(), and tkHistoMap_.
float TkHistoMap::getValue | ( | uint32_t & | detid | ) |
Definition at line 173 of file TkHistoMap.cc.
References TkDetMap::FindLayer(), getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, tkdetmap_, and tkHistoMap_.
Referenced by dumpInTkMap().
void TkHistoMap::loadServices | ( | ) |
Definition at line 22 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 45 of file TkHistoMap.cc.
References dqmStore_, folderDefinition(), newFWLiteAna::fullName, DQMStore::get(), HistoNumber, LogTrace, MapName_, and tkHistoMap_.
void TkHistoMap::save | ( | std::string | filename | ) |
Definition at line 41 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(), SiStripDQMProfileToTkMapConverter::endJob(), and APVShotsAnalyzer::endJob().
void TkHistoMap::saveAsCanvas | ( | std::string | filename, |
std::string | options = "" , |
||
std::string | mode = "RECREATE" |
||
) |
Definition at line 202 of file TkHistoMap.cc.
References f, i, MapName_, 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 SiStripDQMProfileToTkMapConverter::endJob().
void TkHistoMap::setBinContent | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 146 of file TkHistoMap.cc.
References TkDetMap::FindLayer(), getTProfile2D(), TkDetMap::getXY(), 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 51 of file TkHistoMap.h.
Referenced by createTkHistoMap(), folderDefinition(), loadServices(), loadTkHistoMap(), and save().
|
private |
Definition at line 54 of file TkHistoMap.h.
Referenced by createTkHistoMap(), dumpInTkMap(), and loadTkHistoMap().
|
private |
Definition at line 55 of file TkHistoMap.h.
Referenced by getLayerName(), loadTkHistoMap(), saveAsCanvas(), and TkHistoMap().
|
private |
Definition at line 52 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), dumpInTkMap(), fill(), folderDefinition(), getDetId(), getEntries(), getLayerNum(), getValue(), loadServices(), and setBinContent().
|
private |
Definition at line 53 of file TkHistoMap.h.
Referenced by add(), createTkHistoMap(), fill(), getAllMaps(), getEntries(), getMap(), getValue(), loadTkHistoMap(), saveAsCanvas(), and setBinContent().