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

#include <FEConfigParamDat.h>

Inheritance diagram for FEConfigParamDat:
IDataItem IDBObject

Public Member Functions

 FEConfigParamDat ()
 
float getETSat () const
 
float getFGhighratio () const
 
float getFGhighthresh () const
 
float getFGlowratio () const
 
float getFGlowthresh () const
 
std::string getTable ()
 
float getTTThreshhigh () const
 
float getTTThreshlow () const
 
void setETSat (float x)
 
void setFGhighratio (float x)
 
void setFGhighthresh (float x)
 
void setFGlowratio (float x)
 
void setFGlowthresh (float x)
 
void setTTThreshhigh (float x)
 
void setTTThreshlow (float x)
 
 ~FEConfigParamDat ()
 
- 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, FEConfigParamDat > *fillMap, FEConfigLinInfo *iconf) throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void writeArrayDB (const std::map< EcalLogicID, FEConfigParamDat > *data, FEConfigLinInfo *iconf) throw (std::runtime_error)
 
void writeDB (const EcalLogicID *ecid, const FEConfigParamDat *item, FEConfigLinInfo *iconf) throw (std::runtime_error)
 

Private Attributes

float m_etsat
 
float m_fghighthresh
 
float m_fglowthresh
 
float m_highratio
 
float m_lowratio
 
float m_tthreshhigh
 
float m_tthreshlow
 

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

Constructor & Destructor Documentation

FEConfigParamDat::FEConfigParamDat ( )

Definition at line 11 of file FEConfigParamDat.cc.

FEConfigParamDat::~FEConfigParamDat ( )

Definition at line 30 of file FEConfigParamDat.cc.

Member Function Documentation

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

Definition at line 85 of file FEConfigParamDat.cc.

float FEConfigParamDat::getETSat ( ) const
inline

Definition at line 29 of file FEConfigParamDat.h.

References m_etsat.

29 { return m_etsat; }
float FEConfigParamDat::getFGhighratio ( ) const
inline

Definition at line 35 of file FEConfigParamDat.h.

References m_highratio.

35 { return m_highratio; }
float FEConfigParamDat::getFGhighthresh ( ) const
inline

Definition at line 33 of file FEConfigParamDat.h.

References m_fghighthresh.

33 { return m_fghighthresh; }
float FEConfigParamDat::getFGlowratio ( ) const
inline

Definition at line 34 of file FEConfigParamDat.h.

References m_lowratio.

34 { return m_lowratio ; }
float FEConfigParamDat::getFGlowthresh ( ) const
inline

Definition at line 32 of file FEConfigParamDat.h.

References m_fglowthresh.

32 { return m_fglowthresh; }
std::string FEConfigParamDat::getTable ( )
inlinevirtual

Implements IDataItem.

Definition at line 18 of file FEConfigParamDat.h.

18 { return "FE_CONFIG_PARAM_DAT"; }
float FEConfigParamDat::getTTThreshhigh ( ) const
inline

Definition at line 31 of file FEConfigParamDat.h.

References m_tthreshhigh.

31 { return m_tthreshhigh; }
float FEConfigParamDat::getTTThreshlow ( ) const
inline

Definition at line 30 of file FEConfigParamDat.h.

References m_tthreshlow.

30 { return m_tthreshlow; }
void FEConfigParamDat::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IDataItem.

Definition at line 36 of file FEConfigParamDat.cc.

void FEConfigParamDat::setETSat ( float  x)
inline

Definition at line 21 of file FEConfigParamDat.h.

References m_etsat, and x.

void FEConfigParamDat::setFGhighratio ( float  x)
inline

Definition at line 27 of file FEConfigParamDat.h.

References m_highratio, and x.

void FEConfigParamDat::setFGhighthresh ( float  x)
inline

Definition at line 25 of file FEConfigParamDat.h.

References m_fghighthresh, and x.

void FEConfigParamDat::setFGlowratio ( float  x)
inline

Definition at line 26 of file FEConfigParamDat.h.

References m_lowratio, and x.

void FEConfigParamDat::setFGlowthresh ( float  x)
inline

Definition at line 24 of file FEConfigParamDat.h.

References m_fglowthresh, and x.

void FEConfigParamDat::setTTThreshhigh ( float  x)
inline

Definition at line 23 of file FEConfigParamDat.h.

References m_tthreshhigh, and x.

void FEConfigParamDat::setTTThreshlow ( float  x)
inline

Definition at line 22 of file FEConfigParamDat.h.

References m_tthreshlow, and x.

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

Definition at line 136 of file FEConfigParamDat.cc.

void FEConfigParamDat::writeDB ( const EcalLogicID ecid,
const FEConfigParamDat item,
FEConfigLinInfo iconf 
)
throw (std::runtime_error
)
private

Definition at line 54 of file FEConfigParamDat.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 13 of file FEConfigParamDat.h.

Member Data Documentation

float FEConfigParamDat::m_etsat
private

Definition at line 53 of file FEConfigParamDat.h.

Referenced by getETSat(), and setETSat().

float FEConfigParamDat::m_fghighthresh
private

Definition at line 57 of file FEConfigParamDat.h.

Referenced by getFGhighthresh(), and setFGhighthresh().

float FEConfigParamDat::m_fglowthresh
private

Definition at line 56 of file FEConfigParamDat.h.

Referenced by getFGlowthresh(), and setFGlowthresh().

float FEConfigParamDat::m_highratio
private

Definition at line 59 of file FEConfigParamDat.h.

Referenced by getFGhighratio(), and setFGhighratio().

float FEConfigParamDat::m_lowratio
private

Definition at line 58 of file FEConfigParamDat.h.

Referenced by getFGlowratio(), and setFGlowratio().

float FEConfigParamDat::m_tthreshhigh
private

Definition at line 55 of file FEConfigParamDat.h.

Referenced by getTTThreshhigh(), and setTTThreshhigh().

float FEConfigParamDat::m_tthreshlow
private

Definition at line 54 of file FEConfigParamDat.h.

Referenced by getTTThreshlow(), and setTTThreshlow().