CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
ODWeightsDat Class Reference

#include <ODWeightsDat.h>

Inheritance diagram for ODWeightsDat:
IODConfig IDBObject

Public Member Functions

int getCrystalId () const
 
int getFedId () const
 
int getId () const
 
int getSMId () const
 
std::string getTable () override
 
int getTTId () const
 
std::vector< std::vector< float > > getWeight () const
 
float getWeight0 () const
 
float getWeight1 () const
 
float getWeight2 () const
 
float getWeight3 () const
 
float getWeight4 () const
 
float getWeight5 () const
 
 ODWeightsDat ()
 
void setCrystalId (int dac)
 
void setFedId (int dac)
 
void setId (int dac)
 
void setSMId (int dac)
 
void setTTId (int dac)
 
void setWeight (int pos, float x)
 
void setWeight0 (float x)
 
void setWeight1 (float x)
 
void setWeight2 (float x)
 
void setWeight3 (float x)
 
void setWeight4 (float x)
 
void setWeight5 (float x)
 
 ~ODWeightsDat () override
 
- Public Member Functions inherited from IODConfig
std::string getConfigTag ()
 
void setConfigTag (std::string x)
 
- Public Member Functions inherited from IDBObject
oracle::occi::Connection * getConn () const
 
oracle::occi::Environment * getEnv () const
 
void setConnection (oracle::occi::Environment *env, oracle::occi::Connection *conn)
 
virtual ~IDBObject ()
 

Private Member Functions

void clear ()
 
void fetchData (ODWeightsDat *p) noexcept(false)
 
void fetchData (std::vector< ODWeightsDat > *fillMap, ODFEWeightsInfo *iov) noexcept(false)
 
void prepareWrite () noexcept(false) override
 
void writeArrayDB (const std::vector< ODWeightsDat > &data, ODFEWeightsInfo *iov) noexcept(false)
 
void writeDB (const ODWeightsDat *item, ODFEWeightsInfo *iov) noexcept(false)
 

Private Attributes

std::vector< std::vector< float > > dccw
 
int m_fed
 
int m_ID
 
int m_sm
 
int m_tt
 
float m_wei [6]
 
float m_wei0
 
float m_wei1
 
float m_wei2
 
float m_wei3
 
float m_wei4
 
float m_wei5
 
int m_xt
 

Friends

class EcalCondDBInterface
 

Additional Inherited Members

- Public Types inherited from IODConfig
typedef oracle::occi::Clob Clob
 
typedef oracle::occi::SQLException SQLException
 
typedef oracle::occi::Statement Statement
 
typedef oracle::occi::Stream Stream
 
- Public Attributes inherited from IODConfig
std::string m_config_tag
 
- Static Public Attributes inherited from IDBObject
static const int ECALDB_NROWS = 1024
 
- Protected Member Functions inherited from IODConfig
void checkPrepare () noexcept(false)
 
void createReadStatement () noexcept(false)
 
void populateClob (Clob &clob, std::string fname, unsigned int bufsize) noexcept(false)
 
unsigned char * readClob (Clob &clob, int size) noexcept(false)
 
void setPrefetchRowCount (int ncount) noexcept(false)
 
void terminateReadStatement () noexcept(false)
 
void terminateWriteStatement () noexcept(false)
 
- Protected Member Functions inherited from IDBObject
void checkConnection () const noexcept(false)
 
- Protected Attributes inherited from IODConfig
Statementm_readStmt
 
Statementm_writeStmt
 
- Protected Attributes inherited from IDBObject
oracle::occi::Connection * m_conn
 
oracle::occi::Environment * m_env
 

Detailed Description

Definition at line 12 of file ODWeightsDat.h.

Constructor & Destructor Documentation

◆ ODWeightsDat()

ODWeightsDat::ODWeightsDat ( )

Definition at line 10 of file ODWeightsDat.cc.

10  {
11  m_env = nullptr;
12  m_conn = nullptr;
13  m_writeStmt = nullptr;
14  m_readStmt = nullptr;
15 
16  m_sm = 0;
17  m_fed = 0;
18  m_tt = 0;
19  m_xt = 0;
20 }

◆ ~ODWeightsDat()

