#include <DQM/RPCMonitorDigi/interface/RPCBookFolderStructure.h>
Public Member Functions | |
std::string | folderStructure (RPCDetId detId) |
std::string | folderStructure (RPCDetId detId) |
RPCBookFolderStructure () | |
RPCBookFolderStructure () | |
~RPCBookFolderStructure () | |
~RPCBookFolderStructure () |
Create folder structure for DQM histo saving
Definition at line 15 of file RPCBookFolderStructure.h.
RPCBookFolderStructure::RPCBookFolderStructure | ( | ) | [inline, explicit] |
RPCBookFolderStructure::~RPCBookFolderStructure | ( | ) | [inline] |
RPCBookFolderStructure::RPCBookFolderStructure | ( | ) | [inline, explicit] |
RPCBookFolderStructure::~RPCBookFolderStructure | ( | ) | [inline] |
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().
00020 { 00021 00022 std::stringstream myStream ; 00023 myStream.str(""); 00024 00025 if(detId.region() == 0) 00026 myStream <<"Barrel/Wheel_"<<detId.ring()<<"/sector_"<<detId.sector()<<"/station_"<<detId.station(); 00027 else if(detId.region() == -1) 00028 myStream <<"Endcap-/Disk_"<<detId.station()<<"/ring_"<<detId.ring()<<"/sector_"<<detId.sector(); 00029 else if(detId.region() == 1) 00030 myStream <<"Endcap+/Disk_"<<detId.station()<<"/ring_"<<detId.ring()<<"/sector_"<<detId.sector(); 00031 else myStream <<"Region "<<detId.region()<< "not found!!! --- ERROR"; 00032 00033 return myStream.str(); 00034 }
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 RPCMonitorDigi::bookDetUnitME(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), RPCEventSummary::endLuminosityBlock(), RPCDeadChannelTest::endLuminosityBlock(), and RPCEfficiencySecond::endRun().
00020 { 00021 00022 std::stringstream myStream ; 00023 myStream.str(""); 00024 00025 if(detId.region() == 0) 00026 myStream <<"Barrel/Wheel_"<<detId.ring()<<"/sector_"<<detId.sector()<<"/station_"<<detId.station(); 00027 else if(detId.region() == -1) 00028 myStream <<"Endcap-/Disk_"<<detId.station()<<"/ring_"<<detId.ring()<<"/sector_"<<detId.sector(); 00029 else if(detId.region() == 1) 00030 myStream <<"Endcap+/Disk_"<<detId.station()<<"/ring_"<<detId.ring()<<"/sector_"<<detId.sector(); 00031 else myStream <<"Region "<<detId.region()<< "not found!!! --- ERROR"; 00032 00033 return myStream.str(); 00034 }