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

#include <FEConfigFgrParamDat.h>

Inheritance diagram for FEConfigFgrParamDat:
IDataItem IDBObject

Public Member Functions

 FEConfigFgrParamDat ()
 
float getFGhighratio () const
 
float getFGhighthresh () const
 
float getFGlowratio () const
 
float getFGlowthresh () const
 
std::string getTable ()
 
void setFGhighratio (float x)
 
void setFGhighthresh (float x)
 
void setFGlowratio (float x)
 
void setFGlowthresh (float x)
 
 ~FEConfigFgrParamDat ()
 
- Public Member Functions inherited from IDataItem
 IDataItem ()
 
- 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 fetchData (std::map< EcalLogicID, FEConfigFgrParamDat > *fillMap, FEConfigFgrInfo *iconf) throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void writeArrayDB (const std::map< EcalLogicID, FEConfigFgrParamDat > *data, FEConfigFgrInfo *iconf) throw (std::runtime_error)
 
void writeDB (const EcalLogicID *ecid, const FEConfigFgrParamDat *item, FEConfigFgrInfo *iconf) throw (std::runtime_error)
 

Private Attributes

float m_fghighthresh
 
float m_fglowthresh
 
float m_highratio
 
float m_lowratio
 

Friends

class EcalCondDBInterface
 

Additional Inherited Members

- Static Public Attributes inherited from IDBObject
static int const ECALDB_NROWS =1024
 
- Protected Member Functions inherited from IDataItem
void checkPrepare () throw (std::runtime_error)
 
void createReadStatement () 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 IDataItem
oracle::occi::Statement * m_readStmt
 
oracle::occi::Statement * m_writeStmt
 
- Protected Attributes inherited from IDBObject
oracle::occi::Connection * m_conn
 
oracle::occi::Environment * m_env
 

Detailed Description

Definition at line 11 of file FEConfigFgrParamDat.h.

Constructor & Destructor Documentation

FEConfigFgrParamDat::FEConfigFgrParamDat ( )

Definition at line 11 of file FEConfigFgrParamDat.cc.

FEConfigFgrParamDat::~FEConfigFgrParamDat ( )

Definition at line 27 of file FEConfigFgrParamDat.cc.

Member Function Documentation

void FEConfigFgrParamDat::fetchData ( std::map< EcalLogicID, FEConfigFgrParamDat > *  fillMap,
FEConfigFgrInfo iconf 
)
throw (std::runtime_error
)
private

Definition at line 79 of file FEConfigFgrParamDat.cc.

float FEConfigFgrParamDat::getFGhighratio ( ) const
inline

Definition at line 29 of file FEConfigFgrParamDat.h.

References m_highratio.

29 { return m_highratio; }
float FEConfigFgrParamDat::getFGhighthresh ( ) const
inline

Definition at line 27 of file FEConfigFgrParamDat.h.

References m_fghighthresh.

27 { return m_fghighthresh; }
float FEConfigFgrParamDat::getFGlowratio ( ) const
inline

Definition at line 28 of file FEConfigFgrParamDat.h.

References m_lowratio.

28 { return m_lowratio ; }
float FEConfigFgrParamDat::getFGlowthresh ( ) const
inline

Definition at line 26 of file FEConfigFgrParamDat.h.

References m_fglowthresh.

26 { return m_fglowthresh; }
std::string FEConfigFgrParamDat::getTable ( )
inlinevirtual

Implements IDataItem.

Definition at line 18 of file FEConfigFgrParamDat.h.

18 { return "FE_CONFIG_FGRPARAM_DAT"; }
void FEConfigFgrParamDat::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IDataItem.

Definition at line 33 of file FEConfigFgrParamDat.cc.

void FEConfigFgrParamDat::setFGhighratio ( float  x)
inline

Definition at line 24 of file FEConfigFgrParamDat.h.

References m_highratio, and x.

void FEConfigFgrParamDat::setFGhighthresh ( float  x)
inline

Definition at line 22 of file FEConfigFgrParamDat.h.

References m_fghighthresh, and x.

void FEConfigFgrParamDat::setFGlowratio ( float  x)
inline

Definition at line 23 of file FEConfigFgrParamDat.h.

References m_lowratio, and x.

void FEConfigFgrParamDat::setFGlowthresh ( float  x)
inline

Definition at line 21 of file FEConfigFgrParamDat.h.

References m_fglowthresh, and x.

void FEConfigFgrParamDat::writeArrayDB ( const std::map< EcalLogicID, FEConfigFgrParamDat > *  data,
FEConfigFgrInfo iconf 
)
throw (std::runtime_error
)
private

Definition at line 125 of file FEConfigFgrParamDat.cc.

void FEConfigFgrParamDat::writeDB ( const EcalLogicID ecid,
const FEConfigFgrParamDat item,
FEConfigFgrInfo iconf 
)
throw (std::runtime_error
)
private

Definition at line 51 of file FEConfigFgrParamDat.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 13 of file FEConfigFgrParamDat.h.

Member Data Documentation

float FEConfigFgrParamDat::m_fghighthresh
private

Definition at line 48 of file FEConfigFgrParamDat.h.

Referenced by getFGhighthresh(), and setFGhighthresh().

float FEConfigFgrParamDat::m_fglowthresh
private

Definition at line 47 of file FEConfigFgrParamDat.h.

Referenced by getFGlowthresh(), and setFGlowthresh().

float FEConfigFgrParamDat::m_highratio
private

Definition at line 50 of file FEConfigFgrParamDat.h.

Referenced by getFGhighratio(), and setFGhighratio().

float FEConfigFgrParamDat::m_lowratio
private

Definition at line 49 of file FEConfigFgrParamDat.h.

Referenced by getFGlowratio(), and setFGlowratio().