CMS 3D CMS Logo

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

#include <ODRunConfigInfo.h>

Inheritance diagram for ODRunConfigInfo:
IODConfig IDBObject

Public Member Functions

Tm getDBTime () const
 
int getDefaults () const
 
std::string getDescription () const
 
int getId () const
 
int getNumberOfEvents () const
 
int getNumberOfSequences () const
 
RunModeDef getRunModeDef () const
 
RunTypeDef getRunTypeDef () const
 
std::string getTable () override
 
std::string getTag () const
 
std::string getTriggerMode () const
 
std::string getUsageStatus () const
 
int getVersion () const
 
 ODRunConfigInfo ()
 
bool operator!= (const ODRunConfigInfo &r) const
 
bool operator== (const ODRunConfigInfo &r) const
 
void setDBTime (const Tm &x)
 
void setDefaults (int x)
 
void setDescription (std::string x)
 
void setId (int id)
 
void setNumberOfEvents (int x)
 
void setNumberOfSequences (int n)
 
void setRunModeDef (const RunModeDef &runModeDef)
 
void setRunTypeDef (const RunTypeDef &runTypeDef)
 
void setTag (std::string x)
 
void setTriggerMode (std::string x)
 
void setUsageStatus (std::string x)
 
void setVersion (int x)
 
 ~ODRunConfigInfo () 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 (ODRunConfigInfo *result) noexcept(false)
 
int fetchID () noexcept(false)
 
int fetchIDFromTagAndVersion () noexcept(false)
 
int fetchIDLast () noexcept(false)
 
int fetchNextId () noexcept(false)
 
void prepareWrite () noexcept(false) override
 
void setByID (int id) noexcept(false)
 
int updateDefaultCycle () noexcept(false)
 
void writeDB () noexcept(false)
 

Private Attributes

Tm m_db_time
 
int m_defaults
 
std::string m_description
 
int m_ID
 
int m_num_events
 
int m_num_seq
 
RunModeDef m_runModeDef
 
RunTypeDef m_runTypeDef
 
std::string m_tag
 
std::string m_trigger_mode
 
std::string m_usage_status
 
int m_version
 

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 ODRunConfigInfo.h.

Constructor & Destructor Documentation

◆ ODRunConfigInfo()

ODRunConfigInfo::ODRunConfigInfo ( )

Definition at line 11 of file ODRunConfigInfo.cc.

11  {
12  m_env = nullptr;
13  m_conn = nullptr;
14  m_ID = 0;
15  //
16  m_tag = "";
17  m_version = 0;
18  m_num_seq = 0;
21  m_defaults = 0;
22  m_trigger_mode = "";
23  m_num_events = 0;
24 }

◆ ~ODRunConfigInfo()

ODRunConfigInfo::~ODRunConfigInfo ( )
override

Definition at line 26 of file ODRunConfigInfo.cc.

26 {}

Member Function Documentation

◆ clear()

void ODRunConfigInfo::clear ( void  )
private

Definition at line 260 of file ODRunConfigInfo.cc.

260  {
261  m_num_seq = 0;
264  m_defaults = 0;
265  m_trigger_mode = "";
266  m_num_events = 0;
267 }

◆ fetchData()

void ODRunConfigInfo::fetchData ( ODRunConfigInfo result)
privatenoexcept

Definition at line 269 of file ODRunConfigInfo.cc.

269  {
270  this->checkConnection();
272  // result->clear();
273 
274  if (result->getId() == 0) {
275  //throw(std::runtime_error("FEConfigMainInfo::fetchData(): no Id defined for this FEConfigMainInfo "));
276  result->fetchID();
277  }
278  try {
279  m_readStmt->setSQL(
280  "SELECT config_id, tag, version, run_type_def_id, run_mode_def_id, \
281  num_of_sequences, description, defaults, trg_mode, num_of_events, db_timestamp, usage_status \
282  FROM ECAL_RUN_CONFIGURATION_DAT WHERE config_id = :1 ");
283  m_readStmt->setInt(1, result->getId());
284 
285  ResultSet* rset = m_readStmt->executeQuery();
286  rset->next();
287 
288  result->setId(rset->getInt(1));
289  result->setTag(rset->getString(2));
290  result->setVersion(rset->getInt(3));
291  // RunTypeDef myRunType = rset->getInt(4);
292  // result->setRunTypeDef( myRunType );
293  // RunModeDef myRunMode = rset->getInt(5);
294  // result->setRunModeDef( myRunMode );
295  result->setNumberOfSequences(rset->getInt(6));
296  result->setDescription(rset->getString(7));
297  result->setDefaults(rset->getInt(8));
298  result->setTriggerMode(rset->getString(9));
299  result->setNumberOfEvents(rset->getInt(10));
300  Date dbdate = rset->getDate(11);
301  result->setDBTime(dh.dateToTm(dbdate));
302  result->setUsageStatus(rset->getString(12));
303 
304  } catch (SQLException& e) {
305  cout << " ODRunConfigInfo::fetchData(): " << e.getMessage() << endl;
306  throw(std::runtime_error("ODRunConfigInfo::fetchData(): " + e.getMessage()));
307  }
308 }

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

