CMS 3D CMS Logo

DQMProtobufReader.h
Go to the documentation of this file.
1 #ifndef DQMServices_StreamerIO_DQMProtobufReader_h
2 #define DQMServices_StreamerIO_DQMProtobufReader_h
3 
7 
8 #include "DQMFileIterator.h"
9 
10 namespace dqmservices {
11 
13  public:
16 
18  ~DQMProtobufReader() override = default;
19 
20  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
21 
22  private:
23  void load(DQMStore* store, std::string filename);
25  std::shared_ptr<edm::RunAuxiliary> readRunAuxiliary_() override;
26  std::shared_ptr<edm::LuminosityBlockAuxiliary> readLuminosityBlockAuxiliary_() override;
27  void readRun_(edm::RunPrincipal& rpCache) override;
29  void readEvent_(edm::EventPrincipal&) override;
30 
31  // actual reading will happen here
32  void beginLuminosityBlock(edm::LuminosityBlock& lb) override;
33 
34  void logFileAction(char const* msg, char const* fileName) const;
35  bool prepareNextFile();
36 
39 
40  bool const flagSkipFirstLumis_;
41  bool const flagEndOfRunKills_;
42  bool const flagDeleteDatFiles_;
43  bool const flagLoadFiles_;
44  };
45 
46 } // namespace dqmservices
47 
48 #endif // DQMServices_StreamerIO_DQMProtobufReader_h
edm::InputSource::ItemTypeInfo getNextItemType() override
void readEvent_(edm::EventPrincipal &) override
void load(DQMStore *store, std::string filename)
~DQMProtobufReader() override=default
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void readRun_(edm::RunPrincipal &rpCache) override
void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lbCache) override
std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
dqm::legacy::DQMStore DQMStore
std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
void logFileAction(char const *msg, char const *fileName) const
void beginLuminosityBlock(edm::LuminosityBlock &lb) override
dqm::legacy::MonitorElement MonitorElement
DQMFileIterator::LumiEntry currentLumi_
tuple msg
Definition: mps_check.py:286
DQMProtobufReader(edm::ParameterSet const &, edm::InputSourceDescription const &)