CMS 3D CMS Logo

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

#include <FEConfigMainInfo.h>

Inheritance diagram for FEConfigMainInfo:
IODConfig IDBObject

Public Member Functions

 FEConfigMainInfo ()
 
int getBstId () const
 
int getBttId () const
 
int getBxtId () const
 
Tm getDBTime () const
 
std::string getDescription () const
 
int getFgrId () const
 
int getId () const
 
int getLinId () const
 
int getLUTId () const
 
int getPedId () const
 
int getSliId () const
 
int getSpiId () const
 
std::string getTable () override
 
int getTimId () const
 
int getVersion () const
 
int getWeiId () const
 
bool operator!= (const FEConfigMainInfo &r) const
 
bool operator== (const FEConfigMainInfo &r) const
 
void setBstId (int x)
 
void setBttId (int x)
 
void setBxtId (int x)
 
void setDBTime (const Tm &x)
 
void setDescription (std::string x)
 
void setFgrId (int x)
 
void setId (int id)
 
void setLinId (int x)
 
void setLUTId (int x)
 
void setPedId (int x)
 
void setSliId (int x)
 
void setSpiId (int x)
 
void setTimId (int x)
 
void setVersion (int id)
 
void setWeiId (int x)
 
 ~FEConfigMainInfo () 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 (FEConfigMainInfo *result) noexcept(false)
 
int fetchID () noexcept(false)
 
int fetchIDLast () noexcept(false)
 
int fetchNextId () noexcept(false)
 
void insertConfig () noexcept(false)
 
void prepareWrite () noexcept(false) override
 
void setByID (int id) noexcept(false)
 
void writeDB () noexcept(false)
 

Private Attributes

int m_bst_id
 
int m_btt_id
 
int m_bxt_id
 
Tm m_db_time
 
std::string m_description
 
int m_fgr_id
 
int m_ID
 
int m_lin_id
 
int m_lut_id
 
int m_ped_id
 
int m_sli_id
 
int m_spi_id
 
int m_tim_id
 
int m_version
 
int m_wei_id
 

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 14 of file FEConfigMainInfo.h.

Constructor & Destructor Documentation

◆ FEConfigMainInfo()

FEConfigMainInfo::FEConfigMainInfo ( )

Definition at line 11 of file FEConfigMainInfo.cc.

11  {
12  m_env = nullptr;
13  m_conn = nullptr;
14  m_writeStmt = nullptr;
15  m_readStmt = nullptr;
16 
17  m_ID = 0;
18  m_version = 0;
19  clear();
20 }

References clear().

◆ ~FEConfigMainInfo()

FEConfigMainInfo::~FEConfigMainInfo ( )
override

Definition at line 22 of file FEConfigMainInfo.cc.

22 {}

Member Function Documentation

◆ clear()

void FEConfigMainInfo::clear ( void  )
private

Definition at line 24 of file FEConfigMainInfo.cc.

24  {
25  m_description = "";
26  m_ped_id = 0;
27  m_lin_id = 0;
28  m_lut_id = 0;
29  m_sli_id = 0;
30  m_fgr_id = 0;
31  m_wei_id = 0;
32  m_bxt_id = 0;
33  m_btt_id = 0;
34  m_tim_id = 0;
35  m_spi_id = 0;
36  m_bst_id = 0;
37 
38  m_db_time = Tm();
39 }

◆ fetchData()

void FEConfigMainInfo::fetchData ( FEConfigMainInfo result)
privatenoexcept

Definition at line 229 of file FEConfigMainInfo.cc.

