1 #ifndef CalibTracker_SiStripESProducer_DummyCondObjPrinter_h 2 #define CalibTracker_SiStripESProducer_DummyCondObjPrinter_h 18 template<
typename TObject,
typename TRecord>
33 template<
typename TObject,
typename TRecord>
35 edm::LogInfo(
"DummyCondObjPrinter") <<
"DummyCondObjPrinter constructor for typename " <<
typeid(TObject).
name() <<
" and record " <<
typeid(TRecord).
name() << std::endl;
39 template<
typename TObject,
typename TRecord>
41 edm::LogInfo(
"DummyCondObjPrinter") <<
"DummyCondObjPrinter::~DummyCondObjPrinter()" << std::endl;
44 template<
typename TObject,
typename TRecord>
47 if(
cacheID == es.
get<TRecord>().cacheIdentifier())
53 es.
get<TRecord>().
get( esobj );
56 std::stringstream sSummary, sDebug;
57 esobj->printSummary(sSummary, tTopo.
product());
58 esobj->printDebug(sDebug, tTopo.
product());
62 edm::LogPrint(
"DummyCondObjContentPrinter") <<
"\nPrintSummary \n" << sSummary.str() << std::endl;
63 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