#include <DQM/SiPixelCommon/interface/SiPixelFolderOrganizer.h>
Public Member Functions | |
void | getModuleFolder (const uint32_t &rawdetid, std::string &path) |
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) |
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 24 of file SiPixelFolderOrganizer.h.
SiPixelFolderOrganizer::SiPixelFolderOrganizer | ( | ) |
Constructor.
DQM and Framework services.
Data Formats Constructor
Definition at line 15 of file SiPixelFolderOrganizer.cc.
|
virtual |
void SiPixelFolderOrganizer::getModuleFolder | ( | const uint32_t & | rawdetid, |
std::string & | path | ||
) |
Definition at line 129 of file SiPixelFolderOrganizer.cc.
References PixelEndcapName::bladeName(), PixelEndcapName::diskName(), edm::hlt::Exception, PixelEndcapName::halfCylinder(), PixelBarrelName::ladderName(), PixelBarrelName::layerName(), PixelBarrelName::moduleName(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::plaquetteName(), rootFolder, and PixelBarrelName::shell().
Referenced by SiPixelInformationExtractor::getSingleModuleHistos(), and SiPixelInformationExtractor::getTrackerMapHistos().
bool SiPixelFolderOrganizer::setFedFolder | ( | const uint32_t | FedId | ) |
Set folder name for a FED (used in the case of errors without detId)
Definition at line 116 of file SiPixelFolderOrganizer.cc.
References dbe_, rootFolder, and DQMStore::setCurrentFolder().
Referenced by SiPixelRawDataErrorSource::bookMEs().
bool SiPixelFolderOrganizer::setModuleFolder | ( | const uint32_t & | rawdetid = 0 , |
int | type = 0 |
||
) |
Set folder name for a module or plaquette.
Pixel Barrel
Pixel Endcap
Definition at line 24 of file SiPixelFolderOrganizer.cc.
References PixelEndcapName::bladeName(), dbe_, PixelEndcapName::diskName(), edm::hlt::Exception, PixelEndcapName::halfCylinder(), PixelBarrelName::ladderName(), PixelBarrelName::layerName(), PixelBarrelName::moduleName(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::plaquetteName(), rootFolder, DQMStore::setCurrentFolder(), PixelBarrelName::shell(), and DetId::subdetId().
Referenced by SiPixelHitEfficiencySource::beginRun(), SiPixelTrackResidualSource::beginRun(), SiPixelDigiSource::bookMEs(), SiPixelRawDataErrorSource::bookMEs(), SiPixelRecHitSource::bookMEs(), SiPixelClusterSource::bookMEs(), SiPixelErrorsDigisToCalibDigis::setDQMDirectory(), and SiPixelOfflineCalibAnalysisBase::setDQMDirectory().
|
private |
Definition at line 47 of file SiPixelFolderOrganizer.h.
Referenced by setFedFolder(), and setModuleFolder().
|
private |
Definition at line 45 of file SiPixelFolderOrganizer.h.
Referenced by getModuleFolder(), setFedFolder(), and setModuleFolder().
|
private |
Definition at line 46 of file SiPixelFolderOrganizer.h.