229  {
230  std::cout << " ### 1 getId from FEConfigMainInfo = " << result->getId() << std::endl;
231  std::cout << " tag/version " << result->getConfigTag() << "/" << result->getVersion() << std::endl;
232 
233  this->checkConnection();
235  // result->clear();
236 
237  int idid = 0;
238 
239  if (result->getId() == 0) {
240  //throw(std::runtime_error("FEConfigMainInfo::fetchData(): no Id defined for this FEConfigMainInfo "));
241  idid = result->fetchID();
242  result->setId(idid);
243  }
244 
245  try {
246  m_readStmt->setSQL("SELECT * FROM FE_CONFIG_MAIN WHERE conf_id = :1 ");
247 
248  std::cout << " ### 2 getId from FEConfigMainInfo = " << result->getId() << std::endl;
249 
250  // good m_readStmt->setInt(1, result->getId());
251  m_readStmt->setInt(1, result->getId());
252  ResultSet* rset = m_readStmt->executeQuery();
253 
254  rset->next();
255 
256  result->setId(rset->getInt(1));
257 
258  setPedId(rset->getInt(2));
259  setLinId(rset->getInt(3));
260  setLUTId(rset->getInt(4));
261  setFgrId(rset->getInt(5));
262  setSliId(rset->getInt(6));
263  setWeiId(rset->getInt(7));
264  setSpiId(rset->getInt(8));
265  setTimId(rset->getInt(9));
266  setBxtId(rset->getInt(10));
267  setBttId(rset->getInt(11));
268  setBstId(rset->getInt(12));
269 
270  result->setConfigTag(rset->getString(13));
271  result->setVersion(rset->getInt(14));
272  result->setDescription(rset->getString(15));
273  Date dbdate = rset->getDate(16);
274  result->setDBTime(dh.dateToTm(dbdate));
275 
276  } catch (SQLException& e) {
277  throw(std::runtime_error("FEConfigMainInfo::fetchData(): " + e.getMessage()));
278  }
279 }

References gather_cfg::cout, cuy::dh, MillePedeFileConverter_cfg::e, and mps_fire::result.

◆ fetchID()

int FEConfigMainInfo::fetchID ( )
privatenoexcept

Definition at line 59 of file FEConfigMainInfo.cc.

59  {
60  // Return from memory if available
61  if (m_ID > 0) {
62  return m_ID;
63  }
64 
65  this->checkConnection();
66 
68 
69  std::cout << " tag/version " << getConfigTag() << "/" << getVersion() << std::endl;
70 
71  try {
72  Statement* stmt = m_conn->createStatement();
73  if (m_version != 0) {
74  stmt->setSQL(
75  "SELECT conf_id from FE_CONFIG_MAIN "
76  "WHERE tag = :tag "
77  " and version = :version ");
78  stmt->setString(1, m_config_tag);
79  stmt->setInt(2, m_version);
80  std::cout << " using query with version " << endl;
81  } else {
82  // always select the last inserted one with a given tag
83  stmt->setSQL(
84  "SELECT conf_id from FE_CONFIG_MAIN "
85  "WHERE tag = :1 and version= (select max(version) from FE_CONFIG_MAIN where tag=:2) ");
86  stmt->setString(1, m_config_tag);
87  stmt->setString(2, m_config_tag);
88  std::cout << " using query WITHOUT version " << endl;
89  }
90 
91  ResultSet* rset = stmt->executeQuery();
92 
93  if (rset->next()) {
94  m_ID = rset->getInt(1);
95  } else {
96  m_ID = 0;
97  }
98  std::cout << m_ID << endl;
99  m_conn->terminateStatement(stmt);
100  } catch (SQLException& e) {
101  throw(std::runtime_error("FEConfigMainInfo::fetchID: " + e.getMessage()));
102  }
103  setByID(m_ID);
104  return m_ID;
105 }

References gather_cfg::cout, cuy::dh, and MillePedeFileConverter_cfg::e.

◆ fetchIDLast()

int FEConfigMainInfo::fetchIDLast ( )
privatenoexcept

Definition at line 163 of file FEConfigMainInfo.cc.

