CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
MonRunIOV Class Reference

#include <MonRunIOV.h>

Inheritance diagram for MonRunIOV:
IIOV IUniqueDBObject IDBObject

Public Member Functions

int fetchID () throw (std::runtime_error)
 
int getID ()
 
MonRunTag getMonRunTag () const
 
RunIOV getRunIOV ()
 
Tm getSubRunEnd () const
 
run_t getSubRunNumber () const
 
Tm getSubRunStart () const
 
 MonRunIOV ()
 
bool operator!= (const MonRunIOV &m) const
 
bool operator== (const MonRunIOV &m) const
 
void setByID (int id) throw (std::runtime_error)
 
void setID (int id)
 
void setMonRunTag (const MonRunTag &tag)
 
void setRunIOV (const RunIOV &iov)
 
void setSubRunEnd (const Tm &end)
 
void setSubRunNumber (subrun_t subrun)
 
void setSubRunStart (const Tm &start)
 
 ~MonRunIOV ()
 
- 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 fetchParentIDs (int *monRunTagID, int *runIOVID) throw (std::runtime_error)
 
void setByRun (MonRunTag *montag, RunIOV *runiov, subrun_t subrun) throw (std::runtime_error)
 
int writeDB () throw (std::runtime_error)
 

Private Attributes

MonRunTag m_monRunTag
 
RunIOV m_runIOV
 
Tm m_subRunEnd
 
subrun_t m_subRunNum
 
Tm m_subRunStart
 

Friends

class EcalCondDBInterface
 

Additional Inherited Members

- Static Public Attributes inherited from IDBObject
static int const ECALDB_NROWS =1024
 
- Protected Member Functions inherited from IDBObject
void checkConnection () const throw (std::runtime_error)
 
- Protected Attributes inherited from IUniqueDBObject
int m_ID
 
- Protected Attributes inherited from IDBObject
oracle::occi::Connection * m_conn
 
oracle::occi::Environment * m_env
 

Detailed Description

Definition at line 14 of file MonRunIOV.h.

Constructor & Destructor Documentation

MonRunIOV::MonRunIOV ( )

Definition at line 13 of file MonRunIOV.cc.

MonRunIOV::~MonRunIOV ( )

Definition at line 26 of file MonRunIOV.cc.

Member Function Documentation

int MonRunIOV::fetchID ( )
throw (std::runtime_error
)
virtual

Implements IUniqueDBObject.

Definition at line 118 of file MonRunIOV.cc.

void MonRunIOV::fetchParentIDs ( int *  monRunTagID,
int *  runIOVID 
)
throw (std::runtime_error
)
private

Definition at line 273 of file MonRunIOV.cc.

int MonRunIOV::getID ( )
inline

Definition at line 22 of file MonRunIOV.h.

References IUniqueDBObject::m_ID.

22 { return m_ID;} ;
MonRunTag MonRunIOV::getMonRunTag ( ) const

Definition at line 46 of file MonRunIOV.cc.

RunIOV MonRunIOV::getRunIOV ( )

Definition at line 61 of file MonRunIOV.cc.

Tm MonRunIOV::getSubRunEnd ( ) const

Definition at line 111 of file MonRunIOV.cc.

run_t MonRunIOV::getSubRunNumber ( ) const

Definition at line 77 of file MonRunIOV.cc.

Tm MonRunIOV::getSubRunStart ( ) const

Definition at line 94 of file MonRunIOV.cc.

bool MonRunIOV::operator!= ( const MonRunIOV m) const
inline

Definition at line 50 of file MonRunIOV.h.

References visualization-live-secondInstance_cfg::m.

bool MonRunIOV::operator== ( const MonRunIOV m) const
inline

Definition at line 41 of file MonRunIOV.h.

References m_monRunTag, m_runIOV, m_subRunEnd, m_subRunNum, and m_subRunStart.

42  {
43  return ( m_monRunTag == m.m_monRunTag &&
44  m_runIOV == m.m_runIOV &&
45  m_subRunNum == m.m_subRunNum &&
47  m_subRunEnd == m.m_subRunEnd );
48  }
RunIOV m_runIOV
Definition: MonRunIOV.h:55
Tm m_subRunStart
Definition: MonRunIOV.h:57
MonRunTag m_monRunTag
Definition: MonRunIOV.h:54
subrun_t m_subRunNum
Definition: MonRunIOV.h:56
Tm m_subRunEnd
Definition: MonRunIOV.h:58
void MonRunIOV::setByID ( int  id)
throw (std::runtime_error
)
virtual

Implements IUniqueDBObject.

Definition at line 173 of file MonRunIOV.cc.

void MonRunIOV::setByRun ( MonRunTag montag,
RunIOV runiov,
subrun_t  subrun 
)
throw (std::runtime_error
)
private

Definition at line 292 of file MonRunIOV.cc.

void MonRunIOV::setID ( int  id)

Definition at line 31 of file MonRunIOV.cc.

void MonRunIOV::setMonRunTag ( const MonRunTag tag)

Definition at line 36 of file MonRunIOV.cc.

void MonRunIOV::setRunIOV ( const RunIOV iov)

Definition at line 53 of file MonRunIOV.cc.

void MonRunIOV::setSubRunEnd ( const Tm end)

Definition at line 101 of file MonRunIOV.cc.

void MonRunIOV::setSubRunNumber ( subrun_t  subrun)

Definition at line 67 of file MonRunIOV.cc.

void MonRunIOV::setSubRunStart ( const Tm start)

Definition at line 84 of file MonRunIOV.cc.

int MonRunIOV::writeDB ( )
throw (std::runtime_error
)
private

Definition at line 216 of file MonRunIOV.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 16 of file MonRunIOV.h.

Member Data Documentation

MonRunTag MonRunIOV::m_monRunTag
private

Definition at line 54 of file MonRunIOV.h.

Referenced by operator==().

RunIOV MonRunIOV::m_runIOV
private

Definition at line 55 of file MonRunIOV.h.

Referenced by operator==().

Tm MonRunIOV::m_subRunEnd
private

Definition at line 58 of file MonRunIOV.h.

Referenced by operator==().

subrun_t MonRunIOV::m_subRunNum
private

Definition at line 56 of file MonRunIOV.h.

Referenced by operator==().

Tm MonRunIOV::m_subRunStart
private

Definition at line 57 of file MonRunIOV.h.

Referenced by operator==().