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
ODEcalCycle Class Reference

#include <ODEcalCycle.h>

Inheritance diagram for ODEcalCycle:
IODConfig IDBObject

Public Member Functions

int getCCSId () const
 
std::string getCycleDescription () const
 
int getCycleNum () const
 
std::string getCycleTag () const
 
int getDCCId () const
 
int getDCUId () const
 
int getId () const
 
int getJBH4Id () const
 
int getLaserId () const
 
int getLTCId () const
 
int getLTSId () const
 
int getMataqId () const
 
int getScanId () const
 
int getSeqNum () const
 
int getSequenceId () const
 
int getSRPId () const
 
std::string getTable ()
 
std::string getTag () const
 
int getTCCEEId () const
 
int getTCCId () const
 
int getTTCCIId () const
 
int getTTCFId () const
 
int getVersion () const
 
 ODEcalCycle ()
 
void printout ()
 
void setCCSId (int x)
 
void setCycleDescription (std::string x)
 
void setCycleNum (int x)
 
void setCycleTag (std::string x)
 
void setDCCId (int x)
 
void setDCUId (int x)
 
void setId (int id)
 
void setJBH4Id (int x)
 
void setLaserId (int x)
 
void setLTCId (int x)
 
void setLTSId (int x)
 
void setMataqId (int x)
 
void setScanId (int x)
 
void setSeqNum (int x)
 
void setSequenceId (int x)
 
void setSRPId (int x)
 
void setTag (std::string x)
 
void setTCCEEId (int x)
 
void setTCCId (int x)
 
void setTTCCIId (int x)
 
void setTTCFId (int x)
 
void setVersion (int x)
 
 ~ODEcalCycle ()
 
- 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 (ODEcalCycle *result) throw (std::runtime_error)
 
int fetchID () throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void setByID (int id) throw (std::runtime_error)
 
void writeDB () throw (std::runtime_error)
 

Private Attributes

int m_ccs
 
std::string m_cycle_description
 
int m_cycle_num
 
std::string m_cycle_tag
 
int m_dcc
 
int m_dcu
 
int m_ID
 
int m_jbh4
 
int m_laser
 
int m_ltc
 
int m_lts
 
int m_mataq
 
int m_scan
 
int m_seq_id
 
int m_seq_num
 
int m_srp
 
std::string m_tag
 
int m_tcc
 
int m_tcc_ee
 
int m_ttcci
 
int m_ttcf
 
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 int const ECALDB_NROWS =1024
 
- Protected Member Functions inherited from IODConfig
void checkPrepare () throw (std::runtime_error)
 
void createReadStatement () throw (std::runtime_error)
 
void populateClob (Clob &clob, std::string fname, unsigned int bufsize) throw (std::runtime_error)
 
unsigned char * readClob (Clob &clob, int size) throw (std::runtime_error)
 
void setPrefetchRowCount (int ncount) throw (std::runtime_error)
 
void terminateReadStatement () throw (std::runtime_error)
 
void terminateWriteStatement () throw (std::runtime_error)
 
- Protected Member Functions inherited from IDBObject
void checkConnection () const throw (std::runtime_error)
 
- 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 9 of file ODEcalCycle.h.

Constructor & Destructor Documentation

ODEcalCycle::ODEcalCycle ( )

Definition at line 25 of file ODEcalCycle.cc.

ODEcalCycle::~ODEcalCycle ( )

Definition at line 38 of file ODEcalCycle.cc.

Member Function Documentation

void ODEcalCycle::clear ( void  )
private

Definition at line 179 of file ODEcalCycle.cc.

void ODEcalCycle::fetchData ( ODEcalCycle result)
throw (std::runtime_error
)
private

Definition at line 308 of file ODEcalCycle.cc.

int ODEcalCycle::fetchID ( )
throw (std::runtime_error
)
private

Definition at line 202 of file ODEcalCycle.cc.

int ODEcalCycle::getCCSId ( ) const
inline

Definition at line 38 of file ODEcalCycle.h.

References m_ccs.

