CMS 3D CMS Logo

DQMProtobufReader.h
Go to the documentation of this file.
6 
11 
13 
14 #include "DQMFileIterator.h"
15 #include "DQMMonitoringService.h"
16 
17 namespace dqmservices {
18 
20  public:
23 
25  ~DQMProtobufReader() override;
26  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
27 
28  private:
29  void load(DQMStore* store, std::string filename);
31  std::shared_ptr<edm::RunAuxiliary> readRunAuxiliary_() override;
32  std::shared_ptr<edm::LuminosityBlockAuxiliary> readLuminosityBlockAuxiliary_() override;
33  void readRun_(edm::RunPrincipal& rpCache) override;
35  void readEvent_(edm::EventPrincipal&) override;
36 
37  // actual reading will happen here
38  void beginLuminosityBlock(edm::LuminosityBlock& lb) override;
39 
40  void logFileAction(char const* msg, char const* fileName) const;
41  bool prepareNextFile();
42 
47 
48  std::unique_ptr<double> streamReader_;
51 
52  InputSource::ItemType nextItemType;
53  };
54 
55 } // namespace dqmservices
dqmservices::DQMProtobufReader::DQMProtobufReader
DQMProtobufReader(edm::ParameterSet const &, edm::InputSourceDescription const &)
Definition: DQMProtobufReader.cc:22
ConfigurationDescriptions.h
dqmservices
Definition: DQMFileIterator.cc:18
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
LuminosityBlock.h
dqmservices::DQMProtobufReader::readLuminosityBlockAuxiliary_
std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
Definition: DQMProtobufReader.cc:96
dqmservices::DQMProtobufReader::prepareNextFile
bool prepareNextFile()
dqmservices::DQMProtobufReader::beginLuminosityBlock
void beginLuminosityBlock(edm::LuminosityBlock &lb) override
Definition: DQMProtobufReader.cc:114
edm::LuminosityBlockPrincipal
Definition: LuminosityBlockPrincipal.h:31
edm::InputSourceDescription
Definition: InputSourceDescription.h:21
DQMStore.h
DQMFileIterator.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
mps_check.msg
tuple msg
Definition: mps_check.py:285
dqmservices::DQMProtobufReader::getNextItemType
edm::InputSource::ItemType getNextItemType() override
Definition: DQMProtobufReader.cc:37
dqmservices::DQMProtobufReader::streamReader_
std::unique_ptr< double > streamReader_
Definition: DQMProtobufReader.h:48
PuttableSourceBase.h
MillePedeFileConverter_cfg.fileName
fileName
Definition: MillePedeFileConverter_cfg.py:32
dqmservices::DQMFileIterator::LumiEntry
Definition: DQMFileIterator.h:20
dqmservices::DQMProtobufReader::flagSkipFirstLumis_
bool flagSkipFirstLumis_
Definition: DQMProtobufReader.h:43
edm::EventPrincipal
Definition: EventPrincipal.h:48
dqm::legacy::DQMStore
Definition: DQMStore.h:728
dqmservices::DQMProtobufReader::readEvent_
void readEvent_(edm::EventPrincipal &) override
Definition: DQMProtobufReader.cc:274
dqmservices::DQMProtobufReader::~DQMProtobufReader
~DQMProtobufReader() override
Definition: DQMProtobufReader.cc:35
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
ParameterSetDescription.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ParameterSet
Definition: ParameterSet.h:47
dqmservices::DQMProtobufReader::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: DQMProtobufReader.h:21
RunPrincipal.h
dqmservices::DQMProtobufReader::fiterator_
DQMFileIterator fiterator_
Definition: DQMProtobufReader.h:49
dqmservices::DQMFileIterator
Definition: DQMFileIterator.h:18
dqmservices::DQMProtobufReader::logFileAction
void logFileAction(char const *msg, char const *fileName) const
dqmservices::DQMProtobufReader::flagLoadFiles_
bool flagLoadFiles_
Definition: DQMProtobufReader.h:46
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LuminosityBlockPrincipal.h
InputSourceMacros.h
dqmservices::DQMProtobufReader::readRunAuxiliary_
std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
Definition: DQMProtobufReader.cc:78
edm::InputSource::ItemType
ItemType
Definition: InputSource.h:54
dqmservices::DQMProtobufReader::readLuminosityBlock_
void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lbCache) override
Definition: DQMProtobufReader.cc:106
dqmservices::DQMProtobufReader::flagEndOfRunKills_
bool flagEndOfRunKills_
Definition: DQMProtobufReader.h:44
Frameworkfwd.h
dqmservices::DQMProtobufReader
Definition: DQMProtobufReader.h:19
dqmservices::DQMProtobufReader::load
void load(DQMStore *store, std::string filename)
Definition: DQMProtobufReader.cc:154
dqmservices::DQMProtobufReader::nextItemType
InputSource::ItemType nextItemType
Definition: DQMProtobufReader.h:52
dqmservices::DQMProtobufReader::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: DQMProtobufReader.h:22
edm::RunPrincipal
Definition: RunPrincipal.h:34
edm::PuttableSourceBase
Definition: PuttableSourceBase.h:30
dqmservices::DQMProtobufReader::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: DQMProtobufReader.cc:276
dqmservices::DQMProtobufReader::flagDeleteDatFiles_
bool flagDeleteDatFiles_
Definition: DQMProtobufReader.h:45
dqmservices::DQMProtobufReader::readRun_
void readRun_(edm::RunPrincipal &rpCache) override
Definition: DQMProtobufReader.cc:85
ProducerSourceBase.h
DQMMonitoringService.h
dqmservices::DQMProtobufReader::currentLumi_
DQMFileIterator::LumiEntry currentLumi_
Definition: DQMProtobufReader.h:50