#include <DTConfigPluginHandler.h>
Public Member Functions | |
virtual int | get (const edm::EventSetup &context, int cfgId, const DTKeyedConfig *&obj) |
get content More... | |
virtual int | get (const DTKeyedConfigListRcd &keyRecord, int cfgId, const DTKeyedConfig *&obj) |
virtual void | getData (const edm::EventSetup &context, int cfgId, std::vector< std::string > &list) |
virtual void | getData (const DTKeyedConfigListRcd &keyRecord, int cfgId, std::vector< std::string > &list) |
void | purge () |
purge db copy More... | |
virtual | ~DTConfigPluginHandler () |
Public Member Functions inherited from DTConfigAbstractHandler | |
virtual | ~DTConfigAbstractHandler () |
Static Public Member Functions | |
static void | build () |
build static object More... | |
Static Public Member Functions inherited from DTConfigAbstractHandler | |
static DTConfigAbstractHandler * | getInstance () |
get static object More... | |
Static Public Attributes | |
static const int | maxBrickNumber = 5000 |
static const int | maxByteNumber = 10000000 |
static const int | maxStringNumber = 100000 |
Private Types | |
typedef std::pair< int, const DTKeyedConfig * > | counted_brick |
Private Member Functions | |
DTConfigPluginHandler () | |
DTConfigPluginHandler (const DTConfigPluginHandler &x) | |
const DTConfigPluginHandler & | operator= (const DTConfigPluginHandler &x) |
Private Attributes | |
std::map< int, counted_brick > | brickMap |
int | cachedBrickNumber |
int | cachedByteNumber |
int | cachedStringNumber |
Additional Inherited Members | |
Protected Member Functions inherited from DTConfigAbstractHandler | |
DTConfigAbstractHandler () | |
Static Protected Attributes inherited from DTConfigAbstractHandler | |
static DTConfigAbstractHandler * | instance = 0 |
Description: Class to hold configuration identifier for chambers
Definition at line 34 of file DTConfigPluginHandler.h.
|
private |
Definition at line 71 of file DTConfigPluginHandler.h.
|
virtual |
|
private |
Constructor
Definition at line 40 of file DTConfigPluginHandler.cc.
Referenced by build().
|
private |
|
static |
build static object
Operations
Definition at line 64 of file DTConfigPluginHandler.cc.
References DTConfigPluginHandler(), and DTConfigAbstractHandler::instance.
Referenced by DTConfigHandlerFactory::DTConfigHandlerFactory().
|
virtual |
get content
Reimplemented from DTConfigAbstractHandler.
Definition at line 69 of file DTConfigPluginHandler.cc.
References edm::EventSetup::get().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
virtual |
Reimplemented from DTConfigAbstractHandler.
Definition at line 75 of file DTConfigPluginHandler.cc.
References brickMap, cachedBrickNumber, cachedByteNumber, cachedStringNumber, DTKeyedConfig::dataBegin(), DTKeyedConfig::dataEnd(), alignCSCRings::e, cppFunctionSkipper::exception, cond::persistency::KeyList::get(), edm::eventsetup::EventSetupRecord::get(), DTKeyedConfig::getId(), cond::persistency::KeyList::load(), maxBrickNumber, maxByteNumber, maxStringNumber, edm::ESHandle< class >::product(), and findQualityFiles::size.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
virtual |
Reimplemented from DTConfigAbstractHandler.
Definition at line 160 of file DTConfigPluginHandler.cc.
References edm::EventSetup::get().
Referenced by getData().
|
virtual |
Reimplemented from DTConfigAbstractHandler.
Definition at line 167 of file DTConfigPluginHandler.cc.
References DTKeyedConfig::dataBegin(), DTKeyedConfig::dataEnd(), getData(), DTKeyedConfig::linkBegin(), DTKeyedConfig::linkEnd(), and getGTfromDQMFile::obj.
|
private |
|
virtual |
purge db copy
Reimplemented from DTConfigAbstractHandler.
Definition at line 183 of file DTConfigPluginHandler.cc.
References brickMap, cachedBrickNumber, cachedByteNumber, cachedStringNumber, and gather_cfg::cout.
Referenced by ~DTConfigPluginHandler().
|
private |
Definition at line 72 of file DTConfigPluginHandler.h.
|
private |
Definition at line 73 of file DTConfigPluginHandler.h.
|
private |
Definition at line 75 of file DTConfigPluginHandler.h.
|
private |
Definition at line 74 of file DTConfigPluginHandler.h.
|
static |
Definition at line 59 of file DTConfigPluginHandler.h.
Referenced by get().
|
static |
Definition at line 61 of file DTConfigPluginHandler.h.
Referenced by get().
|
static |
Definition at line 60 of file DTConfigPluginHandler.h.
Referenced by get().