8 oracle::occi::Connection* conn) :
25 oracle::occi::Connection* conn,
58 oracle::occi::Connection* conn,
78 std::cout <<
"Erasing unwanted data" << std::endl;
81 m_keys.erase(
"SHAPECORRPN");
84 <<
" Type: " <<
m_type.size() << std::endl;
86 std::map<std::string, unsigned int>::iterator
i =
m_keys.begin();
87 std::map<std::string, unsigned int>::iterator
e =
m_keys.end();
92 std::cout <<
"Key " << i->first <<
" = " << i->second << std::endl;
104 m_keys[
"SHAPECORRPN"] = 0;
116 for (
int i = 0;
i < 10;
i++) {
188 float mean,
float rms,
float m3) {
206 x =
getData(
id,
"SHAPECORRPN");
224 return getData(
id,
"PNABMEAN");
242 x =
getData(
id,
"SHAPECORRPN");
260 return getData(
id,
"PNABMEAN");
int getFlag(EcalLogicID &id)
float getM3(EcalLogicID &id)
LMFPnPrimDat & setPN(EcalLogicID &id, float mean, float rms, float m3)
float getMean(EcalLogicID &id)
float getShapeCor(EcalLogicID &id)
std::map< int, std::vector< float > > m_data
LMFDat & setData(int logic_id, const std::vector< float > &data)
LMFPnPrimDat & setSystem(std::string s) override
std::vector< std::string > m_type
std::string getColor() const
LMFPnPrimDat & setRMS(EcalLogicID &id, float v)
LMFPnPrimDat & setShapeCorr(EcalLogicID &id, float mean)
LMFColoredTable & setColor(int color)
LMFPnPrimDat & setM3(EcalLogicID &id, float v)
LMFPnPrimDat & setFlag(EcalLogicID &id, int v)
std::map< int, std::vector< float > > getData()
float getPNAoverBM3(EcalLogicID &id)
float getPNAoverBMean(EcalLogicID &id)
float getPNAoverBRMS(EcalLogicID &id)
virtual LMFColoredTable & setSystem(int system)
LMFPnPrimDat & setPNAoverB(EcalLogicID &id, float mean, float rms, float m3)
std::map< std::string, unsigned int > m_keys
LMFPnPrimDat & setPNAoverBMean(EcalLogicID &id, float v)
LMFPnPrimDat & setPNAoverBRMS(EcalLogicID &id, float v)
float getRMS(EcalLogicID &id)
LMFPnPrimDat & setPNAoverBM3(EcalLogicID &id, float v)
LMFPnPrimDat & setMean(EcalLogicID &id, float v)
virtual std::string getSystem() const