#include <DQM/SiStripCommon/interface/SiStripFolderOrganizer.h>
Public Member Functions | |
void | getFolderName (int32_t rawdetid, std::string &lokal_folder) |
void | getLayerFolderName (std::stringstream &ss, uint32_t rawdetid, bool ring_flag=0) |
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, bool ring_flag=0) |
void | getSubDetFolder (const uint32_t &detid, std::string &folder_name) |
std::pair< std::string, std::string > | getSubDetFolderAndTag (const uint32_t &detid) |
void | getSubDetLayerFolderName (std::stringstream &ss, SiStripDetId::SubDetector subDet, uint32_t layer, uint32_t side=0) |
void | setDetectorFolder (uint32_t rawdetid=0) |
void | setLayerFolder (uint32_t rawdetid=0, int32_t layer=0, bool ring_flag=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 () | |
virtual | ~SiStripFolderOrganizer () |
Static Public Attributes | |
static unsigned short const | all_ = 65535 |
Private Member Functions | |
const SiStripFolderOrganizer & | operator= (const SiStripFolderOrganizer &) |
SiStripFolderOrganizer (const SiStripFolderOrganizer &) | |
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 29 of file SiStripFolderOrganizer.h.
SiStripFolderOrganizer::SiStripFolderOrganizer | ( | ) |
Definition at line 34 of file SiStripFolderOrganizer.cc.
References dbe_, cppFunctionSkipper::operator, and TopFolderName.
|
virtual |
Definition at line 42 of file SiStripFolderOrganizer.cc.
|
private |
void SiStripFolderOrganizer::getFolderName | ( | int32_t | rawdetid, |
std::string & | lokal_folder | ||
) |
Definition at line 178 of file SiStripFolderOrganizer.cc.
References getSubDetLayerFolderName(), TECDetId::isBackPetal(), TIBDetId::isExternalString(), TIDDetId::isStereo(), TECDetId::isStereo(), TOBDetId::isZMinusSide(), TIBDetId::isZMinusSide(), TOBDetId::layerNumber(), TIBDetId::layerNumber(), TECDetId::petalNumber(), TIDDetId::ring(), TECDetId::ringNumber(), TOBDetId::rodNumber(), SEP, TIDDetId::side(), TECDetId::side(), TIBDetId::stringNumber(), SiStripDetId::subDetector(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, TIDDetId::wheel(), and TECDetId::wheel().
Referenced by SiStripInformationExtractor::getCondDBHistos(), SiStripInformationExtractor::getSingleModuleHistos(), SiStripInformationExtractor::getTrackerMapHistos(), and setDetectorFolder().
void SiStripFolderOrganizer::getLayerFolderName | ( | std::stringstream & | ss, |
uint32_t | rawdetid, | ||
bool | ring_flag = 0 |
||
) |
Definition at line 315 of file SiStripFolderOrganizer.cc.
References TOBDetId::layer(), TIBDetId::layer(), MECHANICAL_FOLDER_NAME, TIDDetId::ring(), TECDetId::ring(), SEP, TIDDetId::side(), TECDetId::side(), SiStripDetId::subDetector(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, TopFolderName, TIDDetId::wheel(), and TECDetId::wheel().
Referenced by SiStripMonitorDigi::createMEs().
std::string SiStripFolderOrganizer::getSiStripControlFolder | ( | unsigned short | slot = all_ , |
unsigned short | ring = all_ , |
||
unsigned short | addr = all_ , |
||
unsigned short | chan = all_ |
||
) |
Definition at line 74 of file SiStripFolderOrganizer.cc.
References all_, getSiStripTopControlFolder(), relativeConstraints::ring, and SEP.
Referenced by setSiStripControlFolder().
std::string SiStripFolderOrganizer::getSiStripFolder | ( | ) |
Definition at line 50 of file SiStripFolderOrganizer.cc.
References TopFolderName.
std::string SiStripFolderOrganizer::getSiStripTopControlFolder | ( | ) |
Definition at line 61 of file SiStripFolderOrganizer.cc.
References CONTROL_FOLDER_NAME, and TopFolderName.
Referenced by getSiStripControlFolder().
std::pair< std::string, int32_t > SiStripFolderOrganizer::GetSubDetAndLayer | ( | const uint32_t & | detid, |
bool | ring_flag = 0 |
||
) |
Definition at line 120 of file SiStripFolderOrganizer.cc.
References TOBDetId::layer(), TIBDetId::layer(), TIDDetId::ring(), TECDetId::ring(), TIDDetId::side(), TECDetId::side(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, TIDDetId::wheel(), and TECDetId::wheel().
Referenced by MonitorTrackResiduals::analyze(), MonitorTrackResiduals::beginRun(), SiStripMonitorTrack::book(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), MonitorTrackResiduals::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorTrack::fillMEs(), and SiStripCertificationInfo::fillSiStripCertificationMEs().
void SiStripFolderOrganizer::getSubDetFolder | ( | const uint32_t & | detid, |
std::string & | folder_name | ||
) |
Definition at line 307 of file SiStripFolderOrganizer.cc.
References getSubDetFolderAndTag().
Referenced by SiStripQualityChecker::fillFaultyModuleStatus(), SiStripDaqInfo::findExcludedModule(), and SiStripTrackerMapCreator::getDetectorFlagAndComment().
std::pair< std::string, std::string > SiStripFolderOrganizer::getSubDetFolderAndTag | ( | const uint32_t & | detid | ) |
Definition at line 355 of file SiStripFolderOrganizer.cc.
References MECHANICAL_FOLDER_NAME, query::result, SEP, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, and TopFolderName.
Referenced by SiStripMonitorDigi::analyze(), SiStripMonitorCluster::analyze(), SiStripMonitorTrack::book(), SiStripMonitorTrack::clusterInfos(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorTrack::fillMEs(), and getSubDetFolder().
void SiStripFolderOrganizer::getSubDetLayerFolderName | ( | std::stringstream & | ss, |
SiStripDetId::SubDetector | subDet, | ||
uint32_t | layer, | ||
uint32_t | side = 0 |
||
) |
Definition at line 160 of file SiStripFolderOrganizer.cc.
References MECHANICAL_FOLDER_NAME, SEP, SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, and TopFolderName.
Referenced by SiStripMonitorMuonHLT::createMEs(), TkHistoMap::folderDefinition(), and getFolderName().
|
private |
void SiStripFolderOrganizer::setDetectorFolder | ( | uint32_t | rawdetid = 0 | ) |
Definition at line 154 of file SiStripFolderOrganizer.cc.
References dbe_, getFolderName(), and DQMStore::setCurrentFolder().
Referenced by SiStripLAProfileBooker::beginRun(), SiStripMonitorTrack::book(), SiStripBaseCondObjDQM::bookCumulMEs(), SiStripBaseCondObjDQM::bookProfileMEs(), MonitorTrackResiduals::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), and SiStripMonitorQuality::getQualityME().
void SiStripFolderOrganizer::setLayerFolder | ( | uint32_t | rawdetid = 0 , |
int32_t | layer = 0 , |
||
bool | ring_flag = 0 |
||
) |
Definition at line 234 of file SiStripFolderOrganizer.cc.
References abs, dbe_, TOBDetId::layer(), TIBDetId::layer(), MECHANICAL_FOLDER_NAME, TIDDetId::ring(), TECDetId::ring(), SEP, DQMStore::setCurrentFolder(), TIDDetId::side(), TECDetId::side(), SiStripDetId::subDetector(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, TopFolderName, TIDDetId::wheel(), and TECDetId::wheel().
Referenced by SiStripMonitorTrack::book(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), MonitorTrackResiduals::createMEs(), SiStripMonitorDigi::createMEs(), and SiStripMonitorCluster::createMEs().
void SiStripFolderOrganizer::setSiStripControlFolder | ( | unsigned short | slot = all_ , |
unsigned short | ring = all_ , |
||
unsigned short | addr = all_ , |
||
unsigned short | chan = all_ |
||
) |
Definition at line 107 of file SiStripFolderOrganizer.cc.
References dbe_, getSiStripControlFolder(), and DQMStore::setCurrentFolder().
void SiStripFolderOrganizer::setSiStripFolder | ( | ) |
Definition at line 55 of file SiStripFolderOrganizer.cc.
References dbe_, DQMStore::setCurrentFolder(), and TopFolderName.
Referenced by SiStripLAProfileBooker::beginRun(), MonitorTrackResiduals::createMEs(), and SiStripMonitorCluster::createMEs().
void SiStripFolderOrganizer::setSiStripFolderName | ( | std::string | name | ) |
Definition at line 46 of file SiStripFolderOrganizer.cc.
References mergeVDriftHistosByStation::name, and TopFolderName.
Referenced by SiStripMonitorCluster::createMEs(), and SiStripTrackerMapCreator::getDetectorFlagAndComment().
void SiStripFolderOrganizer::setSiStripTopControlFolder | ( | ) |
Definition at line 67 of file SiStripFolderOrganizer.cc.
References CONTROL_FOLDER_NAME, dbe_, DQMStore::setCurrentFolder(), and TopFolderName.
|
static |
Definition at line 33 of file SiStripFolderOrganizer.h.
Referenced by getSiStripControlFolder().
|
private |
Definition at line 81 of file SiStripFolderOrganizer.h.
Referenced by setDetectorFolder(), setLayerFolder(), setSiStripControlFolder(), setSiStripFolder(), setSiStripTopControlFolder(), and SiStripFolderOrganizer().
|
private |
Definition at line 80 of file SiStripFolderOrganizer.h.
Referenced by getLayerFolderName(), getSiStripFolder(), getSiStripTopControlFolder(), getSubDetFolderAndTag(), getSubDetLayerFolderName(), setLayerFolder(), setSiStripFolder(), setSiStripFolderName(), setSiStripTopControlFolder(), and SiStripFolderOrganizer().