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  protected:
21  virtual void saveLumi(FileParameters fp) const;
22  virtual void saveRun(FileParameters fp) const;
23 
24  protected:
26 
27  // snapshot making
28  struct SnapshotFiles {
31  };
32 
33  void makeSnapshot(const FileParameters &fp, bool final) const;
34  void appendSnapshot(SnapshotFiles new_snap) const;
35 
37  mutable std::list<SnapshotFiles> snapshots_;
38 
39  void checkError(const char *msg, const std::string file, int status) const;
40 
41  public:
42  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
43 };
44 
45 } // dqm namespace
46 
47 #endif // DQMSERVICES_COMPONENTS_DQMFILESAVEROUTPUT_H
static boost::mutex mutex
Definition: LHEProxy.cc:11
virtual void saveRun(FileParameters fp) const
void appendSnapshot(SnapshotFiles new_snap) const
void checkError(const char *msg, const std::string file, int status) const
virtual void saveLumi(FileParameters fp) const
void makeSnapshot(const FileParameters &fp, bool final) const
std::list< SnapshotFiles > snapshots_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
tuple status
Definition: ntuplemaker.py:245
DQMFileSaverOnline(const edm::ParameterSet &ps)