163  {
164  this->checkConnection();
165 
167 
168  try {
169  Statement* stmt = m_conn->createStatement();
170  stmt->setSQL("SELECT max(conf_id) FROM fe_config_main ");
171  ResultSet* rset = stmt->executeQuery();
172 
173  if (rset->next()) {
174  m_ID = rset->getInt(1);
175  } else {
176  m_ID = 0;
177  }
178  m_conn->terminateStatement(stmt);
179  } catch (SQLException& e) {
180  throw(std::runtime_error("ODRunConfigInfo::fetchIDLast: " + e.getMessage()));
181  }
182 
183  setByID(m_ID);
184  return m_ID;
185 }

References cuy::dh, and MillePedeFileConverter_cfg::e.

◆ fetchNextId()

int FEConfigMainInfo::fetchNextId ( )
privatenoexcept

Definition at line 40 of file FEConfigMainInfo.cc.

40  {
41  int result = 0;
42  try {
43  this->checkConnection();
44 
45  m_readStmt = m_conn->createStatement();
46  m_readStmt->setSQL("select fe_config_main_sq.NextVal from dual");
47  ResultSet* rset = m_readStmt->executeQuery();
48  while (rset->next()) {
49  result = rset->getInt(1);
50  }
51  m_conn->terminateStatement(m_readStmt);
52  return result;
53 
54  } catch (SQLException& e) {
55  throw(std::runtime_error("FEConfigMainInfo::fetchNextId(): " + e.getMessage()));
56  }
57 }

References MillePedeFileConverter_cfg::e, and mps_fire::result.

◆ getBstId()

int FEConfigMainInfo::getBstId ( ) const
inline

Definition at line 64 of file FEConfigMainInfo.h.

64 { return m_bst_id; }

References m_bst_id.

Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGBadStripHandler::getNewObjects().

◆ getBttId()

int FEConfigMainInfo::getBttId ( ) const
inline

Definition at line 61 of file FEConfigMainInfo.h.

61 { return m_btt_id; }

References m_btt_id.

Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGBadTTHandler::getNewObjects().

◆ getBxtId()

int FEConfigMainInfo::getBxtId ( ) const
inline

Definition at line 58 of file FEConfigMainInfo.h.

58 { return m_bxt_id; }

References m_bxt_id.

Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGBadXTHandler::getNewObjects().

◆ getDBTime()

Tm FEConfigMainInfo::getDBTime ( ) const
inline

Definition at line 27 of file FEConfigMainInfo.h.

27 { return m_db_time; }

References m_db_time.

◆ getDescription()

std::string FEConfigMainInfo::getDescription ( ) const
inline

Definition at line 31 of file FEConfigMainInfo.h.

31 { return m_description; }

References m_description.

◆ getFgrId()

int FEConfigMainInfo::getFgrId ( ) const
inline

◆ getId()

int FEConfigMainInfo::getId ( void  ) const
inline

Definition at line 25 of file FEConfigMainInfo.h.

25 { return m_ID; }

References m_ID.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ getLinId()

int FEConfigMainInfo::getLinId ( ) const
inline

◆ getLUTId()

int FEConfigMainInfo::getLUTId ( ) const
inline

◆ getPedId()

int FEConfigMainInfo::getPedId ( ) const
inline

Definition at line 34 of file FEConfigMainInfo.h.

34 { return m_ped_id; }

References m_ped_id.

Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGPedestalsHandler::getNewObjects().

◆ getSliId()

int FEConfigMainInfo::getSliId ( ) const
inline

Definition at line 46 of file FEConfigMainInfo.h.

46 { return m_sli_id; }

References m_sli_id.

Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGSlidingWindowHandler::getNewObjects().

◆ getSpiId()

int FEConfigMainInfo::getSpiId ( ) const
inline

Definition at line 52 of file FEConfigMainInfo.h.

52 { return m_spi_id; }

References m_spi_id.

Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGSpikeThresholdHandler::getNewObjects().

◆ getTable()

std::string FEConfigMainInfo::getTable ( )
inlineoverridevirtual

Implements IODConfig.

Definition at line 21 of file FEConfigMainInfo.h.

21 { return "FE_CONFIG_MAIN"; }