◆ fetchID()

int ODRunConfigInfo::fetchID ( )
privatenoexcept

Definition at line 65 of file ODRunConfigInfo.cc.

65  {
66  // Return from memory if available
67  if (m_ID > 0) {
68  return m_ID;
69  }
70 
71  this->checkConnection();
72 
74 
75  try {
76  Statement* stmt = m_conn->createStatement();
77  stmt->setSQL(
78  "SELECT config_id from ECAL_RUN_CONFIGURATION_DAT "
79  "WHERE tag = :tag "
80  " and version = :version ");
81  stmt->setString(1, m_tag);
82  stmt->setInt(2, m_version);
83 
84  ResultSet* rset = stmt->executeQuery();
85  if (rset->next()) {
86  m_ID = rset->getInt(1);
87  } else {
88  m_ID = 0;
89  }
90  m_conn->terminateStatement(stmt);
91  } catch (SQLException& e) {
92  throw(std::runtime_error("ODRunConfigInfo::fetchID: " + e.getMessage()));
93  }
94  setByID(m_ID);
95  return m_ID;
96 }

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

◆ fetchIDFromTagAndVersion()

int ODRunConfigInfo::fetchIDFromTagAndVersion ( )
privatenoexcept

Definition at line 123 of file ODRunConfigInfo.cc.

123  {
124  fetchID();
125  return m_ID;
126 }

◆ fetchIDLast()

int ODRunConfigInfo::fetchIDLast ( )
privatenoexcept

Definition at line 98 of file ODRunConfigInfo.cc.

98  {
99  this->checkConnection();
100 
102 
103  try {
104  Statement* stmt = m_conn->createStatement();
105  stmt->setSQL("SELECT max(config_id) FROM ecal_run_configuration_dat ");
106  ResultSet* rset = stmt->executeQuery();
107 
108  if (rset->next()) {
109  m_ID = rset->getInt(1);
110  } else {
111  m_ID = 0;
112  }
113  m_conn->terminateStatement(stmt);
114  } catch (SQLException& e) {
115  throw(std::runtime_error("ODRunConfigInfo::fetchIDLast: " + e.getMessage()));
116  }
117 
118  setByID(m_ID);
119  return m_ID;
120 }

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

◆ fetchNextId()

int ODRunConfigInfo::fetchNextId ( )
privatenoexcept

Definition at line 46 of file ODRunConfigInfo.cc.

46  {
47  int result = 0;
48  try {
49  this->checkConnection();
50 
51  m_readStmt = m_conn->createStatement();
52  m_readStmt->setSQL("select ecal_run_sq.NextVal from dual");
53  ResultSet* rset = m_readStmt->executeQuery();
54  while (rset->next()) {
55  result = rset->getInt(1);
56  }
57  m_conn->terminateStatement(m_readStmt);
58  return result;
59 
60  } catch (SQLException& e) {
61  throw(std::runtime_error("ODDCCConfig::fetchNextId(): " + e.getMessage()));
62  }
63 }

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

◆ getDBTime()

Tm ODRunConfigInfo::getDBTime ( ) const
inline

Definition at line 24 of file ODRunConfigInfo.h.

24 { return m_db_time; }

References m_db_time.

◆ getDefaults()

int ODRunConfigInfo::getDefaults ( ) const
inline

Definition at line 39 of file ODRunConfigInfo.h.

39 { return m_defaults; }

References m_defaults.

◆ getDescription()

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

Definition at line 30 of file ODRunConfigInfo.h.

30 { return m_description; }

References m_description.

◆ getId()

int ODRunConfigInfo::getId ( void  ) const
inline