ODWeightsDat::~ODWeightsDat ( )
override

Definition at line 22 of file ODWeightsDat.cc.

22 {}

Member Function Documentation

◆ clear()

void ODWeightsDat::clear ( void  )
private

Definition at line 24 of file ODWeightsDat.cc.

24  {
25  m_sm = 0;
26  m_fed = 0;
27  m_tt = 0;
28  m_xt = 0;
29  m_wei0 = 0;
30  m_wei1 = 0;
31  m_wei2 = 0;
32  m_wei3 = 0;
33  m_wei4 = 0;
34  m_wei5 = 0;
35 }

◆ fetchData() [1/2]

void ODWeightsDat::fetchData ( ODWeightsDat p)
privatenoexcept

Definition at line 117 of file ODWeightsDat.cc.

117  {
118  this->checkConnection();
119 
120  try {
121  m_readStmt->setSQL("SELECT * FROM " + getTable() + " WHERE rec_id = :1 order by sm_id, fed_id, tt_id, cry_id");
122  m_readStmt->setInt(1, p->getId());
123  ResultSet* rset = m_readStmt->executeQuery();
124 
125  int row = 0;
126  while (rset->next()) {
127  row++;
128  p->setSMId(rset->getInt(2));
129  p->setFedId(rset->getInt(3));
130  p->setTTId(rset->getInt(4));
131  p->setCrystalId(rset->getInt(5));
132  for (int iwei = 0; iwei < 6; iwei++) {
133  p->setWeight(iwei, rset->getFloat(6 + iwei));
134  }
135  std::vector<float> dccwei(m_wei, m_wei + 6);
136  dccw.push_back(dccwei); // vector vector
137  } // loop on all rows in the table
138  std::cout << " table " << getTable() << " total nb of rows " << row << std::endl;
139 
140  } catch (SQLException& e) {
141  throw(std::runtime_error("ODWeightsDat::fetchData(): " + e.getMessage()));
142  }
143 }

References gather_cfg::cout, MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_ParallelJobs::p.

◆ fetchData() [2/2]

void ODWeightsDat::fetchData ( std::vector< ODWeightsDat > *  fillMap,
ODFEWeightsInfo iov 
)
privatenoexcept

Definition at line 73 of file ODWeightsDat.cc.

73  {
74  this->checkConnection();
75 
76  iov->setConnection(m_env, m_conn);
77  int iovID = iov->fetchID();
78  if (!iovID) {
79  std::cout << "ID not in the DB" << endl;
80  return;
81  }
82 
83  try {
84  m_readStmt->setSQL("SELECT * FROM " + getTable() + " WHERE rec_id = :rec_id order by sm_id, fed_id, tt_id, cry_id");
85  m_readStmt->setInt(1, iovID);
86  ResultSet* rset = m_readStmt->executeQuery();
87 
88  // std::vector< ODWeightsDat > p;
89  ODWeightsDat dat;
90  while (rset->next()) {
91  // dat.setId( rset->getInt(1) );
92  dat.setSMId(rset->getInt(2));
93  dat.setFedId(rset->getInt(3));
94  dat.setTTId(rset->getInt(4));
95  dat.setCrystalId(rset->getInt(5));
96  /*
97  dat.setWeight0( rset->getFloat(6) );
98  dat.setWeight1( rset->getFloat(7) );
99  dat.setWeight2( rset->getFloat(8) );
100  dat.setWeight3( rset->getFloat(9) );
101  dat.setWeight4( rset->getFloat(10) );
102  dat.setWeight5( rset->getFloat(11) );
103  */
104  p->push_back(dat);
105  for (int iwei = 0; iwei < 6; iwei++) {
106  dat.setWeight(iwei, rset->getFloat(6 + iwei));
107  }
108  std::vector<float> dccwei(m_wei, m_wei + 6);
109  dccw.push_back(dccwei); // vector vector
110  }
111 
112  } catch (SQLException& e) {
113  throw(std::runtime_error("ODWeightsDat::fetchData(): " + e.getMessage()));
114  }
115 }

References gather_cfg::cout, MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setCrystalId(), setFedId(), setSMId(), setTTId(), and setWeight().

