#include <SiStripTrackerMapCreator.h>
Public Member Functions | |
void | create (const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &htype, const edm::EventSetup &eSetup) |
void | createForOffline (const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &htype, const edm::EventSetup &eSetup) |
bool | readConfiguration () |
SiStripTrackerMapCreator (const edm::EventSetup &eSetup) | |
~SiStripTrackerMapCreator () | |
Private Member Functions | |
uint16_t | getDetectorFlagAndComment (DQMStore *dqm_store, uint32_t det_id, const TrackerTopology *tTopo, std::ostringstream &comment) |
void | paintTkMapFromAlarm (uint32_t det_id, const TrackerTopology *tTopo, 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, const edm::EventSetup &eSetup) |
void | setTkMapFromAlarm (DQMStore *dqm_store, const edm::EventSetup &eSetup) |
void | setTkMapFromHistogram (DQMStore *dqm_store, std::string &htype) |
void | setTkMapRange (std::string &map_type) |
void | setTkMapRangeOffline () |
Private Attributes | |
uint32_t | cached_detid |
int16_t | cached_layer |
TkLayerMap::XYbin | cached_XYbin |
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 23 of file SiStripTrackerMapCreator.h.
SiStripTrackerMapCreator::SiStripTrackerMapCreator | ( | const edm::EventSetup & | eSetup | ) |
Definition at line 38 of file SiStripTrackerMapCreator.cc.
References cached_detid, cached_layer, detcabling_, eSetup_, edm::EventSetup::get(), cppFunctionSkipper::operator, stripTopLevelDir_, tkDetMap_, and trackerMap_.
SiStripTrackerMapCreator::~SiStripTrackerMapCreator | ( | ) |
Definition at line 59 of file SiStripTrackerMapCreator.cc.
References trackerMap_.
void SiStripTrackerMapCreator::create | ( | const edm::ParameterSet & | tkmapPset, |
DQMStore * | dqm_store, | ||
std::string & | htype, | ||
const edm::EventSetup & | eSetup | ||
) |
Definition at line 65 of file SiStripTrackerMapCreator.cc.
References detcabling_, TrackerMap::fill_all_blank(), meanToMaxFactor_, nDet, TrackerMap::printonline(), TrackerMap::setTitle(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), ssqLabel_, AlCaHLTBitMon_QueryRunRegistry::string, stripTopLevelDir_, tkMapMax_, tkMapMin_, trackerMap_, and useSSQuality_.
Referenced by SiStripActionExecutor::createTkMap().
void SiStripTrackerMapCreator::createForOffline | ( | const edm::ParameterSet & | tkmapPset, |
DQMStore * | dqm_store, | ||
std::string & | htype, | ||
const edm::EventSetup & | eSetup | ||
) |
Definition at line 118 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_, AlCaHLTBitMon_QueryRunRegistry::string, stripTopLevelDir_, tkMapMax_, tkMapMin_, trackerMap_, and useSSQuality_.
Referenced by SiStripActionExecutor::createOfflineTkMap().
|
private |
Definition at line 462 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(), AlCaHLTBitMon_QueryRunRegistry::string, and stripTopLevelDir_.
Referenced by paintTkMapFromAlarm().
|
private |
Definition at line 322 of file SiStripTrackerMapCreator.cc.
References comment, TrackerMap::fillc(), getDetectorFlagAndComment(), SiStripUtility::getDetectorStatusColor(), TrackerMap::setText(), and trackerMap_.
Referenced by setTkMapFromAlarm().
|
private |
Definition at line 387 of file SiStripTrackerMapCreator.cc.
References cached_detid, cached_layer, cached_XYbin, 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, AlCaHLTBitMon_QueryRunRegistry::string, tkDetMap_, tkMapMax_, and trackerMap_.
Referenced by setTkMapFromHistogram().
|
private |
Definition at line 234 of file SiStripTrackerMapCreator.cc.
References edm::EventSetup::get(), edm::ESHandle< class >::product(), SiStripDetId::subDetector(), SiStripDetId::TEC, TrackerTopology::tecSide(), SiStripDetId::TIB, SiStripDetId::TID, TrackerTopology::tidSide(), and SiStripDetId::TOB.
Referenced by setTkMapFromAlarm().
bool SiStripTrackerMapCreator::readConfiguration | ( | ) |
|
private |
Definition at line 194 of file SiStripTrackerMapCreator.cc.
References detcabling_, eSetup_, TrackerMap::fillc_all_blank(), edm::EventSetup::get(), python.multivaluedict::map(), python.rootplot.argparse::module, nDet, paintTkMapFromAlarm(), printBadModuleList(), edm::ESHandle< class >::product(), ssqLabel_, tkMapMax_, tkMapMin_, trackerMap_, and useSSQuality_.
Referenced by create(), and createForOffline().
|
private |
Definition at line 338 of file SiStripTrackerMapCreator.cc.
References DQMStore::cd(), DQMStore::dirExists(), RefreshWebPage::dname, DQMStore::getContents(), DQMStore::getSubdirs(), SiStripUtility::goToDir(), mergeVDriftHistosByStation::name, nDet, paintTkMapFromHistogram(), DQMStore::pwd(), AlCaHLTBitMon_QueryRunRegistry::string, tkMapMax_, and tkMapMin_.
Referenced by create(), and createForOffline().
|
private |
Definition at line 435 of file SiStripTrackerMapCreator.cc.
References meanToMaxFactor_, nDet, TrackerMap::setRange(), tkMapMax_, tkMapMin_, and trackerMap_.
Referenced by create().
|
private |
Definition at line 450 of file SiStripTrackerMapCreator.cc.
References meanToMaxFactor_, nDet, tkMapMax_, and tkMapMin_.
Referenced by createForOffline().
|
private |
Definition at line 64 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram(), and SiStripTrackerMapCreator().
|
private |
Definition at line 65 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram(), and SiStripTrackerMapCreator().
|
private |
Definition at line 66 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram().
|
private |
Definition at line 62 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), getDetectorFlagAndComment(), setTkMapFromAlarm(), and SiStripTrackerMapCreator().
|
private |
Definition at line 61 of file SiStripTrackerMapCreator.h.
Referenced by setTkMapFromAlarm(), and SiStripTrackerMapCreator().
|
private |
Definition at line 56 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 59 of file SiStripTrackerMapCreator.h.
Referenced by create(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 58 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), and setTkMapFromAlarm().
|
private |
Definition at line 52 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), getDetectorFlagAndComment(), and SiStripTrackerMapCreator().
|
private |
Definition at line 60 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram(), and SiStripTrackerMapCreator().
|
private |
Definition at line 54 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 55 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 51 of file SiStripTrackerMapCreator.h.
|
private |
Definition at line 50 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), paintTkMapFromAlarm(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapRange(), SiStripTrackerMapCreator(), and ~SiStripTrackerMapCreator().
|
private |
Definition at line 57 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), and setTkMapFromAlarm().