Definition at line 21 of file ODRunConfigInfo.h.

21 { return m_ID; }

References m_ID.

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

◆ getNumberOfEvents()

int ODRunConfigInfo::getNumberOfEvents ( ) const
inline

Definition at line 45 of file ODRunConfigInfo.h.

45 { return m_num_events; }

References m_num_events.

◆ getNumberOfSequences()

int ODRunConfigInfo::getNumberOfSequences ( ) const
inline

Definition at line 36 of file ODRunConfigInfo.h.

36 { return m_num_seq; }

References m_num_seq.

◆ getRunModeDef()

RunModeDef ODRunConfigInfo::getRunModeDef ( ) const

Definition at line 37 of file ODRunConfigInfo.cc.

37 { return m_runModeDef; }

◆ getRunTypeDef()

RunTypeDef ODRunConfigInfo::getRunTypeDef ( ) const

Definition at line 29 of file ODRunConfigInfo.cc.

29 { return m_runTypeDef; }

◆ getTable()

std::string ODRunConfigInfo::getTable ( )
inlineoverridevirtual

Implements IODConfig.

Definition at line 18 of file ODRunConfigInfo.h.

18 { return "ECAL_RUN_CONFIGURATION_DAT"; }

◆ getTag()

std::string ODRunConfigInfo::getTag ( ) const
inline

Definition at line 27 of file ODRunConfigInfo.h.

27 { return m_tag; }

References m_tag.

◆ getTriggerMode()

std::string ODRunConfigInfo::getTriggerMode ( ) const
inline

Definition at line 42 of file ODRunConfigInfo.h.

42 { return m_trigger_mode; }

References m_trigger_mode.

◆ getUsageStatus()

std::string ODRunConfigInfo::getUsageStatus ( ) const
inline

Definition at line 48 of file ODRunConfigInfo.h.

48 { return m_usage_status; }

References m_usage_status.

◆ getVersion()

int ODRunConfigInfo::getVersion ( ) const
inline

Definition at line 33 of file ODRunConfigInfo.h.

33 { return m_version; }

References m_version.

◆ operator!=()

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

Definition at line 58 of file ODRunConfigInfo.h.

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

References alignCSCRings::r.

◆ operator==()

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

Definition at line 57 of file ODRunConfigInfo.h.

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

References m_ID, and alignCSCRings::r.

◆ prepareWrite()

void ODRunConfigInfo::prepareWrite ( )
overrideprivatevirtualnoexcept

Implements IODConfig.

Definition at line 170 of file ODRunConfigInfo.cc.

170  {
171  this->checkConnection();
172 
173  int next_id = fetchNextId();
174 
175  try {
176  m_writeStmt = m_conn->createStatement();
177  m_writeStmt->setSQL(
178  "INSERT INTO ECAL_RUN_CONFIGURATION_DAT (CONFIG_ID, tag, version, run_type_def_id, "
179  " run_mode_def_id, num_of_sequences, defaults, trg_mode, num_of_events, description, usage_status ) "
180  " VALUES (:1, :2, :3 , :4, :5, :6 ,:7, :8, :9, :10 , :11)");
181 
182  m_writeStmt->setInt(1, next_id);
183  m_ID = next_id;
184 
185  } catch (SQLException& e) {
186  throw(std::runtime_error("ODRunConfigInfo::prepareWrite(): " + e.getMessage()));
187  }
188 }

References MillePedeFileConverter_cfg::e.

◆ setByID()

void ODRunConfigInfo::setByID ( int  id)
privatenoexcept

Definition at line 128 of file ODRunConfigInfo.cc.