◆ getCrystalId()

int ODWeightsDat::getCrystalId ( ) const
inline

Definition at line 34 of file ODWeightsDat.h.

34 { return m_xt; }

References m_xt.

Referenced by writeArrayDB().

◆ getFedId()

int ODWeightsDat::getFedId ( ) const
inline

Definition at line 28 of file ODWeightsDat.h.

28 { return m_fed; }

References m_fed.

Referenced by writeArrayDB().

◆ getId()

int ODWeightsDat::getId ( void  ) const
inline

Definition at line 22 of file ODWeightsDat.h.

22 { return m_ID; }

References m_ID.

◆ getSMId()

int ODWeightsDat::getSMId ( ) const
inline

Definition at line 25 of file ODWeightsDat.h.

25 { return m_sm; }

References m_sm.

Referenced by writeArrayDB().

◆ getTable()

std::string ODWeightsDat::getTable ( )
inlineoverridevirtual

Implements IODConfig.

Definition at line 19 of file ODWeightsDat.h.

19 { return "DCC_WEIGHTS_DAT"; }

◆ getTTId()

int ODWeightsDat::getTTId ( ) const
inline

Definition at line 31 of file ODWeightsDat.h.

31 { return m_tt; }

References m_tt.

Referenced by writeArrayDB().

◆ getWeight()

std::vector<std::vector<float> > ODWeightsDat::getWeight ( ) const
inline

Definition at line 52 of file ODWeightsDat.h.

52 { return dccw; }

References dccw.

◆ getWeight0()

float ODWeightsDat::getWeight0 ( ) const
inline

Definition at line 45 of file ODWeightsDat.h.

45 { return m_wei0; }

References m_wei0.

Referenced by writeArrayDB().

◆ getWeight1()

float ODWeightsDat::getWeight1 ( ) const
inline

Definition at line 46 of file ODWeightsDat.h.

46 { return m_wei1; }

References m_wei1.

Referenced by writeArrayDB().

◆ getWeight2()

float ODWeightsDat::getWeight2 ( ) const
inline

Definition at line 47 of file ODWeightsDat.h.

47 { return m_wei2; }

References m_wei2.

Referenced by writeArrayDB().

◆ getWeight3()

float ODWeightsDat::getWeight3 ( ) const
inline

Definition at line 48 of file ODWeightsDat.h.

48 { return m_wei3; }

References m_wei3.

Referenced by writeArrayDB().

◆ getWeight4()

float ODWeightsDat::getWeight4 ( ) const
inline

Definition at line 49 of file ODWeightsDat.h.

49 { return m_wei4; }

References m_wei4.

Referenced by writeArrayDB().

◆ getWeight5()

float ODWeightsDat::getWeight5 ( ) const
inline

Definition at line 50 of file ODWeightsDat.h.

50 { return m_wei5; }

References m_wei5.

Referenced by writeArrayDB().

◆ prepareWrite()

void ODWeightsDat::prepareWrite ( )
overrideprivatevirtualnoexcept

Implements IODConfig.

Definition at line 37 of file ODWeightsDat.cc.

37  {
38  this->checkConnection();
39 
40  try {
41  m_writeStmt = m_conn->createStatement();
42  m_writeStmt->setSQL("INSERT INTO " + getTable() +
43  " (rec_id, sm_id, fed_id, tt_id, cry_id, wei0, wei1, wei2, wei3, wei4, wei5 ) "
44  "VALUES (:1, :2, :3, :4, :5, :6, :7, :8 , :9, :10, :11 )");
45  } catch (SQLException& e) {
46  throw(std::runtime_error("ODWeightsDat::prepareWrite(): " + e.getMessage()));
47  }
48 }

References MillePedeFileConverter_cfg::e.

◆ setCrystalId()

void ODWeightsDat::setCrystalId ( int  dac)
inline

Definition at line 33 of file ODWeightsDat.h.

33 { m_xt = dac; }

References m_xt.

Referenced by fetchData(), and EcalDccWeightBuilder::writeWeightToDB().

◆ setFedId()

void ODWeightsDat::setFedId ( int  dac)
inline

Definition at line 27 of file ODWeightsDat.h.

