File indexing completed on 2024-04-06 12:08:15
0001 #ifndef SiPixelCommon_SiPixelFolderOrganizer_h
0002 #define SiPixelCommon_SiPixelFolderOrganizer_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include "DQMServices/Core/interface/DQMStore.h"
0023 #include <string>
0024 #include <cstdint>
0025
0026 class SiPixelFolderOrganizer {
0027 public:
0028 typedef dqm::legacy::DQMStore DQMStore;
0029 typedef dqm::legacy::MonitorElement MonitorElement;
0030
0031
0032
0033 SiPixelFolderOrganizer(bool getStore = true);
0034
0035
0036 virtual ~SiPixelFolderOrganizer();
0037
0038
0039
0040
0041 bool setModuleFolder(const uint32_t &rawdetid = 0, int type = 0, bool isUpgrade = false);
0042 bool setModuleFolder(DQMStore::IBooker &, const uint32_t &rawdetid = 0, int type = 0, bool isUpgrade = false);
0043 void getModuleFolder(const uint32_t &rawdetid, std::string &path, bool isUpgrade);
0044
0045
0046 bool setFedFolder(const uint32_t FedId);
0047 bool setFedFolder(DQMStore::IBooker &, const uint32_t FedId);
0048
0049 private:
0050 std::string topFolderName;
0051 DQMStore *dbe_;
0052 };
0053 #endif