#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.
TkHistoMap::TkHistoMap | ( | std::string | path, |
std::string | MapName, | ||
float | baseline = 0 , |
||
bool | mechanicalView = false |
||
) |
Definition at line 16 of file TkHistoMap.cc.
TkHistoMap::TkHistoMap | ( | ) |
Definition at line 6 of file TkHistoMap.cc.
|
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.
Referenced by counter.Counter::register().
|
private |
Definition at line 80 of file TkHistoMap.cc.
|
private |
Definition at line 111 of file TkHistoMap.cc.
void TkHistoMap::dumpInTkMap | ( | TrackerMap * | tkmap, |
bool | dumpEntries = false |
||
) |
Definition at line 234 of file TkHistoMap.cc.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), and TkVoltageMapCreator::beginRun().
void TkHistoMap::fill | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 180 of file TkHistoMap.cc.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), TkVoltageMapCreator::beginRun(), and SiStripCablingDQM::getActiveDetIds().
void TkHistoMap::fillFromAscii | ( | std::string | filename | ) |
Definition at line 168 of file TkHistoMap.cc.
|
private |
Definition at line 142 of file TkHistoMap.cc.
|
inline |
|
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.
|
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.
void TkHistoMap::loadServices | ( | ) |
Definition at line 38 of file TkHistoMap.cc.
void TkHistoMap::loadTkHistoMap | ( | std::string | path, |
std::string | MapName, | ||
bool | mechanicalView = false |
||
) |
Definition at line 61 of file TkHistoMap.cc.
void TkHistoMap::save | ( | std::string | filename | ) |
Definition at line 57 of file TkHistoMap.cc.
Referenced by SiStripDetVOffTkMapPlotter::analyze(), and TkVoltageMapCreator::beginRun().
void TkHistoMap::saveAsCanvas | ( | std::string | filename, |
std::string | options = "" , |
||
std::string | mode = "RECREATE" |
||
) |
Definition at line 252 of file TkHistoMap.cc.
void TkHistoMap::setBinContent | ( | uint32_t & | detid, |
float | value | ||
) |
Definition at line 196 of file TkHistoMap.cc.
|
private |
Definition at line 57 of file TkHistoMap.h.
|
private |
Definition at line 58 of file TkHistoMap.h.
|
private |
Definition at line 59 of file TkHistoMap.h.
|
private |
Definition at line 55 of file TkHistoMap.h.
|
private |
Definition at line 61 of file TkHistoMap.h.
|
private |
Definition at line 62 of file TkHistoMap.h.
Referenced by getLayerName().
|
private |
Definition at line 56 of file TkHistoMap.h.
Referenced by getDetId(), and getLayerNum().
|
private |
Definition at line 60 of file TkHistoMap.h.
Referenced by getAllMaps(), and getMap().