9 #ifndef RPCBookFolderStructure_H
10 #define RPCBookFolderStructure_H
22 std::stringstream myStream ;
26 myStream <<
"Barrel/Wheel_"<<detId.
ring()<<
"/sector_"<<detId.
sector()<<
"/station_"<<detId.
station();
27 else if(detId.
region() == -1)
28 myStream <<
"Endcap-/Disk_-"<<detId.
station()<<
"/ring_"<<detId.
ring()<<
"/sector_"<<detId.
sector();
29 else if(detId.
region() == 1)
30 myStream <<
"Endcap+/Disk_"<<detId.
station()<<
"/ring_"<<detId.
ring()<<
"/sector_"<<detId.
sector();
31 else myStream <<
"Error/Folder/Creation";
33 return myStream.str();
~RPCBookFolderStructure()
std::string folderStructure(RPCDetId detId)
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.