#include <DQM/SiStripCommon/interface/SiStripFolderOrganizer.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
Public Member Functions | |
void | getFolderName (int32_t rawdetid, const TrackerTopology *tTopo, std::string &lokal_folder) |
void | getLayerFolderName (std::stringstream &ss, uint32_t rawdetid, const TrackerTopology *tTopo, bool ring_flag=false) |
void | getRingFolderName (std::stringstream &ss, uint32_t rawdetid, const TrackerTopology *tTopo) |
std::string | getSiStripControlFolder (unsigned short slot=all_, unsigned short ring=all_, unsigned short addr=all_, unsigned short chan=all_) |
std::string | getSiStripFolder () |
std::string | getSiStripTopControlFolder () |
std::pair< std::string, int32_t > | GetSubDetAndLayer (const uint32_t &detid, const TrackerTopology *tTopo, bool ring_flag=false) |
std::pair< std::string, int32_t > | GetSubDetAndLayerThickness (const uint32_t &detid, const TrackerTopology *tTopo, std::string &cThickness) |
std::pair< std::string, int32_t > | GetSubDetAndRing (const uint32_t &detid, const TrackerTopology *tTopo) |
void | getSubDetFolder (const uint32_t &detid, const TrackerTopology *tTopo, std::string &folder_name) |
std::pair< const std::string, const char * > | getSubDetFolderAndTag (const uint32_t &detid, const TrackerTopology *tTopo) |
void | getSubDetLayerFolderName (std::stringstream &ss, SiStripDetId::SubDetector subDet, uint32_t layer, uint32_t side=0) |
const SiStripFolderOrganizer & | operator= (const SiStripFolderOrganizer &)=delete |
void | setDetectorFolder (uint32_t rawdetid, const TrackerTopology *tTopo) |
void | setLayerFolder (uint32_t rawdetid, const TrackerTopology *tTopo, int32_t layer=0, bool ring_flag=false) |
void | setRingFolder (uint32_t rawdetid, const TrackerTopology *tTopo, int32_t layer=0) |
void | setSiStripControlFolder (unsigned short slot=all_, unsigned short ring=all_, unsigned short addr=all_, unsigned short chan=all_) |
void | setSiStripFolder () |
void | setSiStripFolderName (std::string name) |
void | setSiStripTopControlFolder () |
SiStripFolderOrganizer () | |
SiStripFolderOrganizer (const SiStripFolderOrganizer &)=delete | |
virtual | ~SiStripFolderOrganizer () |
Static Public Attributes | |
static unsigned short const | all_ = 65535 |
Private Attributes | |
DQMStore * | dbe_ |
std::string | TopFolderName |
Description: <Organizes the folders for the monitoring elements of the SiStrip Tracker. Its methods return strings with names of folders to be created and used.>
Usage: <usage>
Definition at line 27 of file SiStripFolderOrganizer.h.
Definition at line 29 of file SiStripFolderOrganizer.h.
SiStripFolderOrganizer::SiStripFolderOrganizer | ( | ) |
Definition at line 33 of file SiStripFolderOrganizer.cc.
References dbe_, Utilities::operator, and TopFolderName.
|
virtual |
Definition at line 39 of file SiStripFolderOrganizer.cc.
|
delete |
void SiStripFolderOrganizer::getFolderName | ( | int32_t | rawdetid, |
const TrackerTopology * | tTopo, | ||
std::string & | lokal_folder | ||
) |
Definition at line 236 of file SiStripFolderOrganizer.cc.
References getSubDetLayerFolderName(), SEP, SiStripDetId::subDetector(), SiStripDetId::TEC, TrackerTopology::tecIsBackPetal(), TrackerTopology::tecIsStereo(), TrackerTopology::tecPetalNumber(), TrackerTopology::tecRing(), TrackerTopology::tecSide(), TrackerTopology::tecWheel(), SiStripDetId::TIB, TrackerTopology::tibIsExternalString(), TrackerTopology::tibIsZMinusSide(), TrackerTopology::tibLayer(), TrackerTopology::tibString(), SiStripDetId::TID, TrackerTopology::tidIsStereo(), TrackerTopology::tidRing(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), SiStripDetId::TOB, TrackerTopology::tobIsZMinusSide(), TrackerTopology::tobLayer(), and TrackerTopology::tobRod().
Referenced by setDetectorFolder().
void SiStripFolderOrganizer::getLayerFolderName | ( | std::stringstream & | ss, |
uint32_t | rawdetid, | ||
const TrackerTopology * | tTopo, | ||
bool | ring_flag = false |
||
) |
Definition at line 415 of file SiStripFolderOrganizer.cc.
References MECHANICAL_FOLDER_NAME, SEP, SiStripDetId::subDetector(), SiStripDetId::TEC, TrackerTopology::tecRing(), TrackerTopology::tecSide(), TrackerTopology::tecWheel(), SiStripDetId::TIB, TrackerTopology::tibLayer(), SiStripDetId::TID, TrackerTopology::tidRing(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), SiStripDetId::TOB, TrackerTopology::tobLayer(), and TopFolderName.
Referenced by SiStripMonitorDigi::createMEs(), and getRingFolderName().
|
inline |
Definition at line 86 of file SiStripFolderOrganizer.h.
References getLayerFolderName().
std::string SiStripFolderOrganizer::getSiStripControlFolder | ( | unsigned short | slot = all_ , |
unsigned short | ring = all_ , |
||
unsigned short | addr = all_ , |
||
unsigned short | chan = all_ |
||
) |
Definition at line 61 of file SiStripFolderOrganizer.cc.
References generateTowerEtThresholdLUT::addr, all_, officialStyle::chan, fed_dqm_sourceclient-live_cfg::folder_name, getSiStripTopControlFolder(), relativeConstraints::ring, SEP, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setSiStripControlFolder().
std::string SiStripFolderOrganizer::getSiStripFolder | ( | ) |
Definition at line 43 of file SiStripFolderOrganizer.cc.
References TopFolderName.
std::string SiStripFolderOrganizer::getSiStripTopControlFolder | ( | ) |
Definition at line 50 of file SiStripFolderOrganizer.cc.
References CONTROL_FOLDER_NAME, AlCaHLTBitMon_QueryRunRegistry::string, and TopFolderName.
Referenced by getSiStripControlFolder().
std::pair< std::string, int32_t > SiStripFolderOrganizer::GetSubDetAndLayer | ( | const uint32_t & | detid, |
const TrackerTopology * | tTopo, | ||
bool | ring_flag = false |
||
) |
Definition at line 106 of file SiStripFolderOrganizer.cc.
References phase1PixelTopology::layer, AlCaHLTBitMon_QueryRunRegistry::string, StripSubdetector::TEC, TrackerTopology::tecRing(), TrackerTopology::tecSide(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidRing(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), StripSubdetector::TOB, and TrackerTopology::tobLayer().
Referenced by SiStripMonitorCluster::analyze(), SiStripRecHitsValid::analyze(), SiStripMonitorTrack::book(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), SiStripTrackingRecHitsValid::createMEs(), and SiStripCertificationInfo::fillSiStripCertificationMEs().
std::pair< std::string, int32_t > SiStripFolderOrganizer::GetSubDetAndLayerThickness | ( | const uint32_t & | detid, |
const TrackerTopology * | tTopo, | ||
std::string & | cThickness | ||
) |
Definition at line 140 of file SiStripFolderOrganizer.cc.
References phase1PixelTopology::layer, relativeConstraints::ring, AlCaHLTBitMon_QueryRunRegistry::string, StripSubdetector::TEC, TrackerTopology::tecRing(), TrackerTopology::tecSide(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), StripSubdetector::TOB, and TrackerTopology::tobLayer().
std::pair< std::string, int32_t > SiStripFolderOrganizer::GetSubDetAndRing | ( | const uint32_t & | detid, |
const TrackerTopology * | tTopo | ||
) |
Definition at line 177 of file SiStripFolderOrganizer.cc.
References relativeConstraints::ring, AlCaHLTBitMon_QueryRunRegistry::string, StripSubdetector::TEC, TrackerTopology::tecRing(), TrackerTopology::tecSide(), StripSubdetector::TIB, StripSubdetector::TID, TrackerTopology::tidRing(), TrackerTopology::tidSide(), and StripSubdetector::TOB.
void SiStripFolderOrganizer::getSubDetFolder | ( | const uint32_t & | detid, |
const TrackerTopology * | tTopo, | ||
std::string & | folder_name | ||
) |
Definition at line 406 of file SiStripFolderOrganizer.cc.
References getSubDetFolderAndTag().
Referenced by SiStripQualityChecker::fillFaultyModuleStatus(), SiStripDaqInfo::findExcludedModule(), and SiStripTrackerMapCreator::getDetectorFlagAndComment().
std::pair< const std::string, const char * > SiStripFolderOrganizer::getSubDetFolderAndTag | ( | const uint32_t & | detid, |
const TrackerTopology * | tTopo | ||
) |
Definition at line 475 of file SiStripFolderOrganizer.cc.
References printsummarytable::folder, MECHANICAL_FOLDER_NAME, SEP, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, StripSubdetector::TEC, TrackerTopology::tecSide(), StripSubdetector::TIB, StripSubdetector::TID, TrackerTopology::tidSide(), StripSubdetector::TOB, and TopFolderName.
Referenced by SiStripMonitorDigi::analyze(), SiStripMonitorCluster::analyze(), SiStripMonitorTrack::book(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), SiStripMonitorTrack::findMEs(), and getSubDetFolder().
void SiStripFolderOrganizer::getSubDetLayerFolderName | ( | std::stringstream & | ss, |
SiStripDetId::SubDetector | subDet, | ||
uint32_t | layer, | ||
uint32_t | side = 0 |
||
) |
Definition at line 208 of file SiStripFolderOrganizer.cc.
References MECHANICAL_FOLDER_NAME, SEP, SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, and TopFolderName.
Referenced by TkHistoMap::folderDefinition(), and getFolderName().
|
delete |
void SiStripFolderOrganizer::setDetectorFolder | ( | uint32_t | rawdetid, |
const TrackerTopology * | tTopo | ||
) |
Definition at line 202 of file SiStripFolderOrganizer.cc.
References dbe_, fed_dqm_sourceclient-live_cfg::folder_name, getFolderName(), dqm::implementation::DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripMonitorTrack::book(), SiStripBaseCondObjDQM::bookCumulMEs(), SiStripMonitorQuality::bookHistograms(), SiStripBaseCondObjDQM::bookProfileMEs(), MonitorTrackResidualsBase< pixel_or_strip >::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), and for().
void SiStripFolderOrganizer::setLayerFolder | ( | uint32_t | rawdetid, |
const TrackerTopology * | tTopo, | ||
int32_t | layer = 0 , |
||
bool | ring_flag = false |
||
) |
Definition at line 304 of file SiStripFolderOrganizer.cc.
References funct::abs(), dbe_, MECHANICAL_FOLDER_NAME, SEP, dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, SiStripDetId::subDetector(), SiStripDetId::TEC, TrackerTopology::tecRing(), TrackerTopology::tecSide(), TrackerTopology::tecWheel(), SiStripDetId::TIB, TrackerTopology::tibLayer(), SiStripDetId::TID, TrackerTopology::tidRing(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), SiStripDetId::TOB, TrackerTopology::tobLayer(), and TopFolderName.
Referenced by SiStripMonitorTrack::book(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), MonitorTrackResidualsBase< pixel_or_strip >::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), SiStripTrackingRecHitsValid::createMEs(), and setRingFolder().
|
inline |
Definition at line 83 of file SiStripFolderOrganizer.h.
References phase1PixelTopology::layer, and setLayerFolder().
void SiStripFolderOrganizer::setSiStripControlFolder | ( | unsigned short | slot = all_ , |
unsigned short | ring = all_ , |
||
unsigned short | addr = all_ , |
||
unsigned short | chan = all_ |
||
) |
Definition at line 93 of file SiStripFolderOrganizer.cc.
References dbe_, getSiStripControlFolder(), dqm::implementation::DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
void SiStripFolderOrganizer::setSiStripFolder | ( | ) |
Definition at line 45 of file SiStripFolderOrganizer.cc.
References dbe_, dqm::implementation::DQMStore::setCurrentFolder(), and TopFolderName.
Referenced by SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), SiStripTrackingRecHitsValid::createMEs(), and for().
void SiStripFolderOrganizer::setSiStripFolderName | ( | std::string | name | ) |
Definition at line 41 of file SiStripFolderOrganizer.cc.
References mergeVDriftHistosByStation::name, and TopFolderName.
Referenced by SiStripMonitorTrack::book(), MonitorTrackResidualsBase< pixel_or_strip >::bookHistograms(), SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), SiStripTrackingRecHitsValid::createMEs(), TkHistoMap::folderDefinition(), and SiStripTrackerMapCreator::getDetectorFlagAndComment().
void SiStripFolderOrganizer::setSiStripTopControlFolder | ( | ) |
Definition at line 55 of file SiStripFolderOrganizer.cc.
References CONTROL_FOLDER_NAME, dbe_, dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and TopFolderName.
|
static |
Definition at line 31 of file SiStripFolderOrganizer.h.
Referenced by getSiStripControlFolder().
|
private |
Definition at line 98 of file SiStripFolderOrganizer.h.
Referenced by setDetectorFolder(), setLayerFolder(), setSiStripControlFolder(), setSiStripFolder(), setSiStripTopControlFolder(), and SiStripFolderOrganizer().
|
private |
Definition at line 97 of file SiStripFolderOrganizer.h.
Referenced by getLayerFolderName(), getSiStripFolder(), getSiStripTopControlFolder(), getSubDetFolderAndTag(), getSubDetLayerFolderName(), setLayerFolder(), setSiStripFolder(), setSiStripFolderName(), setSiStripTopControlFolder(), and SiStripFolderOrganizer().