CMS 3D CMS Logo

DQMFileSaverPB.h
Go to the documentation of this file.
1 #ifndef DQMSERVICES_COMPONENTS_DQMFILESAVERPB_H
2 #define DQMSERVICES_COMPONENTS_DQMFILESAVERPB_H
3 
6 
7 #include <sys/time.h>
8 #include <string>
9 #include <mutex>
10 
11 #include "DQMFileSaverBase.h"
12 
13 namespace dqm {
14 
16  public:
18  ~DQMFileSaverPB() override;
19 
20  // used by the JsonWritingTimedPoolOutputModule,
21  // fms will be nullptr in such case
22  static boost::property_tree::ptree fillJson(
23  int run, int lumi, const std::string &dataFilePathName, const std::string transferDestinationStr,
24  const std::string mergeTypeStr, evf::FastMonitoringService *fms);
25 
26  protected:
27  void initRun() const override;
28  void saveLumi(const FileParameters& fp) const override;
29  void saveRun(const FileParameters& fp) const override;
30 
35 
36  public:
37  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
38 };
39 
40 } // dqm namespace
41 
42 #endif // DQMSERVICES_COMPONENTS_DQMFILESAVERPB_H
std::string streamLabel_
std::string transferDestination_
void initRun() const override
DQMFileSaverPB(const edm::ParameterSet &ps)
static boost::property_tree::ptree fillJson(int run, int lumi, const std::string &dataFilePathName, const std::string transferDestinationStr, const std::string mergeTypeStr, evf::FastMonitoringService *fms)
void saveRun(const FileParameters &fp) const override
void saveLumi(const FileParameters &fp) const override
~DQMFileSaverPB() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::string mergeType_