#include <DQM/SiStripCommon/interface/SiStripFolderOrganizer.h>
Public Member Functions | |
void | getFolderName (int32_t rawdetid, const TrackerTopology *tTopo, std::string &lokal_folder) |
void | getFolderName (int32_t rawdetid, std::string &lokal_folder) |
void | getLayerFolderName (std::stringstream &ss, uint32_t rawdetid, const TrackerTopology *tTopo, 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, const TrackerTopology *tTopo, bool ring_flag=0) |
void | getSubDetFolder (const uint32_t &detid, const TrackerTopology *tTopo, std::string &folder_name) |
std::pair< std::string, std::string > | getSubDetFolderAndTag (const uint32_t &detid, const TrackerTopology *tTopo) |
void | getSubDetLayerFolderName (std::stringstream &ss, SiStripDetId::SubDetector subDet, uint32_t layer, uint32_t side=0) |
void | setDetectorFolder (uint32_t rawdetid, const TrackerTopology *tTopo) |
void | setLayerFolder (uint32_t rawdetid, const TrackerTopology *tTopo, 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 28 of file SiStripFolderOrganizer.h.
SiStripFolderOrganizer::SiStripFolderOrganizer | ( | ) |
Definition at line 32 of file SiStripFolderOrganizer.cc.
References dbe_, cppFunctionSkipper::operator, and TopFolderName.
|
virtual |
Definition at line 40 of file SiStripFolderOrganizer.cc.
|
private |
void SiStripFolderOrganizer::getFolderName | ( | int32_t | rawdetid, |
const TrackerTopology * | tTopo, | ||
std::string & | lokal_folder | ||
) |
Definition at line 184 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::getFolderName | ( | int32_t | rawdetid, |
std::string & | lokal_folder | ||
) |
Definition at line 446 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().
void SiStripFolderOrganizer::getLayerFolderName | ( | std::stringstream & | ss, |
uint32_t | rawdetid, | ||
const TrackerTopology * | tTopo, | ||
bool | ring_flag = 0 |
||
) |
Definition at line 341 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().
std::string SiStripFolderOrganizer::getSiStripControlFolder | ( | unsigned short | slot = all_ , |
unsigned short | ring = all_ , |
||
unsigned short | addr = all_ , |
||
unsigned short | chan = all_ |
||
) |
Definition at line 72 of file SiStripFolderOrganizer.cc.
References all_, getSiStripTopControlFolder(), relativeConstraints::ring, SEP, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setSiStripControlFolder().
std::string SiStripFolderOrganizer::getSiStripFolder | ( | ) |
Definition at line 48 of file SiStripFolderOrganizer.cc.
References TopFolderName.
std::string SiStripFolderOrganizer::getSiStripTopControlFolder | ( | ) |
Definition at line 59 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 = 0 |
||
) |
Definition at line 118 of file SiStripFolderOrganizer.cc.
References 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 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, |
const TrackerTopology * | tTopo, | ||
std::string & | folder_name | ||
) |
Definition at line 333 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, |
const TrackerTopology * | tTopo | ||
) |
Definition at line 397 of file SiStripFolderOrganizer.cc.
References MECHANICAL_FOLDER_NAME, query::result, SEP, AlCaHLTBitMon_QueryRunRegistry::string, StripSubdetector::TEC, TrackerTopology::tecSide(), StripSubdetector::TIB, StripSubdetector::TID, TrackerTopology::tidSide(), 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 158 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, |
const TrackerTopology * | tTopo | ||
) |
Definition at line 152 of file SiStripFolderOrganizer.cc.
References dbe_, getFolderName(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
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, |
const TrackerTopology * | tTopo, | ||
int32_t | layer = 0 , |
||
bool | ring_flag = 0 |
||
) |
Definition at line 241 of file SiStripFolderOrganizer.cc.
References funct::abs(), dbe_, MECHANICAL_FOLDER_NAME, SEP, 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(), 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 105 of file SiStripFolderOrganizer.cc.
References dbe_, getSiStripControlFolder(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
void SiStripFolderOrganizer::setSiStripFolder | ( | ) |
Definition at line 53 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 44 of file SiStripFolderOrganizer.cc.
References mergeVDriftHistosByStation::name, and TopFolderName.
Referenced by SiStripMonitorTrack::book(), SiStripMonitorCluster::createMEs(), TkHistoMap::folderDefinition(), and SiStripTrackerMapCreator::getDetectorFlagAndComment().
void SiStripFolderOrganizer::setSiStripTopControlFolder | ( | ) |
Definition at line 65 of file SiStripFolderOrganizer.cc.
References CONTROL_FOLDER_NAME, dbe_, DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and TopFolderName.
|
static |
Definition at line 32 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().