#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 |
bool | ResidualsRMS_ |
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(), Utilities::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_, SiStripDetCabling::fedCabling(), TrackerMap::fill_all_blank(), edm::EventSetup::get(), meanToMaxFactor_, nDet, TrackerMap::printonline(), edm::ESHandle< T >::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(), SiStripDetCabling::fedCabling(), edm::EventSetup::get(), edm::ParameterSet::getUntrackedParameter(), SiStripUtility::goToDir(), meanToMaxFactor_, numTopModules, edm::ESHandle< T >::product(), DQMStore::pwd(), ResidualsRMS_, sistrip::runNumber_, TrackerMap::save(), TrackerMap::save_as_fedtrackermap(), TrackerMap::save_as_psutrackermap(), TrackerMap::setTitle(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRangeOffline(), sRunNumber, 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 651 of file SiStripTrackerMapCreator.cc.
References DQMStore::cd(), comment, compare_using_db::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.
Referenced by createInfoFile().
|
private |
Definition at line 581 of file SiStripTrackerMapCreator.cc.
References DQMStore::cd(), detcabling_, DQMStore::dirExists(), MonitorElement::DQM_KIND_INT, RemoveAddSevLevel::flag, DQMStore::get(), SiStripUtility::getBadModuleStatus(), SiStripDetCabling::getConnections(), MonitorElement::getIntValue(), SiStripFolderOrganizer::getSubDetFolder(), mps_fire::i, MonitorElement::kind(), LogDebug, python.rootplot.argparse::message, SiStripFolderOrganizer::setSiStripFolderName(), AlCaHLTBitMon_QueryRunRegistry::string, and stripTopLevelDir_.
Referenced by paintTkMapFromAlarm(), and printTopModules().
|
private |
Definition at line 371 of file SiStripTrackerMapCreator.cc.
References comment, detflag_, TrackerMap::fillc(), RemoveAddSevLevel::flag, getDetectorFlagAndComment(), SiStripUtility::getDetectorStatusColor(), TrackerTopology::layer(), TrackerMap::setText(), AlCaHLTBitMon_QueryRunRegistry::string, and trackerMap_.
Referenced by setTkMapFromAlarm().
|
private |
Definition at line 491 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(), dataset::name, nDet, ResidualsRMS_, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, tkDetMap_, tkMapMax_, and trackerMap_.
Referenced by setTkMapFromHistogram().
|
private |
Definition at line 282 of file SiStripTrackerMapCreator.cc.
References edm::EventSetup::get(), edm::ESHandle< T >::product(), sRunNumber, SiStripDetId::subDetector(), SiStripDetId::TEC, TrackerTopology::tecSide(), SiStripDetId::TIB, SiStripDetId::TID, TrackerTopology::tidSide(), and SiStripDetId::TOB.
Referenced by setTkMapFromAlarm().
|
private |
Definition at line 450 of file SiStripTrackerMapCreator.cc.
References comment, RemoveAddSevLevel::flag, edm::EventSetup::get(), getDetectorFlagAndComment(), numTopModules, edm::ESHandle< T >::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 242 of file SiStripTrackerMapCreator.cc.
References detcabling_, eSetup_, TrackerMap::fillc_all_blank(), edm::EventSetup::get(), SiStripDetCabling::getDetCabling(), SiStripQuality::IsModuleBad(), genParticles_cff::map, python.rootplot.argparse::module, nDet, paintTkMapFromAlarm(), printBadModuleList(), edm::ESHandle< T >::product(), ssqLabel_, tkMapMax_, tkMapMin_, trackerMap_, and useSSQuality_.
Referenced by create(), and createForOffline().
|
private |
Definition at line 394 of file SiStripTrackerMapCreator.cc.
References DQMStore::cd(), DQMStore::dirExists(), RefreshWebPage::dname, DQMStore::getContents(), DQMStore::getSubdirs(), SiStripUtility::goToDir(), dataset::name, nDet, paintTkMapFromHistogram(), printTopModules(), DQMStore::pwd(), AlCaHLTBitMon_QueryRunRegistry::string, tkMapMax_, tkMapMin_, and topModules.
Referenced by create(), and createForOffline().
|
private |
Definition at line 554 of file SiStripTrackerMapCreator.cc.
References meanToMaxFactor_, nDet, TrackerMap::setRange(), tkMapMax_, tkMapMin_, and trackerMap_.
Referenced by create().
|
private |
Definition at line 569 of file SiStripTrackerMapCreator.cc.
References meanToMaxFactor_, nDet, tkMapMax_, and tkMapMin_.
Referenced by createForOffline().
|
private |
Definition at line 71 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram(), and SiStripTrackerMapCreator().
|
private |
Definition at line 72 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram(), and SiStripTrackerMapCreator().
|
private |
Definition at line 74 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromHistogram().
|
private |
Definition at line 69 of file SiStripTrackerMapCreator.h.
Referenced by create(), createForOffline(), getDetectorFlagAndComment(), setTkMapFromAlarm(), and SiStripTrackerMapCreator().
|
private |
Definition at line 73 of file SiStripTrackerMapCreator.h.
Referenced by paintTkMapFromAlarm().
|
private |
Definition at line 68 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 66 of file SiStripTrackerMapCreator.h.
Referenced by create(), paintTkMapFromHistogram(), setTkMapFromAlarm(), setTkMapFromHistogram(), setTkMapRange(), and setTkMapRangeOffline().
|
private |
Definition at line 76 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and printTopModules().
|
private |
Definition at line 64 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and paintTkMapFromHistogram().
|
private |
Definition at line 56 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and printBadModuleList().
|
private |
Definition at line 65 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 67 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 77 of file SiStripTrackerMapCreator.h.
Referenced by createForOffline(), and printTopModules().
|
private |
Definition at line 75 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().