1 #ifndef CondCore_ESSources_CondDBESSource_h 2 #define CondCore_ESSources_CondDBESSource_h 30 class DataProxyWrapperBase;
36 typedef std::shared_ptr<cond::DataProxyWrapperBase >
ProxyP;
37 typedef std::multimap< std::string, ProxyP>
ProxyMap;
39 typedef enum { NOREFRESH, REFRESH_ALWAYS, REFRESH_OPEN_IOVS, REFRESH_EACH_RUN, RECONNECT_EACH_RUN }
RefreshPolicy;
68 std::map<std::string,std::pair<cond::persistency::Session,std::string> >
m_sessionPool;
92 void fillList(
const std::string & pfn, std::vector<std::string> & pfnList,
const unsigned int listSize,
const std::string &
type);
94 void fillTagCollectionFromGT(
const std::string & connectionString,
98 std::set< cond::GTEntry_t > & tagcoll,
101 void fillTagCollectionFromDB(
const std::vector<std::string> & connectionStringList,
102 const std::vector<std::string> & prefixList,
103 const std::vector<std::string> & postfixList,
104 const std::vector<std::string> & roottagList,
105 std::map<std::string,cond::GTEntry_t>& replacement,
std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > KeyedProxies
std::map< std::string, unsigned int > m_lastRecordRuns
cond::persistency::ConnectionPool m_connection
std::map< std::string, cond::GTEntry_t > TagCollection
std::map< std::string, std::pair< cond::persistency::Session, std::string > > m_sessionPool
std::shared_ptr< cond::DataProxyWrapperBase > ProxyP
std::multimap< std::string, ProxyP > ProxyMap
TagCollection m_tagCollection
std::string m_connectionString