24 LMFDat(oracle::occi::Environment *
env, oracle::occi::Connection *
conn);
68 std::vector<float>
getData(
int id);
77 std::map<int, std::vector<float> >
getData();
80 float getData(
int id,
unsigned int k);
93 std::map<int, std::vector<float> >::const_iterator
i =
m_data.begin();
94 std::map<int, std::vector<float> >::const_iterator
e =
m_data.end();
96 l.push_back(i->first);
104 std::list<std::string>
l;
105 std::map<std::string, unsigned int>::const_iterator
i =
m_keys.begin();
106 std::map<std::string, unsigned int>::const_iterator
e =
m_keys.end();
108 l.push_back(i->first);
114 void dump()
const override;
115 void dump(
int n)
const override;
116 virtual void dump(
int n,
int max)
const;
118 void fetch() noexcept(false);
119 void fetch(
int logic_id) noexcept(false);
132 int writeDB() noexcept(false) override;
145 std::map<std::
string,
unsigned int>
m_keys;
std::vector< std::string > _wherePars
std::list< int > getLogicIds()
tuple ret
prodAgent to be discontinued
LMFUnique & setInt(std::string key, int value)
oracle::occi::Environment * m_env
void getNeighbour(LMFDat *dat, int which) noexcept(false)
oracle::occi::Connection * m_conn
const edm::EventSetup & c
LMFDat & setLMFRunIOV(const LMFRunIOV &iov)
void adjustParameters(int n, std::string &sql, Statement *stmt)
uint16_t *__restrict__ id
void getPrevious(LMFDat *dat) noexcept(false)
int writeDB() noexcept(false) override
std::map< unsigned int, std::string > getReverseMap() const
Tm getSubRunStart() const
std::string buildInsertSql()
std::map< int, std::vector< float > > m_data
LMFDat & setData(int logic_id, const std::vector< float > &data)
std::vector< std::string > m_type
void getNext(LMFDat *dat) noexcept(false)
void setByID(int id) noexcept(false) override
int getInt(std::string fieldname) const
std::map< std::string, unsigned int > getKeys()
LMFDat & setData(const EcalLogicID &logic_id, const std::vector< float > &data)
std::map< int, std::vector< float > > fetchData() noexcept(false)
#define override(base_class)
void fetch() noexcept(false)
oracle::occi::Statement Statement
tuple key
prepare the HTCondor submission files and eventually submit them
LMFDat & setData(const EcalLogicID &logic_id, const std::string &key, float v)
Tm getSubrunStart() const
std::map< int, std::vector< float > > getData()
LMFDat & setMaxDataToDump(int n)
void dump() const override
void setWhereClause(std::string w)
std::vector< float > operator[](int id)
virtual std::string getIovIdFieldName() const
static std::vector< std::string > checklist dat
LMFRunIOV getLMFRunIOV() const
virtual std::string foreignKeyName() const
char data[epos_bytes_allocation]
std::map< std::string, unsigned int > m_keys
oracle::occi::Statement * stmt
virtual std::string getTableName() const
std::list< std::string > getKeyList()
std::string buildSelectSql(int logic_id=0, int direction=0)
void attach(std::string name, LMFUnique *u)
void getKeyTypes() noexcept(false)