#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) |
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=0) |
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) |
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 | 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 () | |
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 33 of file SiStripFolderOrganizer.cc.
References dbe_, cppFunctionSkipper::operator, and TopFolderName.
|
virtual |
Definition at line 41 of file SiStripFolderOrganizer.cc.
|
private |
void SiStripFolderOrganizer::getFolderName | ( | int32_t | rawdetid, |
const TrackerTopology * | tTopo, | ||
std::string & | lokal_folder | ||
) |
Definition at line 243 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 509 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 400 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 76 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 73 of file SiStripFolderOrganizer.cc.
References all_, getSiStripTopControlFolder(), relativeConstraints::ring, SEP, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setSiStripControlFolder().
std::string SiStripFolderOrganizer::getSiStripFolder | ( | ) |
Definition at line 49 of file SiStripFolderOrganizer.cc.
References TopFolderName.
std::string SiStripFolderOrganizer::getSiStripTopControlFolder | ( | ) |
Definition at line 60 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 119 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(), SiStripRecHitsValid::analyze(), SiStripMonitorTrack::book(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), MonitorTrackResiduals::createMEs(), 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 152 of file SiStripFolderOrganizer.cc.
References 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 185 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 392 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 456 of file SiStripFolderOrganizer.cc.
References 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 217 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 211 of file SiStripFolderOrganizer.cc.
References dbe_, getFolderName(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripLAProfileBooker::beginRun(), SiStripMonitorTrack::book(), SiStripBaseCondObjDQM::bookCumulMEs(), SiStripMonitorQuality::bookHistograms(), SiStripBaseCondObjDQM::bookProfileMEs(), MonitorTrackResiduals::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorDigi::createMEs(), and SiStripMonitorCluster::createMEs().
void SiStripFolderOrganizer::setLayerFolder | ( | uint32_t | rawdetid, |
const TrackerTopology * | tTopo, | ||
int32_t | layer = 0 , |
||
bool | ring_flag = 0 |
||
) |
Definition at line 300 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(), SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), SiStripTrackingRecHitsValid::createMEs(), and setRingFolder().
|
inline |
Definition at line 75 of file SiStripFolderOrganizer.h.
References setLayerFolder().
void SiStripFolderOrganizer::setSiStripControlFolder | ( | unsigned short | slot = all_ , |
unsigned short | ring = all_ , |
||
unsigned short | addr = all_ , |
||
unsigned short | chan = all_ |
||
) |
Definition at line 106 of file SiStripFolderOrganizer.cc.
References dbe_, getSiStripControlFolder(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
void SiStripFolderOrganizer::setSiStripFolder | ( | ) |
Definition at line 54 of file SiStripFolderOrganizer.cc.
References dbe_, DQMStore::setCurrentFolder(), and TopFolderName.
Referenced by SiStripLAProfileBooker::beginRun(), MonitorTrackResiduals::createMEs(), SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), and SiStripTrackingRecHitsValid::createMEs().
void SiStripFolderOrganizer::setSiStripFolderName | ( | std::string | name | ) |
Definition at line 45 of file SiStripFolderOrganizer.cc.
References mergeVDriftHistosByStation::name, and TopFolderName.
Referenced by SiStripMonitorTrack::book(), SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), SiStripTrackingRecHitsValid::createMEs(), TkHistoMap::folderDefinition(), and SiStripTrackerMapCreator::getDetectorFlagAndComment().
void SiStripFolderOrganizer::setSiStripTopControlFolder | ( | ) |
Definition at line 66 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 86 of file SiStripFolderOrganizer.h.
Referenced by setDetectorFolder(), setLayerFolder(), setSiStripControlFolder(), setSiStripFolder(), setSiStripTopControlFolder(), and SiStripFolderOrganizer().
|
private |
Definition at line 85 of file SiStripFolderOrganizer.h.
Referenced by getLayerFolderName(), getSiStripFolder(), getSiStripTopControlFolder(), getSubDetFolderAndTag(), getSubDetLayerFolderName(), setLayerFolder(), setSiStripFolder(), setSiStripFolderName(), setSiStripTopControlFolder(), and SiStripFolderOrganizer().