#include <SiStripTrackerMapCreator.h>
Public Types | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Member Functions | |
void | create (edm::ParameterSet const &tkmapPset, DQMStore &dqm_store, std::string const &htype) |
void | createForOffline (edm::ParameterSet const &tkmapPset, DQMStore &dqm_store, std::string &htype, const SiStripQuality *) |
void | createInfoFile (std::vector< std::string > const &map_names, TTree *tkinfo_tree, DQMStore &dqm_store, const GeometricDet *geomDet) |
bool | readConfiguration () |
SiStripTrackerMapCreator (const SiStripDetCabling *detCabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo) | |
Private Member Functions | |
uint16_t | getDetectorFlag (uint32_t const det_id) |
uint16_t | getDetectorFlagAndComment (DQMStore *dqm_store, uint32_t det_id, std::ostringstream &comment) |
void | paintTkMapFromAlarm (uint32_t det_id, DQMStore &dqm_store, bool isBad, std::map< unsigned int, std::string > &badmodmap) |
void | paintTkMapFromHistogram (MonitorElement const *me, std::string const &map_type, std::vector< std::pair< float, uint32_t >> *topNmodVec) |
void | printBadModuleList (std::map< unsigned int, std::string > const &badmodmap) |
void | printTopModules (std::vector< std::pair< float, uint32_t >> &topNmodVec) |
void | setTkMapFromAlarm (DQMStore &dqm_store, const SiStripQuality *stripQuality) |
void | setTkMapFromHistogram (DQMStore &dqm_store, std::string const &htype) |
void | setTkMapRange (std::string const &map_type) |
void | setTkMapRangeOffline () |
Private Attributes | |
DetId | cachedDetId_ {} |
int16_t | cachedLayer_ {} |
TkLayerMap::XYbin | cachedXYbin_ |
const SiStripDetCabling * | detCabling_ |
std::map< uint32_t, uint16_t > | detFlag_ |
float | meanToMaxFactor_ {2.5} |
int | nDet_ |
uint32_t | numTopModules_ |
bool | ResidualsRMS_ |
std::string | sRunNumber |
std::string | stripTopLevelDir_ {} |
TkDetMap const * | tkDetMap_ |
float | tkMapMax_ |
float | tkMapMin_ |
std::string | tkMapName_ |
std::string | topModLabel_ |
bool | topModules_ |
std::unique_ptr< TrackerMap > | trackerMap_ {nullptr} |
const TrackerTopology * | tTopo_ |
Definition at line 23 of file SiStripTrackerMapCreator.h.
Definition at line 26 of file SiStripTrackerMapCreator.h.
Definition at line 25 of file SiStripTrackerMapCreator.h.
SiStripTrackerMapCreator::SiStripTrackerMapCreator | ( | const SiStripDetCabling * | detCabling, |
const TkDetMap * | tkDetMap, | ||
const TrackerTopology * | tTopo | ||
) |
Definition at line 22 of file SiStripTrackerMapCreator.cc.
void SiStripTrackerMapCreator::create | ( | edm::ParameterSet const & | tkmapPset, |
DQMStore & | dqm_store, | ||
std::string const & | htype | ||
) |
Definition at line 30 of file SiStripTrackerMapCreator.cc.
References detCabling_, SiStripDetCabling::fedCabling(), meanToMaxFactor_, nDet_, setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), AlCaHLTBitMon_QueryRunRegistry::string, stripTopLevelDir_, tkMapMax_, tkMapMin_, trackerMap_, and tTopo_.
void SiStripTrackerMapCreator::createForOffline | ( | edm::ParameterSet const & | tkmapPset, |
DQMStore & | dqm_store, | ||
std::string & | htype, | ||
const SiStripQuality * | stripQuality | ||
) |
Definition at line 59 of file SiStripTrackerMapCreator.cc.
References dqm::implementation::DQMStore::cd(), gather_cfg::cout, detCabling_, SiStripDetCabling::fedCabling(), SiStripUtility::goToDir(), meanToMaxFactor_, numTopModules_, dqm::implementation::DQMStore::pwd(), ResidualsRMS_, sistrip::runNumber_, setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRangeOffline(), sRunNumber, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, stripTopLevelDir_, tkMapMax_, tkMapMin_, topModLabel_, topModules_, trackerMap_, and tTopo_.
void SiStripTrackerMapCreator::createInfoFile | ( | std::vector< std::string > const & | map_names, |
TTree * | tkinfo_tree, | ||
DQMStore & | dqm_store, | ||
const GeometricDet * | geomDet | ||
) |
Definition at line 409 of file SiStripTrackerMapCreator.cc.
References dqm::implementation::DQMStore::cd(), HILowLumiHLTOfflineSource_cfi::dirname, getDetectorFlag(), TrackerGeometryUtils::getSiStripDetIds(), SiStripUtility::goToDir(), gpuClustering::id, dqm::implementation::DQMStore::pwd(), AlCaHLTBitMon_QueryRunRegistry::string, and tkDetMap_.
|
inlineprivate |
Definition at line 55 of file SiStripTrackerMapCreator.h.
References detFlag_.
Referenced by createInfoFile().
|
private |
Definition at line 342 of file SiStripTrackerMapCreator.cc.
References dqm::implementation::DQMStore::cd(), getInfo::conn, detCabling_, dqm::implementation::IGetter::dirExists(), folder_organizer, dqm::implementation::IGetter::get(), SiStripUtility::getBadModuleStatus(), SiStripDetCabling::getConnections(), SiStripFolderOrganizer::getSubDetFolder(), MonitorElementData::INT, LogDebug, SiStripFolderOrganizer::setSiStripFolderName(), AlCaHLTBitMon_QueryRunRegistry::string, stripTopLevelDir_, and tTopo_.
Referenced by paintTkMapFromAlarm(), and printTopModules().
|
private |
Definition at line 211 of file SiStripTrackerMapCreator.cc.
References detFlag_, getDetectorFlagAndComment(), SiStripUtility::getDetectorStatusColor(), phase1PixelTopology::layer, TrackerTopology::layer(), AlCaHLTBitMon_QueryRunRegistry::string, cond::impl::to_string(), trackerMap_, tTopo_, and parallelization::uint().
Referenced by setTkMapFromAlarm().
|
private |
Definition at line 298 of file SiStripTrackerMapCreator.cc.
References funct::abs(), cachedDetId_, cachedLayer_, cachedXYbin_, dqm::impl::MonitorElement::getBinContent(), TkDetMap::getDetsForLayer(), TkDetMap::getLayerNum(), dqm::impl::MonitorElement::getName(), dqm::legacy::MonitorElement::getTProfile2D(), TkDetMap::getXY(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, dqm::impl::MonitorElement::kind(), mergeVDriftHistosByStation::name, nDet_, ResidualsRMS_, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, tkDetMap_, tkMapMax_, cmsswSequenceInfo::tp, MonitorElementData::TPROFILE2D, and trackerMap_.
Referenced by setTkMapFromHistogram().
|
private |
Definition at line 478 of file SiStripTrackerMapCreator.cc.
References sRunNumber, SiStripDetId::subDetector(), SiStripDetId::TEC, TrackerTopology::tecSide(), SiStripDetId::TIB, SiStripDetId::TID, TrackerTopology::tidSide(), SiStripDetId::TOB, and tTopo_.
Referenced by setTkMapFromAlarm().
|
private |
Definition at line 561 of file SiStripTrackerMapCreator.cc.
References getDetectorFlagAndComment(), numTopModules_, AlCaHLTBitMon_QueryRunRegistry::string, SiStripDetId::subDetector(), subdetector, SiStripDetId::TEC, TrackerTopology::tecSide(), SiStripDetId::TIB, SiStripDetId::TID, TrackerTopology::tidSide(), SiStripDetId::TOB, topModLabel_, and tTopo_.
Referenced by setTkMapFromHistogram().
bool SiStripTrackerMapCreator::readConfiguration | ( | ) |
|
private |
Definition at line 180 of file SiStripTrackerMapCreator.cc.
References detCabling_, SiStripDetCabling::getDetCabling(), SiStripQuality::IsModuleBad(), callgraph::module, nDet_, paintTkMapFromAlarm(), printBadModuleList(), tkMapMax_, tkMapMin_, and trackerMap_.
Referenced by create(), and createForOffline().
|
private |
Definition at line 241 of file SiStripTrackerMapCreator.cc.
References dqm::implementation::DQMStore::cd(), dqm::implementation::IGetter::dirExists(), RefreshWebPage::dname, dqm::implementation::IGetter::getContents(), dqm::implementation::IGetter::getSubdirs(), SiStripUtility::goToDir(), phase1PixelTopology::layer, mergeVDriftHistosByStation::name, nDet_, paintTkMapFromHistogram(), printTopModules(), dqm::implementation::DQMStore::pwd(), sd, AlCaHLTBitMon_QueryRunRegistry::string, tkMapMax_, tkMapMin_, and topModules_.
Referenced by create(), and createForOffline().
|
private |
Definition at line 603 of file SiStripTrackerMapCreator.cc.
References meanToMaxFactor_, nDet_, tkMapMax_, tkMapMin_, and trackerMap_.
Referenced by create().
|
private |
Definition at line 625 of file SiStripTrackerMapCreator.cc.
References meanToMaxFactor_, nDet_, tkMapMax_, and tkMapMin_.
Referenced by createForOffline().
|
private |
Definition at line 74 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram().
|
private |
Definition at line 75 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram().
|
private |
Definition at line 77 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram().
|
private |
Definition at line 71 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), getDetectorFlagAndComment(), and setTkMapFromAlarm().
|
private |
Definition at line 76 of file SiStripTrackerMapCreator.h.
Referenced by getDetectorFlag(), and paintTkMapFromAlarm().
|
private |
Definition at line 68 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 70 of file SiStripTrackerMapCreator.h.
Referenced by create(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 79 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and printTopModules().
|
private |
Definition at line 69 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and paintTkMapFromHistogram().
|
private |
Definition at line 62 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and printBadModuleList().
|
private |
Definition at line 64 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), and getDetectorFlagAndComment().
|
private |
Definition at line 72 of file SiStripTrackerMapCreator.h.
Referenced by createInfoFile(), and paintTkMapFromHistogram().
|
private |
Definition at line 66 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 67 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 63 of file SiStripTrackerMapCreator.h.
|
private |
Definition at line 80 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and printTopModules().
|
private |
Definition at line 78 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and setTkMapFromHistogram().
|
private |
Definition at line 61 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), paintTkMapFromAlarm(), paintTkMapFromHistogram(), setTkMapFromAlarm(), and setTkMapRange().
|
private |
Definition at line 73 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), getDetectorFlagAndComment(), paintTkMapFromAlarm(), printBadModuleList(), and printTopModules().