22 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"RunSummaryESAnalyzer" << std::endl;
25 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"RunSummaryESAnalyzer " <<
i << std::endl;
35 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"###RunSummaryESAnalyzer::analyze" << std::endl;
38 edm::LogPrint(
"RunSummaryESAnalyzer") <<
" I AM IN RUN NUMBER " <<
e.id().run() << std::endl;
39 edm::LogPrint(
"RunSummaryESAnalyzer") <<
" ---EVENT NUMBER " <<
e.id().event() << std::endl;
44 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"Record \"RunSummaryRcd" 45 <<
"\" does not exist " << std::endl;
47 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"got eshandle" << std::endl;
49 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"got context" << std::endl;
51 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"got RunSummary* " << std::endl;
53 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"print result" << std::endl;
55 std::vector<std::string> subdet =
summary->getSubdtIn();
56 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"subdetector in the run " << std::endl;
57 for (
size_t i = 0;
i < subdet.size();
i++) {
58 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"--> " << subdet[
i] << std::endl;
const TypeTag & type() const
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
T const * product() const
RunSummaryESAnalyzer(int i)
~RunSummaryESAnalyzer() override
RunSummaryESAnalyzer(edm::ParameterSet const &p)
#define DEFINE_FWK_MODULE(type)
Log< level::Warning, true > LogPrint
const edm::ESGetToken< RunSummary, RunSummaryRcd > m_RunSummaryToken
heterocontainer::HCTypeTag TypeTag
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag