21 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"RunSummaryESAnalyzer" << std::endl;
24 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"RunSummaryESAnalyzer " <<
i << std::endl;
34 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"###RunSummaryESAnalyzer::analyze" << std::endl;
37 edm::LogPrint(
"RunSummaryESAnalyzer") <<
" I AM IN RUN NUMBER " <<
e.id().run() << std::endl;
38 edm::LogPrint(
"RunSummaryESAnalyzer") <<
" ---EVENT NUMBER " <<
e.id().event() << std::endl;
43 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"Record \"RunSummaryRcd" 44 <<
"\" does not exist " << std::endl;
46 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"got eshandle" << std::endl;
48 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"got context" << std::endl;
50 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"got RunSummary* " << std::endl;
52 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"print result" << std::endl;
54 std::vector<std::string> subdet =
summary->getSubdtIn();
55 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"subdetector in the run " << std::endl;
56 for (
size_t i = 0;
i < subdet.size();
i++) {
57 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