#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 | rootFolder |
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 PixelEndcapName::bladeName(), PixelEndcapNameUpgrade::bladeName(), PixelEndcapNameUpgrade::diskName(), PixelEndcapName::diskName(), edm::hlt::Exception, PixelEndcapNameUpgrade::halfCylinder(), PixelEndcapName::halfCylinder(), PixelBarrelNameUpgrade::ladderName(), PixelBarrelName::ladderName(), PixelBarrelNameUpgrade::layerName(), PixelBarrelName::layerName(), PixelBarrelNameUpgrade::moduleName(), PixelBarrelName::moduleName(), PixelEndcapName::pannelName(), PixelEndcapNameUpgrade::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapNameUpgrade::plaquetteName(), PixelEndcapName::plaquetteName(), rootFolder, PixelBarrelName::shell(), PixelBarrelNameUpgrade::shell(), and AlCaHLTBitMon_QueryRunRegistry::string.
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_, rootFolder, DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiPixelRawDataErrorSource::bookMEs().
bool SiPixelFolderOrganizer::setFedFolder | ( | DQMStore::IBooker & | iBooker, |
const uint32_t | FedId | ||
) |
Definition at line 373 of file SiPixelFolderOrganizer.cc.
References rootFolder, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
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 PixelEndcapName::bladeName(), PixelEndcapNameUpgrade::bladeName(), dbe_, PixelEndcapName::diskName(), PixelEndcapNameUpgrade::diskName(), edm::hlt::Exception, archive::flag, PixelEndcapName::halfCylinder(), PixelEndcapNameUpgrade::halfCylinder(), PixelBarrelName::ladderName(), PixelBarrelNameUpgrade::ladderName(), PixelBarrelName::layerName(), PixelBarrelNameUpgrade::layerName(), PixelBarrelName::moduleName(), PixelBarrelNameUpgrade::moduleName(), PixelEndcapName::pannelName(), PixelEndcapNameUpgrade::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::plaquetteName(), PixelEndcapNameUpgrade::plaquetteName(), rootFolder, DQMStore::setCurrentFolder(), PixelBarrelNameUpgrade::shell(), PixelBarrelName::shell(), AlCaHLTBitMon_QueryRunRegistry::string, and DetId::subdetId().
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 PixelEndcapName::bladeName(), PixelEndcapNameUpgrade::bladeName(), PixelEndcapName::diskName(), PixelEndcapNameUpgrade::diskName(), edm::hlt::Exception, archive::flag, PixelEndcapName::halfCylinder(), PixelEndcapNameUpgrade::halfCylinder(), PixelBarrelName::ladderName(), PixelBarrelNameUpgrade::ladderName(), PixelBarrelNameUpgrade::layerName(), PixelBarrelName::layerName(), PixelBarrelName::moduleName(), PixelBarrelNameUpgrade::moduleName(), PixelEndcapName::pannelName(), PixelEndcapNameUpgrade::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapNameUpgrade::plaquetteName(), PixelEndcapName::plaquetteName(), rootFolder, DQMStore::IBooker::setCurrentFolder(), PixelBarrelNameUpgrade::shell(), PixelBarrelName::shell(), AlCaHLTBitMon_QueryRunRegistry::string, and DetId::subdetId().
|
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().