128  {
129  this->checkConnection();
130 
132 
133  try {
134  Statement* stmt = m_conn->createStatement();
135 
136  stmt->setSQL(
137  "SELECT tag, version, run_type_def_id, run_mode_def_id, num_of_sequences, description, defaults,"
138  " trg_mode,num_of_events, db_timestamp, usage_status"
139  " FROM ECAL_RUN_CONFIGURATION_DAT WHERE config_id = :1");
140  stmt->setInt(1, id);
141 
142  ResultSet* rset = stmt->executeQuery();
143  if (rset->next()) {
144  m_tag = rset->getString(1);
145  m_version = rset->getInt(2);
146  int run_type_id = rset->getInt(3);
147  int run_mode_id = rset->getInt(4);
148  m_num_seq = rset->getInt(5);
149  m_description = rset->getString(6);
150  m_defaults = rset->getInt(7);
151  m_trigger_mode = rset->getString(8);
152  m_num_events = rset->getInt(9);
153  Date dbdate = rset->getDate(10);
154  m_db_time = dh.dateToTm(dbdate);
155  m_ID = id;
157  m_runModeDef.setByID(run_mode_id);
159  m_runTypeDef.setByID(run_type_id);
160  m_usage_status = rset->getString(11);
161  } else {
162  throw(std::runtime_error("ODRunConfigInfo::setByID: Given config_id is not in the database"));
163  }
164  m_conn->terminateStatement(stmt);
165  } catch (SQLException& e) {
166  throw(std::runtime_error("ODRunConfigInfo::setByID: " + e.getMessage()));
167  }
168 }

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

◆ setDBTime()

void ODRunConfigInfo::setDBTime ( const Tm x)
inline

Definition at line 23 of file ODRunConfigInfo.h.

23 { m_db_time = x; }

References m_db_time, and x.

◆ setDefaults()

void ODRunConfigInfo::setDefaults ( int  x)
inline

Definition at line 38 of file ODRunConfigInfo.h.

38 { m_defaults = x; }

References m_defaults, and x.

◆ setDescription()

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

Definition at line 29 of file ODRunConfigInfo.h.

29 { m_description = x; }

References m_description, and x.

◆ setId()

void ODRunConfigInfo::setId ( int  id)
inline

Definition at line 20 of file ODRunConfigInfo.h.

20 { m_ID = id; }

References triggerObjects_cff::id, and m_ID.

◆ setNumberOfEvents()

void ODRunConfigInfo::setNumberOfEvents ( int  x)
inline

Definition at line 44 of file ODRunConfigInfo.h.

44 { m_num_events = x; }

References m_num_events, and x.

◆ setNumberOfSequences()

void ODRunConfigInfo::setNumberOfSequences ( int  n)
inline

Definition at line 35 of file ODRunConfigInfo.h.

35 { m_num_seq = n; }

References m_num_seq, and dqmiodumpmetadata::n.

◆ setRunModeDef()

void ODRunConfigInfo::setRunModeDef ( const RunModeDef runModeDef)

Definition at line 38 of file ODRunConfigInfo.cc.

38  {
39  if (runModeDef != m_runModeDef) {
40  m_ID = 0;
41  m_runModeDef = runModeDef;
42  }
43 }

◆ setRunTypeDef()

void ODRunConfigInfo::setRunTypeDef ( const RunTypeDef runTypeDef)

Definition at line 30 of file ODRunConfigInfo.cc.

30  {
31  if (runTypeDef != m_runTypeDef) {
32  m_ID = 0;
33  m_runTypeDef = runTypeDef;
34  }
35 }

◆ setTag()

void ODRunConfigInfo::setTag ( std::string  x)
inline

Definition at line 26 of file ODRunConfigInfo.h.

26 { m_tag = x; }

References m_tag, and x.

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

◆ setTriggerMode()

void ODRunConfigInfo::setTriggerMode ( std::string  x)
inline

Definition at line 41 of file ODRunConfigInfo.h.

41 { m_trigger_mode = x; }

References m_trigger_mode, and x.

◆ setUsageStatus()

void ODRunConfigInfo::setUsageStatus ( std::string  x)
inline

Definition at line 47 of file ODRunConfigInfo.h.

47 { m_usage_status = x; }

References m_usage_status, and x.

◆ setVersion()

void ODRunConfigInfo::setVersion ( int  x)
inline

Definition at line 32 of file ODRunConfigInfo.h.

32 { m_version = x; }

References m_version, and x.

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

◆ updateDefaultCycle()

int ODRunConfigInfo::updateDefaultCycle ( )
privatenoexcept

Definition at line 234 of file ODRunConfigInfo.cc.

234  {
235  this->checkConnection();
236 
237  // Check if this has already been written
238  if (!this->fetchID()) {
239  this->writeDB();
240  }
241 
242  try {
243  Statement* stmt = m_conn->createStatement();
244 
245  stmt->setSQL("UPDATE ecal_run_configuration_dat set defaults=:1 where config_id=:2 ");
246 
247  stmt->setInt(1, m_defaults);
248  stmt->setInt(2, m_ID);
249 
250  stmt->executeUpdate();
251 
252  m_conn->terminateStatement(stmt);
253  } catch (SQLException& e) {
254  throw(std::runtime_error("ODRunConfigInfo::writeDB: " + e.getMessage()));
255  }
256 
257  return m_ID;
258 }

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