◆ getTimId()

int FEConfigMainInfo::getTimId ( ) const
inline

Definition at line 55 of file FEConfigMainInfo.h.

55 { return m_tim_id; }

References m_tim_id.

Referenced by EcalTPGParamBuilder::analyze().

◆ getVersion()

int FEConfigMainInfo::getVersion ( ) const
inline

Definition at line 67 of file FEConfigMainInfo.h.

67 { return m_version; }

References m_version.

Referenced by popcon::EcalTPGBadXTHandler::getNewObjects().

◆ getWeiId()

int FEConfigMainInfo::getWeiId ( ) const
inline

◆ insertConfig()

void FEConfigMainInfo::insertConfig ( )
privatenoexcept

Definition at line 281 of file FEConfigMainInfo.cc.

281  {
282  try {
283  prepareWrite();
284  writeDB();
285  m_conn->commit();
287  } catch (std::runtime_error& e) {
288  m_conn->rollback();
289  throw(e);
290  } catch (...) {
291  m_conn->rollback();
292  throw(std::runtime_error("FEConfigMainInfo::insertConfig: Unknown exception caught"));
293  }
294 }

References MillePedeFileConverter_cfg::e, and GlobalTrackerMuonAlignment_cfi::writeDB.

◆ operator!=()

bool FEConfigMainInfo::operator!= ( const FEConfigMainInfo r) const
inline

Definition at line 71 of file FEConfigMainInfo.h.

71 { return !(*this == r); }

References alignCSCRings::r.

◆ operator==()

bool FEConfigMainInfo::operator== ( const FEConfigMainInfo r) const
inline

Definition at line 70 of file FEConfigMainInfo.h.

70 { return (m_ID == r.m_ID); }

References m_ID, and alignCSCRings::r.

◆ prepareWrite()

void FEConfigMainInfo::prepareWrite ( )
overrideprivatevirtualnoexcept

Implements IODConfig.

Definition at line 107 of file FEConfigMainInfo.cc.

107  {
108  this->checkConnection();
109 
110  int next_id = fetchNextId();
111 
112  try {
113  m_writeStmt = m_conn->createStatement();
114  m_writeStmt->setSQL(
115  "INSERT INTO fe_config_main (conf_id, ped_conf_id, lin_conf_id, lut_conf_id, fgr_conf_id, sli_conf_id, "
116  "wei_conf_id, spi_conf_id, tim_conf_id, bxt_conf_id, btt_conf_id, bst_conf_id, tag, version, description) "
117  " VALUES (:1, :2, :3 , :4, :5, :6 ,:7, :8, :9, :10, :11, :12, :13, :14, :15 )");
118 
119  m_writeStmt->setInt(1, next_id);
120  m_ID = next_id;
121 
122  } catch (SQLException& e) {
123  throw(std::runtime_error("FEConfigMainInfo::prepareWrite(): " + e.getMessage()));
124  }
125 }

References MillePedeFileConverter_cfg::e.

◆ setBstId()

void FEConfigMainInfo::setBstId ( int  x)
inline

Definition at line 63 of file FEConfigMainInfo.h.

63 { m_bst_id = x; }

References m_bst_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ setBttId()

void FEConfigMainInfo::setBttId ( int  x)
inline

Definition at line 60 of file FEConfigMainInfo.h.

60 { m_btt_id = x; }

References m_btt_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ setBxtId()

void FEConfigMainInfo::setBxtId ( int  x)
inline

Definition at line 57 of file FEConfigMainInfo.h.

57 { m_bxt_id = x; }

References m_bxt_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ setByID()

void FEConfigMainInfo::setByID ( int  id)
privatenoexcept

Definition at line 187 of file FEConfigMainInfo.cc.