27 { m_fed = dac; }

References m_fed.

Referenced by fetchData(), and EcalDccWeightBuilder::writeWeightToDB().

◆ setId()

void ODWeightsDat::setId ( int  dac)
inline

Definition at line 21 of file ODWeightsDat.h.

21 { m_ID = dac; }

References m_ID.

Referenced by EcalDccWeightBuilder::writeWeightToDB().

◆ setSMId()

void ODWeightsDat::setSMId ( int  dac)
inline

Definition at line 24 of file ODWeightsDat.h.

24 { m_sm = dac; }

References m_sm.

Referenced by fetchData(), and EcalDccWeightBuilder::writeWeightToDB().

◆ setTTId()

void ODWeightsDat::setTTId ( int  dac)
inline

Definition at line 30 of file ODWeightsDat.h.

30 { m_tt = dac; }

References m_tt.

Referenced by fetchData(), and EcalDccWeightBuilder::writeWeightToDB().

◆ setWeight()

void ODWeightsDat::setWeight ( int  pos,
float  x 
)
inline

Definition at line 43 of file ODWeightsDat.h.

43 { m_wei[pos] = x; }

References m_wei, and x.

Referenced by fetchData().

◆ setWeight0()

void ODWeightsDat::setWeight0 ( float  x)
inline

Definition at line 36 of file ODWeightsDat.h.

36 { m_wei0 = x; }

References m_wei0, and x.

Referenced by EcalDccWeightBuilder::writeWeightToDB().

◆ setWeight1()

void ODWeightsDat::setWeight1 ( float  x)
inline

Definition at line 37 of file ODWeightsDat.h.

37 { m_wei1 = x; }

References m_wei1, and x.

Referenced by EcalDccWeightBuilder::writeWeightToDB().

◆ setWeight2()

void ODWeightsDat::setWeight2 ( float  x)
inline

Definition at line 38 of file ODWeightsDat.h.

38 { m_wei2 = x; }

References m_wei2, and x.

Referenced by EcalDccWeightBuilder::writeWeightToDB().

◆ setWeight3()

void ODWeightsDat::setWeight3 ( float  x)
inline

Definition at line 39 of file ODWeightsDat.h.

39 { m_wei3 = x; }

References m_wei3, and x.

Referenced by EcalDccWeightBuilder::writeWeightToDB().

◆ setWeight4()

void ODWeightsDat::setWeight4 ( float  x)
inline

Definition at line 40 of file ODWeightsDat.h.

40 { m_wei4 = x; }

References m_wei4, and x.

Referenced by EcalDccWeightBuilder::writeWeightToDB().

◆ setWeight5()

void ODWeightsDat::setWeight5 ( float  x)
inline

Definition at line 41 of file ODWeightsDat.h.

41 { m_wei5 = x; }

References m_wei5, and x.

Referenced by EcalDccWeightBuilder::writeWeightToDB().

◆ writeArrayDB()

void ODWeightsDat::writeArrayDB ( const std::vector< ODWeightsDat > &  data,
ODFEWeightsInfo iov 
)
privatenoexcept

Definition at line 147 of file ODWeightsDat.cc.

