1 #ifndef CalibTracker_SiStripESProducer_DummyCondObjPrinter_h 2 #define CalibTracker_SiStripESProducer_DummyCondObjPrinter_h 15 template<
typename TObject,
typename TRecord>
30 template<
typename TObject,
typename TRecord>
32 edm::LogInfo(
"DummyCondObjPrinter") <<
"DummyCondObjPrinter constructor for typename " <<
typeid(TObject).
name() <<
" and record " <<
typeid(TRecord).
name() << std::endl;
36 template<
typename TObject,
typename TRecord>
38 edm::LogInfo(
"DummyCondObjPrinter") <<
"DummyCondObjPrinter::~DummyCondObjPrinter()" << std::endl;
41 template<
typename TObject,
typename TRecord>
44 if(
cacheID == es.
get<TRecord>().cacheIdentifier())
50 es.
get<TRecord>().
get( esobj );
51 std::stringstream sSummary, sDebug;
52 esobj->printSummary(sSummary);
53 esobj->printDebug(sDebug);
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)
DummyCondObjPrinter(const edm::ParameterSet &iConfig)
unsigned long long cacheID