#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) |
void | createInfoFile (std::vector< std::string > map_names, TTree *tkinfo_tree, DQMStore *dqm_store, std::vector< uint32_t > detidList) |
bool | readConfiguration () |
SiStripTrackerMapCreator (const edm::EventSetup &eSetup) | |
~SiStripTrackerMapCreator () | |
Private Member Functions | |
uint16_t | getDetectorFlag (uint32_t det_id) |
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, std::vector< std::pair< float, uint32_t > > *topNmodVec) |
void | printBadModuleList (std::map< unsigned int, std::string > *badmodmap, const edm::EventSetup &eSetup) |
void | printTopModules (std::vector< std::pair< float, uint32_t > > *topNmodVec, const edm::EventSetup &eSetup) |
void | setTkMapFromAlarm (DQMStore *dqm_store, const edm::EventSetup &eSetup) |
void | setTkMapFromHistogram (DQMStore *dqm_store, std::string &htype, const edm::EventSetup &eSetup) |
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_ |
std::map< uint32_t, uint16_t > | detflag_ |
const edm::EventSetup & | eSetup_ |
float | meanToMaxFactor_ |
int | nDet |
uint32_t | numTopModules |
std::string | sRunNumber |
std::string | ssqLabel_ |
std::string | stripTopLevelDir_ |
TkDetMap * | tkDetMap_ |
float | tkMapMax_ |
float | tkMapMin_ |
std::string | tkMapName_ |
std::string | topModLabel |
bool | topModules |
TrackerMap * | trackerMap_ |
bool | useSSQuality_ |
Definition at line 24 of file SiStripTrackerMapCreator.h.
SiStripTrackerMapCreator::SiStripTrackerMapCreator | ( | const edm::EventSetup & | eSetup | ) |
Definition at line 39 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 60 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 66 of file SiStripTrackerMapCreator.cc.
References detcabling_, TrackerMap::fill_all_blank(), edm::EventSetup::get(), meanToMaxFactor_, nDet, TrackerMap::printonline(), edm::ESHandle< class >::product(), 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 123 of file SiStripTrackerMapCreator.cc.
References DQMStore::cd(), gather_cfg::cout, detcabling_, edm::ParameterSet::exists(), edm::EventSetup::get(), edm::ParameterSet::getUntrackedParameter(), SiStripUtility::goToDir(), meanToMaxFactor_, numTopModules, edm::ESHandle< class >::product(), DQMStore::pwd(), sistrip::runNumber_, TrackerMap::save(), TrackerMap::save_as_fedtrackermap(), TrackerMap::save_as_psutrackermap(), TrackerMap::setTitle(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRangeOffline(), sRunNumber, contentValuesCheck::ss, ssqLabel_, AlCaHLTBitMon_QueryRunRegistry::string, stripTopLevelDir_, tkMapMax_, tkMapMin_, topModLabel, topModules, trackerMap_, and useSSQuality_.
Referenced by SiStripActionExecutor::createOfflineTkMap().
void SiStripTrackerMapCreator::createInfoFile | ( | std::vector< std::string > | map_names, |
TTree * | tkinfo_tree, | ||
DQMStore * | dqm_store, | ||
std::vector< uint32_t > | detidList | ||
) |
Definition at line 624 of file SiStripTrackerMapCreator.cc.
References DQMStore::cd(), comment, HILowLumiHLTOfflineSource_cfi::dirname, getDetectorFlag(), SiStripUtility::goToDir(), recoMuon::in, DQMStore::pwd(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripActionExecutor::createTkInfoFile().
|
inlineprivate |
Definition at line 50 of file SiStripTrackerMapCreator.h.
References detflag_.
Referenced by createInfoFile().
|
private |
Definition at line 554 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(), and printTopModules().
|
private |
Definition at line 355 of file SiStripTrackerMapCreator.cc.
References comment, detflag_, TrackerMap::fillc(), getDetectorFlagAndComment(), SiStripUtility::getDetectorStatusColor(), TrackerTopology::layer(), TrackerMap::setText(), AlCaHLTBitMon_QueryRunRegistry::string, and trackerMap_.
Referenced by setTkMapFromAlarm().
|
private |
Definition at line 475 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 266 of file SiStripTrackerMapCreator.cc.
References edm::EventSetup::get(), edm::ESHandle< class >::product(), sRunNumber, SiStripDetId::subDetector(), SiStripDetId::TEC, TrackerTopology::tecSide(), SiStripDetId::TIB, SiStripDetId::TID, TrackerTopology::tidSide(), and SiStripDetId::TOB.
Referenced by setTkMapFromAlarm().
|
private |
Definition at line 434 of file SiStripTrackerMapCreator.cc.
References comment, edm::EventSetup::get(), getDetectorFlagAndComment(), numTopModules, edm::ESHandle< class >::product(), AlCaHLTBitMon_QueryRunRegistry::string, SiStripDetId::subDetector(), subdetector, SiStripDetId::TEC, TrackerTopology::tecSide(), SiStripDetId::TIB, SiStripDetId::TID, TrackerTopology::tidSide(), SiStripDetId::TOB, and topModLabel.
Referenced by setTkMapFromHistogram().
bool SiStripTrackerMapCreator::readConfiguration | ( | ) |
|
private |
Definition at line 226 of file SiStripTrackerMapCreator.cc.
References detcabling_, eSetup_, TrackerMap::fillc_all_blank(), edm::EventSetup::get(), 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 378 of file SiStripTrackerMapCreator.cc.
References DQMStore::cd(), DQMStore::dirExists(), RefreshWebPage::dname, DQMStore::getContents(), DQMStore::getSubdirs(), SiStripUtility::goToDir(), mergeVDriftHistosByStation::name, nDet, paintTkMapFromHistogram(), printTopModules(), DQMStore::pwd(), AlCaHLTBitMon_QueryRunRegistry::string, tkMapMax_, tkMapMin_, and topModules.
Referenced by create(), and createForOffline().
|
private |
Definition at line 527 of file SiStripTrackerMapCreator.cc.
References meanToMaxFactor_, nDet, TrackerMap::setRange(), tkMapMax_, tkMapMin_, and trackerMap_.
Referenced by create().
|
private |
Definition at line 542 of file SiStripTrackerMapCreator.cc.
References meanToMaxFactor_, nDet, tkMapMax_, and tkMapMin_.
Referenced by createForOffline().
|
private |
Definition at line 70 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram(), and SiStripTrackerMapCreator().
|
private |
Definition at line 71 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram(), and SiStripTrackerMapCreator().
|
private |
Definition at line 73 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram().
|
private |
Definition at line 68 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), getDetectorFlagAndComment(), setTkMapFromAlarm(), and SiStripTrackerMapCreator().
|
private |
Definition at line 72 of file SiStripTrackerMapCreator.h.
Referenced by getDetectorFlag(), and paintTkMapFromAlarm().
|
private |
Definition at line 67 of file SiStripTrackerMapCreator.h.
Referenced by setTkMapFromAlarm(), and SiStripTrackerMapCreator().
|
private |
Definition at line 62 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 65 of file SiStripTrackerMapCreator.h.
Referenced by create(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 75 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and printTopModules().
|
private |
Definition at line 56 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and printBadModuleList().
|
private |
Definition at line 64 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), and setTkMapFromAlarm().
|
private |
Definition at line 58 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), getDetectorFlagAndComment(), and SiStripTrackerMapCreator().
|
private |
Definition at line 66 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram(), and SiStripTrackerMapCreator().
|
private |
Definition at line 60 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 61 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 57 of file SiStripTrackerMapCreator.h.
|
private |
Definition at line 76 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and printTopModules().
|
private |
Definition at line 74 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and setTkMapFromHistogram().
|
private |
Definition at line 55 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), paintTkMapFromAlarm(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapRange(), SiStripTrackerMapCreator(), and ~SiStripTrackerMapCreator().
|
private |
Definition at line 63 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), and setTkMapFromAlarm().