21 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"RunSummaryESAnalyzer" << std::endl;
24 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"RunSummaryESAnalyzer " << i << std::endl;
33 using namespace edm::eventsetup;
34 edm::LogPrint(
"RunSummaryESAnalyzer") <<
"###RunSummaryESAnalyzer::analyze" << std::endl;
37 edm::LogPrint(
"RunSummaryESAnalyzer") <<
" I AM IN RUN NUMBER " << e.
id().
run() << 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;
EventNumber_t event() const
const edm::EventSetup & c
#define DEFINE_FWK_MODULE(type)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
RunSummaryESAnalyzer(int i)
~RunSummaryESAnalyzer() override
RunSummaryESAnalyzer(edm::ParameterSet const &p)
Log< level::Warning, true > LogPrint
const edm::ESGetToken< RunSummary, RunSummaryRcd > m_RunSummaryToken
heterocontainer::HCTypeTag TypeTag
const TypeTag & type() const
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag