#include <RPCBookFolderStructure.h>
Public Member Functions | |
std::string | folderStructure (RPCDetId detId) |
RPCBookFolderStructure () | |
~RPCBookFolderStructure () |
Create folder structure for DQM histo saving
Definition at line 15 of file RPCBookFolderStructure.h.
RPCBookFolderStructure::RPCBookFolderStructure | ( | ) | [inline, explicit] |
Definition at line 17 of file RPCBookFolderStructure.h.
{};
RPCBookFolderStructure::~RPCBookFolderStructure | ( | ) | [inline] |
Definition at line 18 of file RPCBookFolderStructure.h.
{};
std::string RPCBookFolderStructure::folderStructure | ( | RPCDetId | detId | ) | [inline] |
Definition at line 20 of file RPCBookFolderStructure.h.
References RPCDetId::region(), RPCDetId::ring(), RPCDetId::sector(), and RPCDetId::station().
Referenced by RPCDBPopConAnalyzer::analyze(), RPCEfficiencySecond::bookDetUnitSeg(), RPCMonitorDigi::bookRollME(), rpcdqmclient::clientTools::getMEs(), and RPCDqmClient::getMonitorElements().
{ std::stringstream myStream ; myStream.str(""); if(detId.region() == 0) myStream <<"Barrel/Wheel_"<<detId.ring()<<"/sector_"<<detId.sector()<<"/station_"<<detId.station(); else if(detId.region() == -1) myStream <<"Endcap-/Disk_-"<<detId.station()<<"/ring_"<<detId.ring()<<"/sector_"<<detId.sector(); else if(detId.region() == 1) myStream <<"Endcap+/Disk_"<<detId.station()<<"/ring_"<<detId.ring()<<"/sector_"<<detId.sector(); else myStream <<"Error/Folder/Creation"; return myStream.str(); }