38 { return m_ccs; }
std::string ODEcalCycle::getCycleDescription ( ) const
inline

Definition at line 36 of file ODEcalCycle.h.

References m_cycle_description.

36 { return m_cycle_description; }
std::string m_cycle_description
Definition: ODEcalCycle.h:84
int ODEcalCycle::getCycleNum ( ) const
inline

Definition at line 32 of file ODEcalCycle.h.

References m_cycle_num.

32 { return m_cycle_num; }
int m_cycle_num
Definition: ODEcalCycle.h:82
std::string ODEcalCycle::getCycleTag ( ) const
inline

Definition at line 34 of file ODEcalCycle.h.

References m_cycle_tag.

34 { return m_cycle_tag; }
std::string m_cycle_tag
Definition: ODEcalCycle.h:83
int ODEcalCycle::getDCCId ( ) const
inline

Definition at line 40 of file ODEcalCycle.h.

References m_dcc.

40 { return m_dcc; }
int ODEcalCycle::getDCUId ( ) const
inline

Definition at line 48 of file ODEcalCycle.h.

References m_dcu.

48 { return m_dcu; }
int ODEcalCycle::getId ( ) const
inline

Definition at line 20 of file ODEcalCycle.h.

References m_ID.

20 { return m_ID; }
int ODEcalCycle::getJBH4Id ( ) const
inline

Definition at line 58 of file ODEcalCycle.h.

References m_jbh4.

58 { return m_jbh4; }
int ODEcalCycle::getLaserId ( ) const
inline

Definition at line 42 of file ODEcalCycle.h.

References m_laser.

42 { return m_laser; }
int ODEcalCycle::getLTCId ( ) const
inline

Definition at line 44 of file ODEcalCycle.h.

References m_ltc.

44 { return m_ltc; }
int ODEcalCycle::getLTSId ( ) const
inline

Definition at line 46 of file ODEcalCycle.h.

References m_lts.

46 { return m_lts; }
int ODEcalCycle::getMataqId ( ) const
inline

Definition at line 56 of file ODEcalCycle.h.

References m_mataq.

56 { return m_mataq; }
int ODEcalCycle::getScanId ( ) const
inline

Definition at line 60 of file ODEcalCycle.h.

References m_scan.

60 { return m_scan; }
int ODEcalCycle::getSeqNum ( ) const
inline

Definition at line 26 of file ODEcalCycle.h.

References m_seq_num.

26 { return m_seq_num; }
int ODEcalCycle::getSequenceId ( ) const
inline

Definition at line 29 of file ODEcalCycle.h.

References m_seq_id.

29 { return m_seq_id; }
int ODEcalCycle::getSRPId ( ) const
inline

Definition at line 64 of file ODEcalCycle.h.

References m_srp.

64 { return m_srp; }
std::string ODEcalCycle::getTable ( )
inlinevirtual

Implements IODConfig.

Definition at line 17 of file ODEcalCycle.h.

17 { return "ECAL_CYCLE"; }
std::string ODEcalCycle::getTag ( void  ) const
inline

Definition at line 22 of file ODEcalCycle.h.

References m_tag.

22 { return m_tag; }
std::string m_tag
Definition: ODEcalCycle.h:78
int ODEcalCycle::getTCCEEId ( ) const
inline

Definition at line 52 of file ODEcalCycle.h.

References m_tcc_ee.

52 { return m_tcc_ee; }
int ODEcalCycle::getTCCId ( ) const
inline

Definition at line 50 of file ODEcalCycle.h.

References m_tcc.

50 { return m_tcc; }
int ODEcalCycle::getTTCCIId ( ) const
inline

Definition at line 54 of file ODEcalCycle.h.

References m_ttcci.

54 { return m_ttcci; }
int ODEcalCycle::getTTCFId ( ) const
inline

Definition at line 62 of file ODEcalCycle.h.

References m_ttcf.

62 { return m_ttcf; }
int ODEcalCycle::getVersion ( ) const
inline

Definition at line 24 of file ODEcalCycle.h.

References m_version.

24 { return m_version; }
void ODEcalCycle::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IODConfig.