187  {
188  this->checkConnection();
189 
191 
192  cout << "FEConfigMainInfo::setByID called for id " << id << endl;
193 
194  try {
195  Statement* stmt = m_conn->createStatement();
196 
197  stmt->setSQL("SELECT * FROM FE_CONFIG_MAIN WHERE conf_id = :1 ");
198  stmt->setInt(1, id);
199 
200  ResultSet* rset = stmt->executeQuery();
201  if (rset->next()) {
202  setId(rset->getInt(1));
203  setPedId(rset->getInt(2));
204  setLinId(rset->getInt(3));
205  setLUTId(rset->getInt(4));
206  setFgrId(rset->getInt(5));
207  setSliId(rset->getInt(6));
208  setWeiId(rset->getInt(7));
209  setSpiId(rset->getInt(8));
210  setTimId(rset->getInt(9));
211  setBxtId(rset->getInt(10));
212  setBttId(rset->getInt(11));
213  setBstId(rset->getInt(12));
214  setConfigTag(rset->getString(13));
215  setVersion(rset->getInt(14));
216  setDescription(rset->getString(15));
217  Date dbdate = rset->getDate(16);
218  setDBTime(dh.dateToTm(dbdate));
219  m_ID = id;
220  } else {
221  throw(std::runtime_error("FEConfigMainInfo::setByID: Given cycle_id is not in the database"));
222  }
223  m_conn->terminateStatement(stmt);
224  } catch (SQLException& e) {
225  throw(std::runtime_error("FEConfigMainInfo::setByID: " + e.getMessage()));
226  }
227 }

References gather_cfg::cout, cuy::dh, MillePedeFileConverter_cfg::e, and triggerObjects_cff::id.

◆ setDBTime()

void FEConfigMainInfo::setDBTime ( const Tm x)
inline

Definition at line 28 of file FEConfigMainInfo.h.

28 { m_db_time = x; }

References m_db_time, and x.

◆ setDescription()

void FEConfigMainInfo::setDescription ( std::string  x)
inline

Definition at line 30 of file FEConfigMainInfo.h.

30 { m_description = x; }

References m_description, and x.

◆ setFgrId()

void FEConfigMainInfo::setFgrId ( int  x)
inline

Definition at line 42 of file FEConfigMainInfo.h.

42 { m_fgr_id = x; }

References m_fgr_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ setId()

void FEConfigMainInfo::setId ( int  id)
inline

Definition at line 24 of file FEConfigMainInfo.h.

24 { m_ID = id; }

References triggerObjects_cff::id, and m_ID.

◆ setLinId()

void FEConfigMainInfo::setLinId ( int  x)
inline

Definition at line 36 of file FEConfigMainInfo.h.

36 { m_lin_id = x; }

References m_lin_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ setLUTId()

void FEConfigMainInfo::setLUTId ( int  x)
inline

Definition at line 39 of file FEConfigMainInfo.h.

39 { m_lut_id = x; }

References m_lut_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ setPedId()

void FEConfigMainInfo::setPedId ( int  x)
inline

Definition at line 33 of file FEConfigMainInfo.h.

33 { m_ped_id = x; }

References m_ped_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ setSliId()

void FEConfigMainInfo::setSliId ( int  x)
inline

Definition at line 45 of file FEConfigMainInfo.h.

45 { m_sli_id = x; }

References m_sli_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ setSpiId()

void FEConfigMainInfo::setSpiId ( int  x)
inline

Definition at line 51 of file FEConfigMainInfo.h.

51 { m_spi_id = x; }

References m_spi_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ setTimId()

void FEConfigMainInfo::setTimId ( int  x)
inline

Definition at line 54 of file FEConfigMainInfo.h.

54 { m_tim_id = x; }

References m_tim_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ setVersion()

void FEConfigMainInfo::setVersion ( int  id)
inline

◆ setWeiId()

void FEConfigMainInfo::setWeiId ( int  x)
inline

Definition at line 48 of file FEConfigMainInfo.h.

48 { m_wei_id = x; }

References m_wei_id, and x.

Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().

◆ writeDB()

void FEConfigMainInfo::writeDB ( )
privatenoexcept

Definition at line 127 of file FEConfigMainInfo.cc.

