#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 | setModuleFolder (const uint32_t &rawdetid=0, int type=0, bool isUpgrade=false) |
Set folder name for a module or plaquette. More... | |
SiPixelFolderOrganizer () | |
Constructor. More... | |
virtual | ~SiPixelFolderOrganizer () |
Destructor. More... | |
Private Attributes | |
DQMStore * | dbe_ |
std::string | rootFolder |
std::string | slash |
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 | ( | ) |
Constructor.
DQM and Framework services.
Data Formats Constructor
Definition at line 17 of file SiPixelFolderOrganizer.cc.
|
virtual |
void SiPixelFolderOrganizer::getModuleFolder | ( | const uint32_t & | rawdetid, |
std::string & | path, | ||
bool | isUpgrade | ||
) |
Definition at line 204 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 191 of file SiPixelFolderOrganizer.cc.
References dbe_, rootFolder, DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiPixelRawDataErrorSource::bookMEs().
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 26 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().
|
private |
Definition at line 46 of file SiPixelFolderOrganizer.h.
Referenced by setFedFolder(), and setModuleFolder().
|
private |
Definition at line 44 of file SiPixelFolderOrganizer.h.
Referenced by getModuleFolder(), setFedFolder(), and setModuleFolder().
|
private |
Definition at line 45 of file SiPixelFolderOrganizer.h.