CMS 3D CMS Logo

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