1 #ifndef CondCore_ESSources_CondDBESSource_h
2 #define CondCore_ESSources_CondDBESSource_h
29 class DataProxyWrapperBase;
35 typedef boost::shared_ptr<cond::DataProxyWrapperBase >
ProxyP;
36 typedef std::multimap< std::string, ProxyP>
ProxyMap;
67 std::map<std::string,std::pair<cond::persistency::Session,std::string> >
m_sessionPool;
97 std::set< cond::GTEntry_t > & tagcoll);
100 const std::vector<std::string> & prefixList,
101 const std::vector<std::string> & postfixList,
102 const std::vector<std::string> & roottagList,
103 std::map<std::string,cond::GTEntry_t>& replacement);
virtual void registerProxies(const edm::eventsetup::EventSetupRecordKey &iRecordKey, KeyedProxies &aProxyList)
void fillTagCollectionFromGT(const std::string &connectionString, const std::string &prefix, const std::string &postfix, const std::string &roottag, std::set< cond::GTEntry_t > &tagcoll)
std::map< std::string, unsigned int > m_lastRecordRuns
std::vector< std::pair< DataKey, boost::shared_ptr< DataProxy > > > KeyedProxies
cond::persistency::ConnectionPool m_connection
std::map< std::string, cond::GTEntry_t > TagCollection
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
void fillList(const std::string &pfn, std::vector< std::string > &pfnList, const unsigned int listSize, const std::string &type)
std::map< std::string, std::pair< cond::persistency::Session, std::string > > m_sessionPool
std::multimap< std::string, ProxyP > ProxyMap
TagCollection m_tagCollection
std::string m_connectionString
virtual void newInterval(const edm::eventsetup::EventSetupRecordKey &iRecordType, const edm::ValidityInterval &iInterval)
called when a new interval of validity occurs for iRecordType
void fillTagCollectionFromDB(const std::vector< std::string > &connectionStringList, const std::vector< std::string > &prefixList, const std::vector< std::string > &postfixList, const std::vector< std::string > &roottagList, std::map< std::string, cond::GTEntry_t > &replacement)
CondDBESSource(const edm::ParameterSet &)
boost::shared_ptr< cond::DataProxyWrapperBase > ProxyP