#include <DummyCondObjPrinter.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &es) |
DummyCondObjPrinter (const edm::ParameterSet &iConfig) | |
~DummyCondObjPrinter () | |
Private Attributes | |
unsigned long long | cacheID |
edm::ParameterSet | iConfig_ |
Definition at line 17 of file DummyCondObjPrinter.h.
DummyCondObjPrinter< TObject, TRecord >::DummyCondObjPrinter | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 32 of file DummyCondObjPrinter.h.
References mergeVDriftHistosByStation::name.
:iConfig_(iConfig),cacheID(0){ edm::LogInfo("DummyCondObjPrinter") << "DummyCondObjPrinter constructor for typename " << typeid(TObject).name() << " and record " << typeid(TRecord).name() << std::endl; }
DummyCondObjPrinter< TObject, TRecord >::~DummyCondObjPrinter | ( | ) |
Definition at line 38 of file DummyCondObjPrinter.h.
{ edm::LogInfo("DummyCondObjPrinter") << "DummyCondObjPrinter::~DummyCondObjPrinter()" << std::endl; }
void DummyCondObjPrinter< TObject, TRecord >::analyze | ( | const edm::Event & | e, |
const edm::EventSetup & | es | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 43 of file DummyCondObjPrinter.h.
References edm::EventSetup::get().
{ if( cacheID == es.get<TRecord>().cacheIdentifier()) return; cacheID = es.get<TRecord>().cacheIdentifier(); edm::ESHandle<TObject> esobj; es.get<TRecord>().get( esobj ); std::stringstream sSummary, sDebug; esobj->printSummary(sSummary); esobj->printDebug(sDebug); edm::LogInfo("DummyCondObjPrinter") << "\nPrintSummary \n" << sSummary.str() << std::endl; edm::LogWarning("DummyCondObjPrinter") << "\nPrintDebug \n" << sDebug.str() << std::endl; }
unsigned long long DummyCondObjPrinter< TObject, TRecord >::cacheID [private] |
Definition at line 28 of file DummyCondObjPrinter.h.
edm::ParameterSet DummyCondObjPrinter< TObject, TRecord >::iConfig_ [private] |
Definition at line 27 of file DummyCondObjPrinter.h.