127  {
128  this->checkConnection();
129  this->checkPrepare();
130 
131  // Validate the data, use infinity-till convention
133 
134  try {
135  m_writeStmt->setInt(2, this->getPedId());
136  m_writeStmt->setInt(3, this->getLinId());
137  m_writeStmt->setInt(4, this->getLUTId());
138  m_writeStmt->setInt(5, this->getFgrId());
139  m_writeStmt->setInt(6, this->getSliId());
140  m_writeStmt->setInt(7, this->getWeiId());
141  m_writeStmt->setInt(8, this->getSpiId());
142  m_writeStmt->setInt(9, this->getTimId());
143  m_writeStmt->setInt(10, this->getBxtId());
144  m_writeStmt->setInt(11, this->getBttId());
145  m_writeStmt->setInt(12, this->getBstId());
146  m_writeStmt->setString(13, this->getConfigTag());
147  m_writeStmt->setInt(14, this->getVersion());
148  m_writeStmt->setString(15, this->getDescription());
149  m_writeStmt->executeUpdate();
150 
151  } catch (SQLException& e) {
152  throw(std::runtime_error("FEConfigMainInfo::writeDB: " + e.getMessage()));
153  }
154  // Now get the ID
155  if (!this->fetchID()) {
156  throw(std::runtime_error("FEConfigMainInfo::writeDB: Failed to write"));
157  }
158  setByID(m_ID);
159 
160  cout << "FEConfigMainInfo::writeDB>> done inserting FEConfigMainInfo with id=" << m_ID << endl;
161 }

References gather_cfg::cout, cuy::dh, and MillePedeFileConverter_cfg::e.

Friends And Related Function Documentation

◆ EcalCondDBInterface

friend class EcalCondDBInterface
friend

Definition at line 16 of file FEConfigMainInfo.h.

Member Data Documentation

◆ m_bst_id

int FEConfigMainInfo::m_bst_id
private

Definition at line 84 of file FEConfigMainInfo.h.

Referenced by getBstId(), and setBstId().

◆ m_btt_id

int FEConfigMainInfo::m_btt_id
private

Definition at line 83 of file FEConfigMainInfo.h.

Referenced by getBttId(), and setBttId().

◆ m_bxt_id

int FEConfigMainInfo::m_bxt_id
private

Definition at line 82 of file FEConfigMainInfo.h.

Referenced by getBxtId(), and setBxtId().

◆ m_db_time

Tm FEConfigMainInfo::m_db_time
private

Definition at line 88 of file FEConfigMainInfo.h.

Referenced by getDBTime(), and setDBTime().

◆ m_description

std::string FEConfigMainInfo::m_description
private

Definition at line 89 of file FEConfigMainInfo.h.

Referenced by getDescription(), and setDescription().

◆ m_fgr_id

int FEConfigMainInfo::m_fgr_id
private

Definition at line 80 of file FEConfigMainInfo.h.

Referenced by getFgrId(), and setFgrId().

◆ m_ID

int FEConfigMainInfo::m_ID
private

Definition at line 75 of file FEConfigMainInfo.h.

Referenced by getId(), operator==(), and setId().

◆ m_lin_id

int FEConfigMainInfo::m_lin_id
private

Definition at line 77 of file FEConfigMainInfo.h.

Referenced by getLinId(), and setLinId().

◆ m_lut_id

int FEConfigMainInfo::m_lut_id
private

Definition at line 78 of file FEConfigMainInfo.h.

Referenced by getLUTId(), and setLUTId().

◆ m_ped_id

int FEConfigMainInfo::m_ped_id
private

Definition at line 76 of file FEConfigMainInfo.h.

Referenced by getPedId(), and setPedId().

◆ m_sli_id

int FEConfigMainInfo::m_sli_id
private

Definition at line 79 of file FEConfigMainInfo.h.

Referenced by getSliId(), and setSliId().

◆ m_spi_id

