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(int run,
23  int lumi,
24  const std::string& dataFilePathName,
25  const std::string& transferDestinationStr,
26  const std::string& mergeTypeStr,
28 
29  protected:
30  void initRun() const override;
31  void saveLumi(const FileParameters& fp) const override;
32  void saveRun(const FileParameters& fp) const override;
33  void savePB(DQMStore* store, std::string const& filename, int run, int lumi) const;
34 
39 
40  public:
41  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
42  };
43 
44 } // namespace dqm
45 
46 #endif // DQMSERVICES_COMPONENTS_DQMFILESAVERPB_H
DQMFileSaverBase.h
dqm::DQMFileSaverBase::FileParameters
Definition: DQMFileSaverBase.h:33
dqm::DQMFileSaverBase::filename
static const std::string filename(const FileParameters &fp, bool useLumi=false)
Definition: DQMFileSaverBase.cc:84
dqm::DQMFileSaverPB::DQMFileSaverPB
DQMFileSaverPB(const edm::ParameterSet &ps)
Definition: DQMFileSaverPB.cc:32
dqm::DQMFileSaverPB::fakeFilterUnitMode_
bool fakeFilterUnitMode_
Definition: DQMFileSaverPB.h:35
DQMStore.h
personalPlayback.fp
fp
Definition: personalPlayback.py:523
evf::FastMonitoringService
Definition: FastMonitoringService.h:69
dqm::legacy::DQMStore
Definition: DQMStore.h:727
dqm::DQMFileSaverPB::savePB
void savePB(DQMStore *store, std::string const &filename, int run, int lumi) const
Definition: DQMFileSaverPB.cc:208
dqm::DQMFileSaverBase
Definition: DQMFileSaverBase.h:23
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
dqm::DQMFileSaverPB::transferDestination_
std::string transferDestination_
Definition: DQMFileSaverPB.h:37
dqm::DQMFileSaverPB::mergeType_
std::string mergeType_
Definition: DQMFileSaverPB.h:38
dqm::DQMFileSaverPB
Definition: DQMFileSaverPB.h:15
dqm::DQMFileSaverPB::~DQMFileSaverPB
~DQMFileSaverPB() override
dqm::DQMFileSaverPB::saveRun
void saveRun(const FileParameters &fp) const override
Definition: DQMFileSaverPB.cc:105
dqm::DQMFileSaverPB::saveLumi
void saveLumi(const FileParameters &fp) const override
Definition: DQMFileSaverPB.cc:56
writedatasetfile.run
run
Definition: writedatasetfile.py:27
dqm::DQMFileSaverPB::fillJson
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)
Definition: DQMFileSaverPB.cc:109
dqm::DQMFileSaverPB::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: DQMFileSaverPB.cc:191
dqm::DQMFileSaverPB::streamLabel_
std::string streamLabel_
Definition: DQMFileSaverPB.h:36
dqm
Definition: DQMStore.h:18
lumi
Definition: LumiSectionData.h:20
EDAnalyzer.h
dqm::DQMFileSaverPB::initRun
void initRun() const override
Definition: DQMFileSaverPB.cc:42