CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DQMFileSaverOnline.h
Go to the documentation of this file.
1 #ifndef DQMSERVICES_COMPONENTS_DQMFILESAVEROUTPUT_H
2 #define DQMSERVICES_COMPONENTS_DQMFILESAVEROUTPUT_H
3 
6 
7 #include <sys/time.h>
8 #include <mutex>
9 #include <string>
10 
11 #include "DQMFileSaverBase.h"
12 
13 namespace dqm {
14 
16  public:
18  ~DQMFileSaverOnline() override;
19 
20  static const std::string fillOrigin(const std::string& filename, const std::string& final_filename);
21 
22  protected:
23  void saveLumi(const FileParameters& fp) const override;
24  void saveRun(const FileParameters& fp) const override;
25 
26  protected:
29 
30  // snapshot making
31  struct SnapshotFiles {
34  };
35 
36  void makeSnapshot(const FileParameters& fp, bool final) const;
37  void appendSnapshot(SnapshotFiles new_snap) const;
38 
40  mutable std::list<SnapshotFiles> snapshots_;
41 
42  void checkError(const char* msg, const std::string& file, int status) const;
43 
44  public:
45  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
46  };
47 
48 } // namespace dqm
49 
50 #endif // DQMSERVICES_COMPONENTS_DQMFILESAVEROUTPUT_H
static std::mutex mutex
Definition: Proxy.cc:8
list status
Definition: mps_update.py:107
static const std::string fillOrigin(const std::string &filename, const std::string &final_filename)
static const std::string filename(const FileParameters &fp, bool useLumi=false)
void checkError(const char *msg, const std::string &file, int status) const
~DQMFileSaverOnline() override
void appendSnapshot(SnapshotFiles new_snap) const
void makeSnapshot(const FileParameters &fp, bool final) const
std::list< SnapshotFiles > snapshots_
void saveRun(const FileParameters &fp) const override
tuple msg
Definition: mps_check.py:285
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
DQMFileSaverOnline(const edm::ParameterSet &ps)
void saveLumi(const FileParameters &fp) const override