1 #ifndef CalibTracker_SiStripESProducer_DummyCondObjPrinter_h 2 #define CalibTracker_SiStripESProducer_DummyCondObjPrinter_h 16 template <
typename TObject,
typename TRecord>
28 template <
typename TObject,
typename TRecord>
31 edm::LogInfo(
"DummyCondObjPrinter") <<
"DummyCondObjPrinter constructor for typename " <<
typeid(TObject).
name()
32 <<
" and record " <<
typeid(TRecord).
name() << std::endl;
35 template <
typename TObject,
typename TRecord>
37 edm::LogInfo(
"DummyCondObjPrinter") <<
"DummyCondObjPrinter::~DummyCondObjPrinter()" << std::endl;
40 template <
typename TObject,
typename TRecord>
42 if (
cacheID == es.
get<TRecord>().cacheIdentifier())
48 es.
get<TRecord>().
get(esobj);
51 std::stringstream sSummary, sDebug;
52 esobj->printSummary(sSummary, tTopo.
product());
53 esobj->printDebug(sDebug, tTopo.
product());
57 edm::LogPrint(
"DummyCondObjContentPrinter") <<
"\nPrintSummary \n" << sSummary.str() << std::endl;
58 edm::LogVerbatim(
"DummyCondObjContentPrinter") <<
"\nPrintDebug \n" << sDebug.str() << std::endl;
edm::ParameterSet iConfig_
void analyze(const edm::Event &e, const edm::EventSetup &es) override
~DummyCondObjPrinter() override
DummyCondObjPrinter(const edm::ParameterSet &iConfig)
T const * product() const
unsigned long long cacheID