147  {
148  this->checkConnection();
149 
150  int iovID = iov->fetchID();
151  if (!iovID) {
152  throw(std::runtime_error("ODDelays::writeArrayDB: ODFEDelaysInfo not in DB"));
153  }
154 
155  int nrows = data.size();
156  int* ids = new int[nrows];
157  int* xx = new int[nrows];
158  int* yy = new int[nrows];
159  int* zz = new int[nrows];
160  int* st = new int[nrows];
161  float* xx1 = new float[nrows];
162  float* yy1 = new float[nrows];
163  float* zz1 = new float[nrows];
164  float* xx2 = new float[nrows];
165  float* yy2 = new float[nrows];
166  float* zz2 = new float[nrows];
167 
168  ub2* ids_len = new ub2[nrows];
169  ub2* x_len = new ub2[nrows];
170  ub2* y_len = new ub2[nrows];
171  ub2* z_len = new ub2[nrows];
172  ub2* st_len = new ub2[nrows];
173  ub2* x1_len = new ub2[nrows];
174  ub2* y1_len = new ub2[nrows];
175  ub2* z1_len = new ub2[nrows];
176  ub2* x2_len = new ub2[nrows];
177  ub2* y2_len = new ub2[nrows];
178  ub2* z2_len = new ub2[nrows];
179 
180  ODWeightsDat dataitem;
181 
182  int n_data = (int)data.size();
183  for (int count = 0; count < n_data; count++) {
184  dataitem = data[count];
185  ids[count] = iovID;
186  xx[count] = dataitem.getSMId();
187  yy[count] = dataitem.getFedId();
188  zz[count] = dataitem.getTTId();
189  st[count] = dataitem.getCrystalId();
190  xx1[count] = dataitem.getWeight0();
191  yy1[count] = dataitem.getWeight1();
192  zz1[count] = dataitem.getWeight2();
193  xx2[count] = dataitem.getWeight3();
194  yy2[count] = dataitem.getWeight4();
195  zz2[count] = dataitem.getWeight5();
196 
197  ids_len[count] = sizeof(ids[count]);
198  x_len[count] = sizeof(xx[count]);
199  y_len[count] = sizeof(yy[count]);
200  z_len[count] = sizeof(zz[count]);
201  st_len[count] = sizeof(st[count]);
202  x1_len[count] = sizeof(xx1[count]);
203  y1_len[count] = sizeof(yy1[count]);
204  z1_len[count] = sizeof(zz1[count]);
205  x2_len[count] = sizeof(xx2[count]);
206  y2_len[count] = sizeof(yy2[count]);
207  z2_len[count] = sizeof(zz2[count]);
208  }
209 
210  try {
211  m_writeStmt->setDataBuffer(1, (dvoid*)ids, OCCIINT, sizeof(ids[0]), ids_len);
212  m_writeStmt->setDataBuffer(2, (dvoid*)xx, OCCIINT, sizeof(xx[0]), x_len);
213  m_writeStmt->setDataBuffer(3, (dvoid*)yy, OCCIINT, sizeof(yy[0]), y_len);
214  m_writeStmt->setDataBuffer(4, (dvoid*)zz, OCCIINT, sizeof(zz[0]), z_len);
215  m_writeStmt->setDataBuffer(5, (dvoid*)st, OCCIINT, sizeof(st[0]), st_len);
216  m_writeStmt->setDataBuffer(6, (dvoid*)xx1, OCCIFLOAT, sizeof(xx1[0]), x1_len);
217  m_writeStmt->setDataBuffer(7, (dvoid*)yy1, OCCIFLOAT, sizeof(yy1[0]), y1_len);
218  m_writeStmt->setDataBuffer(8, (dvoid*)zz1, OCCIFLOAT, sizeof(zz1[0]), z1_len);
219  m_writeStmt->setDataBuffer(9, (dvoid*)xx2, OCCIFLOAT, sizeof(xx2[0]), x2_len);
220  m_writeStmt->setDataBuffer(10, (dvoid*)yy2, OCCIFLOAT, sizeof(yy2[0]), y2_len);
221  m_writeStmt->setDataBuffer(11, (dvoid*)zz2, OCCIFLOAT, sizeof(zz2[0]), z2_len);
222 
223  m_writeStmt->executeArrayUpdate(nrows);
224 
225  delete[] ids;
226  delete[] xx;
227  delete[] yy;
228  delete[] zz;
229  delete[] st;
230  delete[] xx1;
231  delete[] yy1;
232  delete[] zz1;
233  delete[] xx2;
234  delete[] yy2;
235  delete[] zz2;
236 
237  delete[] ids_len;
238  delete[] x_len;
239  delete[] y_len;
240  delete[] z_len;
241  delete[] st_len;
242  delete[] x1_len;
243  delete[] y1_len;
244  delete[] z1_len;
245  delete[] x2_len;
246  delete[] y2_len;
247  delete[] z2_len;
248 
249  } catch (SQLException& e) {
250  throw(std::runtime_error("ODWeightsDat::writeArrayDB(): " + e.getMessage()));
251  }
252 }

References KineDebug3::count(), std::data(), MillePedeFileConverter_cfg::e, getCrystalId(), getFedId(), getSMId(), getTTId(), getWeight0(), getWeight1(), getWeight2(), getWeight3(), getWeight4(), getWeight5(), createfilelist::int, geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.

◆ writeDB()

void ODWeightsDat::writeDB ( const ODWeightsDat item,
ODFEWeightsInfo iov 
)
privatenoexcept

Definition at line 50 of file ODWeightsDat.cc.

50  {
51  this->checkConnection();
52 
53  try {
54  m_writeStmt->setInt(1, item->getId());
55  m_writeStmt->setInt(2, item->getSMId());
56  m_writeStmt->setInt(3, item->getFedId());
57  m_writeStmt->setInt(4, item->getTTId());
58  m_writeStmt->setInt(5, item->getCrystalId());
59 
60  m_writeStmt->setFloat(6, item->getWeight0());
61  m_writeStmt->setFloat(7, item->getWeight1());
62  m_writeStmt->setFloat(8, item->getWeight2());
63  m_writeStmt->setFloat(9, item->getWeight3());
64  m_writeStmt->setFloat(10, item->getWeight4());
65  m_writeStmt->setFloat(11, item->getWeight5());
66 
67  m_writeStmt->executeUpdate();
68  } catch (SQLException& e) {
69  throw(std::runtime_error("ODWeightsDat::writeDB(): " + e.getMessage()));
70  }
71 }

References MillePedeFileConverter_cfg::e, and B2GTnPMonitor_cfi::item.

Friends And Related Function Documentation

◆ EcalCondDBInterface

friend class EcalCondDBInterface
friend

Definition at line 14 of file ODWeightsDat.h.

Member Data Documentation

◆ dccw

std::vector<std::vector<float> > ODWeightsDat::dccw
private

Definition at line 81 of file ODWeightsDat.h.

Referenced by getWeight().

◆ m_fed

int ODWeightsDat::m_fed
private

Definition at line 68 of file ODWeightsDat.h.

Referenced by getFedId(), and setFedId().

◆ m_ID

int ODWeightsDat::m_ID
private

Definition at line 71 of file ODWeightsDat.h.

Referenced by getId(), and setId().

◆ m_sm

int ODWeightsDat::m_sm
private

Definition at line 67 of file ODWeightsDat.h.

Referenced by getSMId(), and setSMId().

◆ m_tt

int ODWeightsDat::m_tt
private

Definition at line 69 of file ODWeightsDat.h.

Referenced by getTTId(), and setTTId().

◆ m_wei

float ODWeightsDat::m_wei[6]
private

Definition at line 80 of file ODWeightsDat.h.

Referenced by setWeight().

◆ m_wei0

float ODWeightsDat::m_wei0
private

Definition at line 73 of file ODWeightsDat.h.

Referenced by getWeight0(), and setWeight0().

◆ m_wei1

float ODWeightsDat::m_wei1
private

Definition at line 74 of file ODWeightsDat.h.

Referenced by getWeight1(), and setWeight1().

◆ m_wei2

float ODWeightsDat::m_wei2
private

Definition at line 75 of file ODWeightsDat.h.

Referenced by getWeight2(), and setWeight2().

◆ m_wei3

float ODWeightsDat::m_wei3
private

Definition at line 76 of file ODWeightsDat.h.

Referenced by getWeight3(), and setWeight3().

◆ m_wei4

float ODWeightsDat::m_wei4
private

Definition at line 77 of file ODWeightsDat.h.

Referenced by getWeight4(), and setWeight4().

◆ m_wei5

float ODWeightsDat::m_wei5
private

Definition at line 78 of file ODWeightsDat.h.

Referenced by getWeight5(), and setWeight5().

◆ m_xt

int ODWeightsDat::m_xt
private

Definition at line 70 of file ODWeightsDat.h.

Referenced by getCrystalId(), and setCrystalId().

