CMS 3D CMS Logo

RPCBookFolderStructure Class Reference

Date
2008/09/28 16:54:20
Revision
1.2
More...

#include <DQM/RPCMonitorDigi/interface/RPCBookFolderStructure.h>

List of all members.

Public Member Functions

std::string folderStructure (RPCDetId detId)
std::string folderStructure (RPCDetId detId)
 RPCBookFolderStructure ()
 RPCBookFolderStructure ()
 ~RPCBookFolderStructure ()
 ~RPCBookFolderStructure ()


Detailed Description

Date
2008/09/28 16:54:20
Revision
1.2

Date
2008/10/24 12:56:19
Revision
1.3

Author:
Anna Cimmino (INFN Napoli)
Create folder structure for DQM histo saving

Definition at line 15 of file RPCBookFolderStructure.h.


Constructor & Destructor Documentation

RPCBookFolderStructure::RPCBookFolderStructure (  )  [inline, explicit]

Definition at line 17 of file RPCBookFolderStructure.h.

00017 {};

RPCBookFolderStructure::~RPCBookFolderStructure (  )  [inline]

Definition at line 18 of file RPCBookFolderStructure.h.

00018 {};

RPCBookFolderStructure::RPCBookFolderStructure (  )  [inline, explicit]

Definition at line 17 of file RPCBookFolderStructure.h.

00017 {};

RPCBookFolderStructure::~RPCBookFolderStructure (  )  [inline]

Definition at line 18 of file RPCBookFolderStructure.h.

00018 {};


Member Function Documentation

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       }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:30:53 2009 for CMSSW by  doxygen 1.5.4