int FEConfigMainInfo::m_spi_id
private

Definition at line 86 of file FEConfigMainInfo.h.

Referenced by getSpiId(), and setSpiId().

◆ m_tim_id

int FEConfigMainInfo::m_tim_id
private

Definition at line 85 of file FEConfigMainInfo.h.

Referenced by getTimId(), and setTimId().

◆ m_version

int FEConfigMainInfo::m_version
private

Definition at line 87 of file FEConfigMainInfo.h.

Referenced by getVersion(), and setVersion().

◆ m_wei_id

int FEConfigMainInfo::m_wei_id
private

Definition at line 81 of file FEConfigMainInfo.h.

Referenced by getWeiId(), and setWeiId().

FEConfigMainInfo::getSpiId
int getSpiId() const
Definition: FEConfigMainInfo.h:52
FEConfigMainInfo::setSliId
void setSliId(int x)
Definition: FEConfigMainInfo.h:45
FEConfigMainInfo::getVersion
int getVersion() const
Definition: FEConfigMainInfo.h:67
FEConfigMainInfo::setBttId
void setBttId(int x)
Definition: FEConfigMainInfo.h:60
FEConfigMainInfo::writeDB
void writeDB() noexcept(false)
Definition: FEConfigMainInfo.cc:127
FEConfigMainInfo::setLinId
void setLinId(int x)
Definition: FEConfigMainInfo.h:36
FEConfigMainInfo::getLinId
int getLinId() const
Definition: FEConfigMainInfo.h:37
IODConfig::Statement
oracle::occi::Statement Statement
Definition: IODConfig.h:21
gather_cfg.cout
cout
Definition: gather_cfg.py:144
FEConfigMainInfo::setLUTId
void setLUTId(int x)
Definition: FEConfigMainInfo.h:39
FEConfigMainInfo::m_version
int m_version
Definition: FEConfigMainInfo.h:87
DDAxes::x
FEConfigMainInfo::fetchID
int fetchID() noexcept(false)
Definition: FEConfigMainInfo.cc:59
FEConfigMainInfo::setVersion
void setVersion(int id)
Definition: FEConfigMainInfo.h:66
FEConfigMainInfo::getDescription
std::string getDescription() const
Definition: FEConfigMainInfo.h:31
IODConfig::SQLException
oracle::occi::SQLException SQLException
Definition: IODConfig.h:20
FEConfigMainInfo::getFgrId
int getFgrId() const
Definition: FEConfigMainInfo.h:43
FEConfigMainInfo::getBttId
int getBttId() const
Definition: FEConfigMainInfo.h:61
FEConfigMainInfo::m_btt_id
int m_btt_id
Definition: FEConfigMainInfo.h:83
FEConfigMainInfo::setId
void setId(int id)
Definition: FEConfigMainInfo.h:24
FEConfigMainInfo::m_sli_id
int m_sli_id
Definition: FEConfigMainInfo.h:79
IDBObject::m_conn
oracle::occi::Connection * m_conn
Definition: IDBObject.h:34
FEConfigMainInfo::prepareWrite
void prepareWrite() noexcept(false) override
Definition: FEConfigMainInfo.cc:107
FEConfigMainInfo::m_lin_id
int m_lin_id
Definition: FEConfigMainInfo.h:77
FEConfigMainInfo::fetchNextId
int fetchNextId() noexcept(false)
Definition: FEConfigMainInfo.cc:40
FEConfigMainInfo::setDescription
void setDescription(std::string x)
Definition: FEConfigMainInfo.h:30
FEConfigMainInfo::m_bst_id
int m_bst_id
Definition: FEConfigMainInfo.h:84
FEConfigMainInfo::getBxtId
int getBxtId() const
Definition: FEConfigMainInfo.h:58
IODConfig::checkPrepare
void checkPrepare() noexcept(false)
Definition: IODConfig.h:36
FEConfigMainInfo::setBxtId
void setBxtId(int x)
Definition: FEConfigMainInfo.h:57
Tm
Definition: Tm.h:13
FEConfigMainInfo::getWeiId
int getWeiId() const
Definition: FEConfigMainInfo.h:49
IODConfig::getConfigTag
std::string getConfigTag()
Definition: IODConfig.h:30
IDBObject::checkConnection
void checkConnection() const noexcept(false)
Definition: IDBObject.h:36
IODConfig::m_readStmt
Statement * m_readStmt
Definition: IODConfig.h:34
FEConfigMainInfo::setFgrId
void setFgrId(int x)
Definition: FEConfigMainInfo.h:42
FEConfigMainInfo::setPedId
void setPedId(int x)
Definition: FEConfigMainInfo.h:33
FEConfigMainInfo::m_tim_id
int m_tim_id
Definition: FEConfigMainInfo.h:85
FEConfigMainInfo::m_fgr_id
int m_fgr_id
Definition: FEConfigMainInfo.h:80
FEConfigMainInfo::setWeiId
void setWeiId(int x)
Definition: FEConfigMainInfo.h:48
FEConfigMainInfo::m_ped_id
int m_ped_id
Definition: FEConfigMainInfo.h:76
FEConfigMainInfo::m_lut_id
int m_lut_id
Definition: FEConfigMainInfo.h:78
FEConfigMainInfo::setSpiId
void setSpiId(int x)
Definition: FEConfigMainInfo.h:51
FEConfigMainInfo::m_wei_id
int m_wei_id
Definition: FEConfigMainInfo.h:81
FEConfigMainInfo::getSliId
int getSliId() const
Definition: FEConfigMainInfo.h:46
alignCSCRings.r
r
Definition: alignCSCRings.py:93
FEConfigMainInfo::setDBTime
void setDBTime(const Tm &x)
Definition: FEConfigMainInfo.h:28
FEConfigMainInfo::setByID
void setByID(int id) noexcept(false)
Definition: FEConfigMainInfo.cc:187
FEConfigMainInfo::m_spi_id
int m_spi_id
Definition: FEConfigMainInfo.h:86
FEConfigMainInfo::setTimId
void setTimId(int x)
Definition: FEConfigMainInfo.h:54
IODConfig::m_writeStmt
Statement * m_writeStmt
Definition: IODConfig.h:33
IODConfig::terminateWriteStatement
void terminateWriteStatement() noexcept(false)
Definition: IODConfig.h:42
FEConfigMainInfo::clear
void clear()
Definition: FEConfigMainInfo.cc:24
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
IODConfig::m_config_tag
std::string m_config_tag
Definition: IODConfig.h:25
FEConfigMainInfo::m_db_time
Tm m_db_time
Definition: FEConfigMainInfo.h:88
FEConfigMainInfo::setBstId
void setBstId(int x)
Definition: FEConfigMainInfo.h:63
FEConfigMainInfo::getPedId
int getPedId() const
Definition: FEConfigMainInfo.h:34
FEConfigMainInfo::m_bxt_id
int m_bxt_id
Definition: FEConfigMainInfo.h:82
IDBObject::m_env
oracle::occi::Environment * m_env
Definition: IDBObject.h:33
mps_fire.result
result
Definition: mps_fire.py:311
FEConfigMainInfo::getTimId
int getTimId() const
Definition: FEConfigMainInfo.h:55
IODConfig::setConfigTag
void setConfigTag(std::string x)
Definition: IODConfig.h:29
FEConfigMainInfo::getBstId
int getBstId() const
Definition: FEConfigMainInfo.h:64
FEConfigMainInfo::m_ID
int m_ID
Definition: FEConfigMainInfo.h:75
DateHandler
Definition: DateHandler.h:7
cuy.dh
dh
Definition: cuy.py:355
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
FEConfigMainInfo::m_description
std::string m_description
Definition: FEConfigMainInfo.h:89
FEConfigMainInfo::getLUTId
int getLUTId() const
Definition: FEConfigMainInfo.h:40