ODWeightsDat::getTable
std::string getTable() override
Definition: ODWeightsDat.h:19
ODWeightsDat::getWeight1
float getWeight1() const
Definition: ODWeightsDat.h:46
geometryCSVtoXML.zz
zz
Definition: geometryCSVtoXML.py:19
ODWeightsDat::setTTId
void setTTId(int dac)
Definition: ODWeightsDat.h:30
ODWeightsDat::m_wei4
float m_wei4
Definition: ODWeightsDat.h:77
ODWeightsDat::m_wei2
float m_wei2
Definition: ODWeightsDat.h:75
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
gather_cfg.cout
cout
Definition: gather_cfg.py:144
pos
Definition: PixelAliasList.h:18
ODWeightsDat::setWeight
void setWeight(int pos, float x)
Definition: ODWeightsDat.h:43
DDAxes::x
ODWeightsDat::getWeight2
float getWeight2() const
Definition: ODWeightsDat.h:47
ODWeightsDat
Definition: ODWeightsDat.h:12
IODConfig::SQLException
oracle::occi::SQLException SQLException
Definition: IODConfig.h:20
ODWeightsDat::m_wei
float m_wei[6]
Definition: ODWeightsDat.h:80
ODWeightsDat::m_wei0
float m_wei0
Definition: ODWeightsDat.h:73
ODWeightsDat::setFedId
void setFedId(int dac)
Definition: ODWeightsDat.h:27
ODFEWeightsInfo::fetchID
int fetchID() noexcept(false)
Definition: ODFEWeightsInfo.cc:143
IDBObject::m_conn
oracle::occi::Connection * m_conn
Definition: IDBObject.h:34
ODWeightsDat::m_fed
int m_fed
Definition: ODWeightsDat.h:68
ODWeightsDat::getWeight4
float getWeight4() const
Definition: ODWeightsDat.h:49
ODWeightsDat::m_wei5
float m_wei5
Definition: ODWeightsDat.h:78
ODWeightsDat::getWeight5
float getWeight5() const
Definition: ODWeightsDat.h:50
ODWeightsDat::m_sm
int m_sm
Definition: ODWeightsDat.h:67
ODWeightsDat::getTTId
int getTTId() const
Definition: ODWeightsDat.h:31
ODWeightsDat::getSMId
int getSMId() const
Definition: ODWeightsDat.h:25
ODWeightsDat::getWeight3
float getWeight3() const
Definition: ODWeightsDat.h:48
ODWeightsDat::m_wei1
float m_wei1
Definition: ODWeightsDat.h:74
IDBObject::checkConnection
void checkConnection() const noexcept(false)
Definition: IDBObject.h:36
geometryCSVtoXML.yy
yy
Definition: geometryCSVtoXML.py:19
IODConfig::m_readStmt
Statement * m_readStmt
Definition: IODConfig.h:34
ODWeightsDat::setSMId
void setSMId(int dac)
Definition: ODWeightsDat.h:24
KineDebug3::count
void count()
Definition: KinematicConstrainedVertexUpdatorT.h:21
createfilelist.int
int
Definition: createfilelist.py:10
ODWeightsDat::m_xt
int m_xt
Definition: ODWeightsDat.h:70
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
ODWeightsDat::m_wei3
float m_wei3
Definition: ODWeightsDat.h:76
ODWeightsDat::m_ID
int m_ID
Definition: ODWeightsDat.h:71
ODWeightsDat::dccw
std::vector< std::vector< float > > dccw
Definition: ODWeightsDat.h:81
IDBObject::setConnection
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
Definition: IDBObject.h:23
IODConfig::m_writeStmt
Statement * m_writeStmt
Definition: IODConfig.h:33
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
ODWeightsDat::getWeight0
float getWeight0() const
Definition: ODWeightsDat.h:45
ODWeightsDat::m_tt
int m_tt
Definition: ODWeightsDat.h:69
IDBObject::m_env
oracle::occi::Environment * m_env
Definition: IDBObject.h:33
ODWeightsDat::getFedId
int getFedId() const
Definition: ODWeightsDat.h:28
ODWeightsDat::getId
int getId() const
Definition: ODWeightsDat.h:22
geometryCSVtoXML.xx
xx
Definition: geometryCSVtoXML.py:19
ODWeightsDat::getCrystalId
int getCrystalId() const
Definition: ODWeightsDat.h:34
ODWeightsDat::setCrystalId
void setCrystalId(int dac)
Definition: ODWeightsDat.h:33
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37