37 labelToGet_(ps.getParameter<
std::
string>(
"labelToGet")) {
40 <<
"DQMXMLFileEventSetupAnalyzer(const edm::ParameterSet &ps)" << std::endl;
45 edm::LogPrint(
"DQMXMLFileEventSetupAnalyzer") <<
"DQMXMLFileEventSetupAnalyzer(int i) " <<
i << std::endl;
50 edm::LogPrint(
"DQMXMLFileEventSetupAnalyzer") <<
"~DQMXMLFileEventSetupAnalyzer" << std::endl;
56 edm::LogPrint(
"DQMXMLFileEventSetupAnalyzer") <<
"DQMXMLFileEventSetupAnalyzer::beginRun()" << std::endl;
62 throw cms::Exception(
"Record not found") <<
"Record \"DQMXMLFileRcd" 63 <<
"\" does not exist!" << std::endl;
68 std::unique_ptr<std::vector<unsigned char> > tb1((*rootgeo).getUncompressedBlob());
71 std::ofstream
output1(outfile1.c_str());
72 output1.write((
const char*)&(*tb1)[0], tb1->size());
const TypeTag & type() const
#define DEFINE_FWK_MODULE(type)
~DQMXMLFileEventSetupAnalyzer() override
DQMXMLFileEventSetupAnalyzer(const edm::ParameterSet &pset)
bool getData(T &iHolder) const
Log< level::Warning, true > LogPrint
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
heterocontainer::HCTypeTag TypeTag
const edm::ESGetToken< FileBlob, DQMXMLFileRcd > fileBlobToken_
void beginRun(edm::Run const &, edm::EventSetup const &)
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag