#include <DQM/SiPixelCommon/interface/SiPixelFolderOrganizer.h>
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) | |
Constructor - getStore should be called false from multi-thread DQM applications. More... | |
virtual | ~SiPixelFolderOrganizer () |
Destructor. More... | |
Private Attributes | |
DQMStore * | dbe_ |
std::string | topFolderName |
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 23 of file SiPixelFolderOrganizer.h.
SiPixelFolderOrganizer::SiPixelFolderOrganizer | ( | bool | getStore = true | ) |
Constructor - getStore should be called false from multi-thread DQM applications.
DQM and Framework services.
Data Formats Constructor
Definition at line 17 of file SiPixelFolderOrganizer.cc.
References dbe_, and cppFunctionSkipper::operator.
|
virtual |
void SiPixelFolderOrganizer::getModuleFolder | ( | const uint32_t & | rawdetid, |
std::string & | path, | ||
bool | isUpgrade | ||
) |
Definition at line 386 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(), 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 359 of file SiPixelFolderOrganizer.cc.
References dbe_, DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName.
Referenced by SiPixelRawDataErrorSource::bookMEs().
bool SiPixelFolderOrganizer::setFedFolder | ( | DQMStore::IBooker & | iBooker, |
const uint32_t | FedId | ||
) |
Definition at line 373 of file SiPixelFolderOrganizer.cc.
References DQMStore::IBooker::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, archive::flag, PixelEndcapNameUpgrade::halfCylinder(), PixelEndcapName::halfCylinder(), PixelBarrelNameUpgrade::ladderName(), PixelBarrelName::ladderName(), PixelBarrelNameUpgrade::layerName(), PixelBarrelName::layerName(), PixelBarrelNameUpgrade::moduleName(), PixelBarrelName::moduleName(), PixelEndcapNameUpgrade::pannelName(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapNameUpgrade::plaquetteName(), PixelEndcapName::plaquetteName(), DQMStore::setCurrentFolder(), PixelBarrelNameUpgrade::shell(), PixelBarrelName::shell(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), and topFolderName.
Referenced by SiPixelHitEfficiencySource::bookHistograms(), SiPixelTrackResidualSource::bookHistograms(), SiPixelDigiSource::bookMEs(), SiPixelRawDataErrorSource::bookMEs(), SiPixelRecHitSource::bookMEs(), SiPixelClusterSource::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 193 of file SiPixelFolderOrganizer.cc.
References PixelEndcapNameUpgrade::bladeName(), PixelEndcapName::bladeName(), PixelEndcapNameUpgrade::diskName(), PixelEndcapName::diskName(), Exception, archive::flag, PixelEndcapNameUpgrade::halfCylinder(), PixelEndcapName::halfCylinder(), PixelBarrelNameUpgrade::ladderName(), PixelBarrelName::ladderName(), PixelBarrelNameUpgrade::layerName(), PixelBarrelName::layerName(), PixelBarrelNameUpgrade::moduleName(), PixelBarrelName::moduleName(), PixelEndcapNameUpgrade::pannelName(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapNameUpgrade::plaquetteName(), PixelEndcapName::plaquetteName(), DQMStore::IBooker::setCurrentFolder(), PixelBarrelNameUpgrade::shell(), PixelBarrelName::shell(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), and topFolderName.
|
private |
Definition at line 48 of file SiPixelFolderOrganizer.h.
Referenced by setFedFolder(), setModuleFolder(), and SiPixelFolderOrganizer().
|
private |
Definition at line 47 of file SiPixelFolderOrganizer.h.
Referenced by getModuleFolder(), setFedFolder(), and setModuleFolder().