#include <SiStripTrackerMapCreator.h>
Public Member Functions | |
void | create (const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &htype) |
void | createForOffline (const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &htype) |
bool | readConfiguration () |
SiStripTrackerMapCreator (const edm::EventSetup &eSetup) | |
~SiStripTrackerMapCreator () | |
Private Member Functions | |
uint16_t | getDetectorFlagAndComment (DQMStore *dqm_store, uint32_t det_id, std::ostringstream &comment) |
void | paintTkMapFromAlarm (uint32_t det_id, DQMStore *dqm_store, bool isBad=false, std::map< unsigned int, std::string > *badmodmap=0) |
void | paintTkMapFromHistogram (DQMStore *dqm_store, MonitorElement *me, std::string &map_type) |
void | printBadModuleList (std::map< unsigned int, std::string > *badmodmap) |
void | setTkMapFromAlarm (DQMStore *dqm_store) |
void | setTkMapFromHistogram (DQMStore *dqm_store, std::string &htype) |
void | setTkMapRange (std::string &map_type) |
void | setTkMapRangeOffline () |
Private Attributes | |
edm::ESHandle< SiStripDetCabling > | detcabling_ |
const edm::EventSetup & | eSetup_ |
float | meanToMaxFactor_ |
int | nDet |
std::string | ssqLabel_ |
std::string | stripTopLevelDir_ |
TkDetMap * | tkDetMap_ |
float | tkMapMax_ |
float | tkMapMin_ |
std::string | tkMapName_ |
TrackerMap * | trackerMap_ |
bool | useSSQuality_ |
Definition at line 20 of file SiStripTrackerMapCreator.h.
SiStripTrackerMapCreator::SiStripTrackerMapCreator | ( | const edm::EventSetup & | eSetup | ) |
Definition at line 38 of file SiStripTrackerMapCreator.cc.
References detcabling_, eSetup_, edm::EventSetup::get(), cppFunctionSkipper::operator, stripTopLevelDir_, tkDetMap_, and trackerMap_.
SiStripTrackerMapCreator::~SiStripTrackerMapCreator | ( | ) |
Definition at line 54 of file SiStripTrackerMapCreator.cc.
References trackerMap_.
void SiStripTrackerMapCreator::create | ( | const edm::ParameterSet & | tkmapPset, |
DQMStore * | dqm_store, | ||
std::string & | htype | ||
) |
Definition at line 60 of file SiStripTrackerMapCreator.cc.
References detcabling_, TrackerMap::fill_all_blank(), meanToMaxFactor_, nDet, TrackerMap::printonline(), TrackerMap::setTitle(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), ssqLabel_, stripTopLevelDir_, tkMapMax_, tkMapMin_, trackerMap_, and useSSQuality_.
Referenced by SiStripActionExecutor::createTkMap().
void SiStripTrackerMapCreator::createForOffline | ( | const edm::ParameterSet & | tkmapPset, |
DQMStore * | dqm_store, | ||
std::string & | htype | ||
) |
Definition at line 112 of file SiStripTrackerMapCreator.cc.
References DQMStore::cd(), detcabling_, edm::ParameterSet::exists(), edm::ParameterSet::getUntrackedParameter(), SiStripUtility::goToDir(), meanToMaxFactor_, DQMStore::pwd(), TrackerMap::save(), TrackerMap::save_as_fedtrackermap(), TrackerMap::save_as_psutrackermap(), TrackerMap::setTitle(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRangeOffline(), ssqLabel_, stripTopLevelDir_, tkMapMax_, tkMapMin_, trackerMap_, and useSSQuality_.
Referenced by SiStripActionExecutor::createOfflineTkMap().
|
private |
Definition at line 445 of file SiStripTrackerMapCreator.cc.
References DQMStore::cd(), detcabling_, DQMStore::dirExists(), MonitorElement::DQM_KIND_INT, DQMStore::get(), SiStripUtility::getBadModuleStatus(), MonitorElement::getIntValue(), SiStripFolderOrganizer::getSubDetFolder(), i, MonitorElement::kind(), LogDebug, python.rootplot.argparse::message, SiStripFolderOrganizer::setSiStripFolderName(), and stripTopLevelDir_.
Referenced by paintTkMapFromAlarm().
|
private |
Definition at line 305 of file SiStripTrackerMapCreator.cc.
References comment, TrackerMap::fillc(), getDetectorFlagAndComment(), SiStripUtility::getDetectorStatusColor(), TrackerMap::setText(), and trackerMap_.
Referenced by setTkMapFromAlarm().
|
private |
Definition at line 370 of file SiStripTrackerMapCreator.cc.
References MonitorElement::DQM_KIND_TPROFILE2D, TrackerMap::fill_current_val(), TrackerMap::fillc(), MonitorElement::getBinContent(), TkDetMap::getDetsForLayer(), TkDetMap::getLayerNum(), MonitorElement::getName(), MonitorElement::getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, MonitorElement::kind(), mergeVDriftHistosByStation::name, nDet, tkDetMap_, tkMapMax_, and trackerMap_.
Referenced by setTkMapFromHistogram().
|
private |
Definition at line 222 of file SiStripTrackerMapCreator.cc.
References TIDDetId::side(), TECDetId::side(), SiStripDetId::subDetector(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, and SiStripDetId::TOB.
Referenced by setTkMapFromAlarm().
bool SiStripTrackerMapCreator::readConfiguration | ( | ) |
|
private |
Definition at line 187 of file SiStripTrackerMapCreator.cc.
References detcabling_, eSetup_, TrackerMap::fillc_all_blank(), edm::EventSetup::get(), Association::map, python.rootplot.argparse::module, nDet, paintTkMapFromAlarm(), printBadModuleList(), ssqLabel_, tkMapMax_, tkMapMin_, trackerMap_, and useSSQuality_.
Referenced by create(), and createForOffline().
|
private |
Definition at line 321 of file SiStripTrackerMapCreator.cc.
References DQMStore::cd(), DQMStore::dirExists(), RefreshWebPage::dname, DQMStore::getContents(), DQMStore::getSubdirs(), SiStripUtility::goToDir(), mergeVDriftHistosByStation::name, nDet, paintTkMapFromHistogram(), DQMStore::pwd(), tkMapMax_, and tkMapMin_.
Referenced by create(), and createForOffline().
|
private |
Definition at line 418 of file SiStripTrackerMapCreator.cc.
References meanToMaxFactor_, nDet, TrackerMap::setRange(), tkMapMax_, tkMapMin_, and trackerMap_.
Referenced by create().
|
private |
Definition at line 433 of file SiStripTrackerMapCreator.cc.
References meanToMaxFactor_, nDet, tkMapMax_, and tkMapMin_.
Referenced by createForOffline().
|
private |
Definition at line 58 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), getDetectorFlagAndComment(), setTkMapFromAlarm(), and SiStripTrackerMapCreator().
|
private |
Definition at line 57 of file SiStripTrackerMapCreator.h.
Referenced by setTkMapFromAlarm(), and SiStripTrackerMapCreator().
|
private |
Definition at line 52 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 55 of file SiStripTrackerMapCreator.h.
Referenced by create(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 54 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), and setTkMapFromAlarm().
|
private |
Definition at line 48 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), getDetectorFlagAndComment(), and SiStripTrackerMapCreator().
|
private |
Definition at line 56 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram(), and SiStripTrackerMapCreator().
|
private |
Definition at line 50 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 51 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 47 of file SiStripTrackerMapCreator.h.
|
private |
Definition at line 46 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), paintTkMapFromAlarm(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapRange(), SiStripTrackerMapCreator(), and ~SiStripTrackerMapCreator().
|
private |
Definition at line 53 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), and setTkMapFromAlarm().