CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/DQM/SiPixelCommon/interface/SiPixelFolderOrganizer.h

Go to the documentation of this file.
00001 #ifndef SiPixelCommon_SiPixelFolderOrganizer_h
00002 #define SiPixelCommon_SiPixelFolderOrganizer_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     SiPixelCommon
00006 // Class  :     SiPixelFolderOrganizer
00007 // 
00016 //
00017 // Original Author:  chiochia
00018 //         Created:  Thu Jan 26 23:49:46 CET 2006
00019 // $Id: SiPixelFolderOrganizer.h,v 1.5 2008/06/06 15:55:01 merkelp Exp $
00020 #include "DQMServices/Core/interface/DQMStore.h"
00021 #include <boost/cstdint.hpp>
00022 #include <string>
00023 
00024 class SiPixelFolderOrganizer {
00025   
00026  public:
00027 
00029   SiPixelFolderOrganizer();
00030 
00032   virtual ~SiPixelFolderOrganizer();
00033   
00035   //type is: BPIX  mod=0, lad=1, lay=2, phi=3, 
00036   //         FPIX  mod=0, blade=4, disc=5, ring=6
00037   bool setModuleFolder(const uint32_t& rawdetid=0, int type=0);
00038   void getModuleFolder(const uint32_t& rawdetid, std::string& path);
00039 
00041   bool setFedFolder(const uint32_t FedId);
00042   
00043  private:
00044 
00045   std::string rootFolder;
00046   std::string slash;
00047   DQMStore* dbe_;
00048 };
00049 #endif