◆ writeDB()

void ODRunConfigInfo::writeDB ( )
privatenoexcept

Definition at line 190 of file ODRunConfigInfo.cc.

190  {
191  this->checkConnection();
192  this->checkPrepare();
193 
194  // Validate the data, use infinity-till convention
196 
197  try {
198  // get the run mode
200  int run_mode_id = m_runModeDef.fetchID();
201 
202  // get the run type
204  int run_type_id = m_runTypeDef.fetchID();
205 
206  // now insert
207 
208  m_writeStmt->setString(2, this->getTag());
209  m_writeStmt->setInt(3, this->getVersion());
210  m_writeStmt->setInt(4, run_type_id);
211  m_writeStmt->setInt(5, run_mode_id);
212  m_writeStmt->setInt(6, this->getNumberOfSequences());
213  m_writeStmt->setInt(7, this->getDefaults());
214  m_writeStmt->setString(8, this->getTriggerMode());
215  m_writeStmt->setInt(9, this->getNumberOfEvents());
216  m_writeStmt->setString(10, this->getDescription());
217  m_writeStmt->setString(11, this->getUsageStatus());
218 
219  m_writeStmt->executeUpdate();
220 
221  } catch (SQLException& e) {
222  throw(std::runtime_error("ODRunConfigInfo::writeDB: " + e.getMessage()));
223  }
224  // Now get the ID
225  if (!this->fetchID()) {
226  throw(std::runtime_error("ODRunConfigInfo::writeDB Failed to write"));
227  }
228 
229  this->setByID(m_ID);
230 
231  cout << "ODRunConfigInfo::writeDB>> done inserting ODRunConfigInfo with id=" << m_ID << endl;
232 }

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

Friends And Related Function Documentation

◆ EcalCondDBInterface

friend class EcalCondDBInterface
friend

Definition at line 14 of file ODRunConfigInfo.h.

Member Data Documentation

◆ m_db_time

Tm ODRunConfigInfo::m_db_time
private

Definition at line 63 of file ODRunConfigInfo.h.

Referenced by getDBTime(), and setDBTime().

◆ m_defaults

int ODRunConfigInfo::m_defaults
private

Definition at line 70 of file ODRunConfigInfo.h.

Referenced by getDefaults(), and setDefaults().

◆ m_description

std::string ODRunConfigInfo::m_description
private

Definition at line 69 of file ODRunConfigInfo.h.

Referenced by getDescription(), and setDescription().

◆ m_ID

int ODRunConfigInfo::m_ID
private

Definition at line 62 of file ODRunConfigInfo.h.

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

◆ m_num_events

int ODRunConfigInfo::m_num_events
private

Definition at line 72 of file ODRunConfigInfo.h.

Referenced by getNumberOfEvents(), and setNumberOfEvents().

◆ m_num_seq

int ODRunConfigInfo::m_num_seq
private

Definition at line 68 of file ODRunConfigInfo.h.

Referenced by getNumberOfSequences(), and setNumberOfSequences().

◆ m_runModeDef

RunModeDef ODRunConfigInfo::m_runModeDef
private

Definition at line 66 of file ODRunConfigInfo.h.

◆ m_runTypeDef

RunTypeDef ODRunConfigInfo::m_runTypeDef
private

Definition at line 67 of file ODRunConfigInfo.h.

◆ m_tag

std::string ODRunConfigInfo::m_tag
private

Definition at line 64 of file ODRunConfigInfo.h.

Referenced by getTag(), and setTag().

◆ m_trigger_mode

std::string ODRunConfigInfo::m_trigger_mode
private

Definition at line 71 of file ODRunConfigInfo.h.

Referenced by getTriggerMode(), and setTriggerMode().

◆ m_usage_status

std::string ODRunConfigInfo::m_usage_status
private

Definition at line 73 of file ODRunConfigInfo.h.

Referenced by getUsageStatus(), and setUsageStatus().

◆ m_version

int ODRunConfigInfo::m_version
private

Definition at line 65 of file ODRunConfigInfo.h.

Referenced by getVersion(), and setVersion().