Definition at line 44 of file ODEcalCycle.cc.

void ODEcalCycle::printout ( )

Definition at line 286 of file ODEcalCycle.cc.

void ODEcalCycle::setByID ( int  id)
throw (std::runtime_error
)
private

Definition at line 236 of file ODEcalCycle.cc.

void ODEcalCycle::setCCSId ( int  x)
inline

Definition at line 37 of file ODEcalCycle.h.

References m_ccs, and x.

37 { m_ccs = x; }
void ODEcalCycle::setCycleDescription ( std::string  x)
inline

Definition at line 35 of file ODEcalCycle.h.

References m_cycle_description, and x.

std::string m_cycle_description
Definition: ODEcalCycle.h:84
void ODEcalCycle::setCycleNum ( int  x)
inline

Definition at line 31 of file ODEcalCycle.h.

References m_cycle_num, and x.

31 { m_cycle_num = x; }
int m_cycle_num
Definition: ODEcalCycle.h:82
void ODEcalCycle::setCycleTag ( std::string  x)
inline

Definition at line 33 of file ODEcalCycle.h.

References m_cycle_tag, and x.

33 { m_cycle_tag = x; }
std::string m_cycle_tag
Definition: ODEcalCycle.h:83
void ODEcalCycle::setDCCId ( int  x)
inline

Definition at line 39 of file ODEcalCycle.h.

References m_dcc, and x.

39 { m_dcc = x; }
void ODEcalCycle::setDCUId ( int  x)
inline

Definition at line 47 of file ODEcalCycle.h.

References m_dcu, and x.

47 { m_dcu = x; }
void ODEcalCycle::setId ( int  id)
inline

Definition at line 19 of file ODEcalCycle.h.

References m_ID.

19 { m_ID = id; }
void ODEcalCycle::setJBH4Id ( int  x)
inline

Definition at line 57 of file ODEcalCycle.h.

References m_jbh4, and x.

57 { m_jbh4 = x; }
void ODEcalCycle::setLaserId ( int  x)
inline

Definition at line 41 of file ODEcalCycle.h.

References m_laser, and x.

41 { m_laser = x; }
void ODEcalCycle::setLTCId ( int  x)
inline

Definition at line 43 of file ODEcalCycle.h.

References m_ltc, and x.

43 { m_ltc = x; }
void ODEcalCycle::setLTSId ( int  x)
inline

Definition at line 45 of file ODEcalCycle.h.

References m_lts, and x.

45 { m_lts = x; }
void ODEcalCycle::setMataqId ( int  x)
inline

Definition at line 55 of file ODEcalCycle.h.

References m_mataq, and x.

55 { m_mataq = x; }
void ODEcalCycle::setScanId ( int  x)
inline

Definition at line 59 of file ODEcalCycle.h.

References m_scan, and x.

59 { m_scan = x; }
void ODEcalCycle::setSeqNum ( int  x)
inline

Definition at line 25 of file ODEcalCycle.h.

References m_seq_num, and x.

25 { m_seq_num = x; }
void ODEcalCycle::setSequenceId ( int  x)
inline

Definition at line 28 of file ODEcalCycle.h.

References m_seq_id, and x.

28 { m_seq_id = x; }
void ODEcalCycle::setSRPId ( int  x)
inline

Definition at line 63 of file ODEcalCycle.h.

References m_srp, and x.

63 { m_srp = x; }
void ODEcalCycle::setTag ( std::string  x)
inline

Definition at line 21 of file ODEcalCycle.h.

References m_tag, and x.

21 { m_tag = x; }
std::string m_tag
Definition: ODEcalCycle.h:78
void ODEcalCycle::setTCCEEId ( int  x)
inline

Definition at line 51 of file ODEcalCycle.h.

References m_tcc_ee, and x.

51 { m_tcc_ee = x; }
void ODEcalCycle::setTCCId ( int  x)
inline

Definition at line 49 of file ODEcalCycle.h.

References m_tcc, and x.

49 { m_tcc = x; }
void ODEcalCycle::setTTCCIId ( int  x)
inline

