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