#include <ESDBCopy.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &evt, const edm::EventSetup &evtSetup) |
ESDBCopy (const edm::ParameterSet &iConfig) | |
~ESDBCopy () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
void | copyToDB (const edm::EventSetup &evtSetup, std::string container) |
bool | shouldCopy (const edm::EventSetup &evtSetup, std::string container) |
Private Attributes | |
std::map< std::string, unsigned long long > | m_cacheIDs |
std::map< std::string, std::string > | m_records |
std::string | m_timetype |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 18 of file ESDBCopy.h.
|
explicit |
Definition at line 29 of file ESDBCopy.cc.
References edm::ParameterSet::getParameter(), i, m_cacheIDs, m_records, record, GlobalPosition_Frontier_DevDB_cff::tag, and copyFileAlignEB_cfg::toCopy.
ESDBCopy::~ESDBCopy | ( | ) |
Definition at line 50 of file ESDBCopy.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 55 of file ESDBCopy.cc.
References copyToDB(), i, m_records, record, and shouldCopy().
|
private |
Definition at line 106 of file ESDBCopy.cc.
References cond::service::PoolDBOutputService::beginOfTime(), gather_cfg::cout, cond::service::PoolDBOutputService::createNewIOV(), cond::service::PoolDBOutputService::endOfTime(), edm::hlt::Exception, edm::EventSetup::get(), patZpeak::handle, edm::Service< T >::isAvailable(), m_records, VarParsing::obj, edm::ESHandle< class >::product(), and ecalTPGAnalyzer_cfg::recordName.
Referenced by analyze().
|
private |
Definition at line 73 of file ESDBCopy.cc.
References edm::hlt::Exception, edm::EventSetup::get(), and m_cacheIDs.
Referenced by analyze().
|
private |
Definition at line 30 of file ESDBCopy.h.
Referenced by ESDBCopy(), and shouldCopy().
|
private |
Definition at line 31 of file ESDBCopy.h.
Referenced by analyze(), copyToDB(), and ESDBCopy().
|
private |
Definition at line 29 of file ESDBCopy.h.