#include <SiPixelFolderOrganizer.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Member Functions | |
void | getModuleFolder (const uint32_t &rawdetid, std::string &path, bool isUpgrade) |
bool | setFedFolder (const uint32_t FedId) |
Set folder name for a FED (used in the case of errors without detId) More... | |
bool | setFedFolder (DQMStore::IBooker &, const uint32_t FedId) |
bool | setModuleFolder (const uint32_t &rawdetid=0, int type=0, bool isUpgrade=false) |
Set folder name for a module or plaquette. More... | |
bool | setModuleFolder (DQMStore::IBooker &, const uint32_t &rawdetid=0, int type=0, bool isUpgrade=false) |
SiPixelFolderOrganizer (bool getStore=true) | |
DQM and Framework services. More... | |
virtual | ~SiPixelFolderOrganizer () |
Destructor. More... | |
Private Attributes | |
DQMStore * | dbe_ |
std::string | topFolderName |
DQM/SiPixelCommon/interface/SiPixelFolderOrganizer.h
Description: <Organizes the folders for the monitoring elements of the Pixel detector. Its methods return strings with names of folders to be created and used.>
Usage: <usage>
Definition at line 26 of file SiPixelFolderOrganizer.h.
Definition at line 28 of file SiPixelFolderOrganizer.h.
Definition at line 29 of file SiPixelFolderOrganizer.h.
SiPixelFolderOrganizer::SiPixelFolderOrganizer | ( | bool | getStore = true | ) |
DQM and Framework services.
Constructor - getStore should be called false from multi-thread DQM applications
Data Formats Constructor
Definition at line 17 of file SiPixelFolderOrganizer.cc.
References dbe_, and Utilities::operator.
|
virtual |
void SiPixelFolderOrganizer::getModuleFolder | ( | const uint32_t & | rawdetid, |
std::string & | path, | ||
bool | isUpgrade | ||
) |
Definition at line 427 of file SiPixelFolderOrganizer.cc.
References PixelEndcapNameUpgrade::bladeName(), PixelEndcapName::bladeName(), PixelEndcapNameUpgrade::diskName(), PixelEndcapName::diskName(), Exception, PixelEndcapNameUpgrade::halfCylinder(), PixelEndcapName::halfCylinder(), PixelBarrelNameUpgrade::ladderName(), PixelBarrelName::ladderName(), PixelBarrelNameUpgrade::layerName(), PixelBarrelName::layerName(), callgraph::module, PixelBarrelNameUpgrade::moduleName(), PixelBarrelName::moduleName(), PixelEndcapNameUpgrade::pannelName(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapNameUpgrade::plaquetteName(), PixelEndcapName::plaquetteName(), PixelBarrelNameUpgrade::shell(), PixelBarrelName::shell(), AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName.
bool SiPixelFolderOrganizer::setFedFolder | ( | const uint32_t | FedId | ) |
Set folder name for a FED (used in the case of errors without detId)
Definition at line 402 of file SiPixelFolderOrganizer.cc.
References dbe_, dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName.
Referenced by SiPixelRawDataErrorSource::bookMEs().
bool SiPixelFolderOrganizer::setFedFolder | ( | DQMStore::IBooker & | iBooker, |
const uint32_t | FedId | ||
) |
Definition at line 415 of file SiPixelFolderOrganizer.cc.
References dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName.
bool SiPixelFolderOrganizer::setModuleFolder | ( | const uint32_t & | rawdetid = 0 , |
int | type = 0 , |
||
bool | isUpgrade = false |
||
) |
Set folder name for a module or plaquette.
Pixel Barrel
Pixel Endcap
Definition at line 27 of file SiPixelFolderOrganizer.cc.
References PixelEndcapNameUpgrade::bladeName(), PixelEndcapName::bladeName(), dbe_, PixelEndcapNameUpgrade::diskName(), PixelEndcapName::diskName(), Exception, PixelEndcapNameUpgrade::halfCylinder(), PixelEndcapName::halfCylinder(), PixelBarrelNameUpgrade::ladderName(), PixelBarrelName::ladderName(), PixelBarrelNameUpgrade::layerName(), PixelBarrelName::layerName(), callgraph::module, PixelBarrelNameUpgrade::moduleName(), PixelBarrelName::moduleName(), PixelEndcapNameUpgrade::pannelName(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapNameUpgrade::plaquetteName(), PixelEndcapName::plaquetteName(), dqm::implementation::DQMStore::setCurrentFolder(), PixelBarrelNameUpgrade::shell(), PixelBarrelName::shell(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), and topFolderName.
Referenced by SiPixelTrackResidualSource::bookHistograms(), SiPixelHitEfficiencySource::bookHistograms(), SiPixelDigiSource::bookMEs(), SiPixelClusterSource::bookMEs(), SiPixelRawDataErrorSource::bookMEs(), SiPixelRecHitSource::bookMEs(), SiPixelErrorsDigisToCalibDigis::setDQMDirectory(), and SiPixelOfflineCalibAnalysisBase::setDQMDirectory().
bool SiPixelFolderOrganizer::setModuleFolder | ( | DQMStore::IBooker & | iBooker, |
const uint32_t & | rawdetid = 0 , |
||
int | type = 0 , |
||
bool | isUpgrade = false |
||
) |
Pixel Barrel
Pixel Endcap
Definition at line 213 of file SiPixelFolderOrganizer.cc.
References PixelEndcapNameUpgrade::bladeName(), PixelEndcapName::bladeName(), PixelEndcapNameUpgrade::diskName(), PixelEndcapName::diskName(), Exception, PixelEndcapNameUpgrade::halfCylinder(), PixelEndcapName::halfCylinder(), PixelBarrelNameUpgrade::ladderName(), PixelBarrelName::ladderName(), PixelBarrelNameUpgrade::layerName(), PixelBarrelName::layerName(), callgraph::module, PixelBarrelNameUpgrade::moduleName(), PixelBarrelName::moduleName(), PixelEndcapNameUpgrade::pannelName(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapNameUpgrade::plaquetteName(), PixelEndcapName::plaquetteName(), dqm::implementation::NavigatorBase::setCurrentFolder(), PixelBarrelNameUpgrade::shell(), PixelBarrelName::shell(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), and topFolderName.
|
private |
Definition at line 51 of file SiPixelFolderOrganizer.h.
Referenced by setFedFolder(), setModuleFolder(), and SiPixelFolderOrganizer().
|
private |
Definition at line 50 of file SiPixelFolderOrganizer.h.
Referenced by getModuleFolder(), setFedFolder(), and setModuleFolder().