Definition at line 53 of file ODEcalCycle.h.

References m_ttcci, and x.

53 { m_ttcci = x; }
void ODEcalCycle::setTTCFId ( int  x)
inline

Definition at line 61 of file ODEcalCycle.h.

References m_ttcf, and x.

61 { m_ttcf = x; }
void ODEcalCycle::setVersion ( int  x)
inline

Definition at line 23 of file ODEcalCycle.h.

References m_version, and x.

23 { m_version = x; }
void ODEcalCycle::writeDB ( )
throw (std::runtime_error
)
private

Definition at line 54 of file ODEcalCycle.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 11 of file ODEcalCycle.h.

Member Data Documentation

int ODEcalCycle::m_ccs
private

Definition at line 85 of file ODEcalCycle.h.

Referenced by getCCSId(), and setCCSId().

std::string ODEcalCycle::m_cycle_description
private

Definition at line 84 of file ODEcalCycle.h.

Referenced by getCycleDescription(), and setCycleDescription().

int ODEcalCycle::m_cycle_num
private

Definition at line 82 of file ODEcalCycle.h.

Referenced by getCycleNum(), and setCycleNum().

std::string ODEcalCycle::m_cycle_tag
private

Definition at line 83 of file ODEcalCycle.h.

Referenced by getCycleTag(), and setCycleTag().

int ODEcalCycle::m_dcc
private

Definition at line 86 of file ODEcalCycle.h.

Referenced by getDCCId(), and setDCCId().

int ODEcalCycle::m_dcu
private

Definition at line 90 of file ODEcalCycle.h.

Referenced by getDCUId(), and setDCUId().

int ODEcalCycle::m_ID
private

Definition at line 77 of file ODEcalCycle.h.

Referenced by getId(), and setId().

int ODEcalCycle::m_jbh4
private

Definition at line 95 of file ODEcalCycle.h.

Referenced by getJBH4Id(), and setJBH4Id().

int ODEcalCycle::m_laser
private

Definition at line 87 of file ODEcalCycle.h.

Referenced by getLaserId(), and setLaserId().

int ODEcalCycle::m_ltc
private

Definition at line 88 of file ODEcalCycle.h.

Referenced by getLTCId(), and setLTCId().

int ODEcalCycle::m_lts
private

Definition at line 89 of file ODEcalCycle.h.

Referenced by getLTSId(), and setLTSId().

int ODEcalCycle::m_mataq
private

Definition at line 94 of file ODEcalCycle.h.

Referenced by getMataqId(), and setMataqId().

int ODEcalCycle::m_scan
private

Definition at line 96 of file ODEcalCycle.h.

Referenced by getScanId(), and setScanId().

int ODEcalCycle::m_seq_id
private

Definition at line 81 of file ODEcalCycle.h.

Referenced by getSequenceId(), and setSequenceId().

int ODEcalCycle::m_seq_num
private

Definition at line 80 of file ODEcalCycle.h.

Referenced by getSeqNum(), and setSeqNum().

int ODEcalCycle::m_srp
private

Definition at line 97 of file ODEcalCycle.h.

Referenced by getSRPId(), and setSRPId().

std::string ODEcalCycle::m_tag
private

Definition at line 78 of file ODEcalCycle.h.

Referenced by getTag(), and setTag().

int ODEcalCycle::m_tcc
private

Definition at line 91 of file ODEcalCycle.h.

Referenced by getTCCId(), and setTCCId().

int ODEcalCycle::m_tcc_ee
private

Definition at line 92 of file ODEcalCycle.h.

Referenced by getTCCEEId(), and setTCCEEId().

int ODEcalCycle::m_ttcci
private

Definition at line 93 of file ODEcalCycle.h.

Referenced by getTTCCIId(), and setTTCCIId().

int ODEcalCycle::m_ttcf
private

Definition at line 98 of file ODEcalCycle.h.

Referenced by getTTCFId(), and setTTCFId().

int ODEcalCycle::m_version
private

Definition at line 79 of file ODEcalCycle.h.

Referenced by getVersion(), and setVersion().