ODRunConfigInfo::getTag
std::string getTag() const
Definition: ODRunConfigInfo.h:27
ODRunConfigInfo::getNumberOfSequences
int getNumberOfSequences() const
Definition: ODRunConfigInfo.h:36
ODRunConfigInfo::m_defaults
int m_defaults
Definition: ODRunConfigInfo.h:70
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
RunModeDef
Definition: RunModeDef.h:12
RunModeDef::fetchID
int fetchID() noexcept(false) override
Definition: RunModeDef.cc:27
ODRunConfigInfo::getVersion
int getVersion() const
Definition: ODRunConfigInfo.h:33
IODConfig::Statement
oracle::occi::Statement Statement
Definition: IODConfig.h:21
gather_cfg.cout
cout
Definition: gather_cfg.py:144
DDAxes::x
ODRunConfigInfo::setByID
void setByID(int id) noexcept(false)
Definition: ODRunConfigInfo.cc:128
IODConfig::SQLException
oracle::occi::SQLException SQLException
Definition: IODConfig.h:20
ODRunConfigInfo::fetchNextId
int fetchNextId() noexcept(false)
Definition: ODRunConfigInfo.cc:46
ODRunConfigInfo::getUsageStatus
std::string getUsageStatus() const
Definition: ODRunConfigInfo.h:48
ODRunConfigInfo::m_num_seq
int m_num_seq
Definition: ODRunConfigInfo.h:68
IDBObject::m_conn
oracle::occi::Connection * m_conn
Definition: IDBObject.h:34
RunModeDef::setByID
void setByID(int id) noexcept(false) override
Definition: RunModeDef.cc:57
ODRunConfigInfo::writeDB
void writeDB() noexcept(false)
Definition: ODRunConfigInfo.cc:190
IODConfig::checkPrepare
void checkPrepare() noexcept(false)
Definition: IODConfig.h:36
RunTypeDef
Definition: RunTypeDef.h:12
IDBObject::checkConnection
void checkConnection() const noexcept(false)
Definition: IDBObject.h:36
IODConfig::m_readStmt
Statement * m_readStmt
Definition: IODConfig.h:34
ODRunConfigInfo::m_num_events
int m_num_events
Definition: ODRunConfigInfo.h:72
ODRunConfigInfo::getDescription
std::string getDescription() const
Definition: ODRunConfigInfo.h:30
alignCSCRings.r
r
Definition: alignCSCRings.py:93
ODRunConfigInfo::m_tag
std::string m_tag
Definition: ODRunConfigInfo.h:64
ODRunConfigInfo::m_ID
int m_ID
Definition: ODRunConfigInfo.h:62
ODRunConfigInfo::fetchID
int fetchID() noexcept(false)
Definition: ODRunConfigInfo.cc:65
ODRunConfigInfo::getNumberOfEvents
int getNumberOfEvents() const
Definition: ODRunConfigInfo.h:45
ODRunConfigInfo::m_runTypeDef
RunTypeDef m_runTypeDef
Definition: ODRunConfigInfo.h:67
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
ODRunConfigInfo::m_usage_status
std::string m_usage_status
Definition: ODRunConfigInfo.h:73
ODRunConfigInfo::m_db_time
Tm m_db_time
Definition: ODRunConfigInfo.h:63
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
ODRunConfigInfo::getTriggerMode
std::string getTriggerMode() const
Definition: ODRunConfigInfo.h:42
RunTypeDef::fetchID
int fetchID() noexcept(false) override
Definition: RunTypeDef.cc:30
IDBObject::m_env
oracle::occi::Environment * m_env
Definition: IDBObject.h:33
mps_fire.result
result
Definition: mps_fire.py:311
ODRunConfigInfo::m_runModeDef
RunModeDef m_runModeDef
Definition: ODRunConfigInfo.h:66
ODRunConfigInfo::getDefaults
int getDefaults() const
Definition: ODRunConfigInfo.h:39
DateHandler
Definition: DateHandler.h:7
ODRunConfigInfo::m_description
std::string m_description
Definition: ODRunConfigInfo.h:69
ODRunConfigInfo::m_version
int m_version
Definition: ODRunConfigInfo.h:65
cuy.dh
dh
Definition: cuy.py:354
ODRunConfigInfo::m_trigger_mode
std::string m_trigger_mode
Definition: ODRunConfigInfo.h:71
RunTypeDef::setByID
void setByID(int id) noexcept(false) override
Definition: RunTypeDef.cc:60
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37