test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 <string>
9 #include <mutex>
10 
11 #include "DQMFileSaverBase.h"
12 
13 namespace dqm {
14 
16  public:
19 
20  static const std::string fillOrigin(const std::string filename,
21  const std::string final_filename);
22 
23  protected:
24  virtual void saveLumi(const FileParameters& fp) const override;
25  virtual void saveRun(const FileParameters& fp) const override;
26 
27  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 } // dqm namespace
49 
50 #endif // DQMSERVICES_COMPONENTS_DQMFILESAVEROUTPUT_H
static const std::string fillOrigin(const std::string filename, const std::string final_filename)
static boost::mutex mutex
Definition: LHEProxy.cc:11
static const std::string filename(const FileParameters &fp, bool useLumi=false)
void appendSnapshot(SnapshotFiles new_snap) const
void checkError(const char *msg, const std::string file, int status) const
void makeSnapshot(const FileParameters &fp, bool final) const
std::list< SnapshotFiles > snapshots_
virtual void saveRun(const FileParameters &fp) const override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
DQMFileSaverOnline(const edm::ParameterSet &ps)
tuple status
Definition: mps_update.py:57
virtual void saveLumi(const FileParameters &fp) const override