CMS 3D CMS Logo

DQMProtobufReader.h
Go to the documentation of this file.
6 
10 
11 #include "DQMFileIterator.h"
12 #include "DQMMonitoringService.h"
13 
14 namespace dqmservices {
15 
17  public:
18  explicit DQMProtobufReader(edm::ParameterSet const&,
21  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
22 
23  private:
25  virtual std::shared_ptr<edm::RunAuxiliary> readRunAuxiliary_() override;
26  virtual std::shared_ptr<edm::LuminosityBlockAuxiliary>
28  virtual void readRun_(edm::RunPrincipal& rpCache) override;
29  virtual void readLuminosityBlock_(
30  edm::LuminosityBlockPrincipal& lbCache) override;
31  virtual void readEvent_(edm::EventPrincipal&) override;
32 
33  // actual reading will happen here
34  virtual void beginLuminosityBlock(edm::LuminosityBlock& lb) override;
35 
36  void logFileAction(char const* msg, char const* fileName) const;
37  bool prepareNextFile();
38 
43 
44  std::unique_ptr<double> streamReader_;
47 
48  InputSource::ItemType nextItemType;
49 };
50 
51 } // end of namespace
virtual void readEvent_(edm::EventPrincipal &) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void readRun_(edm::RunPrincipal &rpCache) override
void logFileAction(char const *msg, char const *fileName) const
InputSource::ItemType nextItemType
virtual void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lbCache) override
virtual std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
virtual std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
virtual void beginLuminosityBlock(edm::LuminosityBlock &lb) override
DQMFileIterator::LumiEntry currentLumi_
virtual edm::InputSource::ItemType getNextItemType() override
std::unique_ptr< double > streamReader_
DQMProtobufReader(edm::ParameterSet const &, edm::InputSourceDescription const &)