CMS 3D CMS Logo

FEConfigParamDat.h
Go to the documentation of this file.
1 #ifndef FECONFPARAMDAT_H
2 #define FECONFPARAMDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class FEConfigParamDat : public IDataItem {
12 public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigParamDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_PARAM_DAT"; }
19 
20  inline void setETSat(float x) { m_etsat = x; }
21  inline void setTTThreshlow(float x) { m_tthreshlow = x; }
22  inline void setTTThreshhigh(float x) { m_tthreshhigh = x; }
23  inline void setFGlowthresh(float x) { m_fglowthresh = x; }
24  inline void setFGhighthresh(float x) { m_fghighthresh = x; }
25  inline void setFGlowratio(float x) { m_lowratio = x; }
26  inline void setFGhighratio(float x) { m_highratio = x; }
27 
28  inline float getETSat() const { return m_etsat; }
29  inline float getTTThreshlow() const { return m_tthreshlow; }
30  inline float getTTThreshhigh() const { return m_tthreshhigh; }
31  inline float getFGlowthresh() const { return m_fglowthresh; }
32  inline float getFGhighthresh() const { return m_fghighthresh; }
33  inline float getFGlowratio() const { return m_lowratio; }
34  inline float getFGhighratio() const { return m_highratio; }
35 
36 private:
37  void prepareWrite() noexcept(false) override;
38 
39  void writeDB(const EcalLogicID* ecid, const FEConfigParamDat* item, FEConfigLinInfo* iconf) noexcept(false);
40 
42 
43  void fetchData(std::map<EcalLogicID, FEConfigParamDat>* fillMap, FEConfigLinInfo* iconf) noexcept(false);
44 
45  // User data
46  float m_etsat;
47  float m_tthreshlow;
51  float m_lowratio;
52  float m_highratio;
53 };
54 
55 #endif
FEConfigParamDat::getFGlowratio
float getFGlowratio() const
Definition: FEConfigParamDat.h:33
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
FEConfigParamDat::fetchData
void fetchData(std::map< EcalLogicID, FEConfigParamDat > *fillMap, FEConfigLinInfo *iconf) noexcept(false)
Definition: FEConfigParamDat.cc:76
IDataItem.h
FEConfigParamDat::m_tthreshhigh
float m_tthreshhigh
Definition: FEConfigParamDat.h:48
FEConfigParamDat::m_fghighthresh
float m_fghighthresh
Definition: FEConfigParamDat.h:50
funct::false
false
Definition: Factorize.h:29
FEConfigParamDat::~FEConfigParamDat
~FEConfigParamDat() override
Definition: FEConfigParamDat.cc:26
FEConfigParamDat::getETSat
float getETSat() const
Definition: FEConfigParamDat.h:28
FEConfigParamDat
Definition: FEConfigParamDat.h:11
DDAxes::x
FEConfigLinInfo
Definition: FEConfigLinInfo.h:11
watchdog.const
const
Definition: watchdog.py:83
FEConfigParamDat::getFGhighratio
float getFGhighratio() const
Definition: FEConfigParamDat.h:34
FEConfigParamDat::getFGhighthresh
float getFGhighthresh() const
Definition: FEConfigParamDat.h:32
IDataItem
Definition: IDataItem.h:16
FEConfigParamDat::getTable
std::string getTable() override
Definition: FEConfigParamDat.h:18
EcalLogicID
Definition: EcalLogicID.h:7
FEConfigParamDat::setTTThreshlow
void setTTThreshlow(float x)
Definition: FEConfigParamDat.h:21
FEConfigParamDat::setTTThreshhigh
void setTTThreshhigh(float x)
Definition: FEConfigParamDat.h:22
FEConfigLinInfo.h
FEConfigParamDat::getFGlowthresh
float getFGlowthresh() const
Definition: FEConfigParamDat.h:31
FEConfigParamDat::m_lowratio
float m_lowratio
Definition: FEConfigParamDat.h:51
FEConfigParamDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: FEConfigParamDat.cc:28
FEConfigParamDat::getTTThreshlow
float getTTThreshlow() const
Definition: FEConfigParamDat.h:29
FEConfigParamDat::setFGhighratio
void setFGhighratio(float x)
Definition: FEConfigParamDat.h:26
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
FEConfigParamDat::m_etsat
float m_etsat
Definition: FEConfigParamDat.h:46
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigParamDat::getTTThreshhigh
float getTTThreshhigh() const
Definition: FEConfigParamDat.h:30
FEConfigParamDat::setFGhighthresh
void setFGhighthresh(float x)
Definition: FEConfigParamDat.h:24
FEConfigParamDat::setFGlowratio
void setFGlowratio(float x)
Definition: FEConfigParamDat.h:25
EcalLogicID.h
FEConfigParamDat::writeDB
void writeDB(const EcalLogicID *ecid, const FEConfigParamDat *item, FEConfigLinInfo *iconf) noexcept(false)
Definition: FEConfigParamDat.cc:43
std
Definition: JetResolutionObject.h:76
FEConfigParamDat::m_highratio
float m_highratio
Definition: FEConfigParamDat.h:52
FEConfigParamDat::FEConfigParamDat
FEConfigParamDat()
Definition: FEConfigParamDat.cc:11
FEConfigParamDat::setETSat
void setETSat(float x)
Definition: FEConfigParamDat.h:20
FEConfigParamDat::setFGlowthresh
void setFGlowthresh(float x)
Definition: FEConfigParamDat.h:23
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition: genParticles_cff.py:11
FEConfigParamDat::m_fglowthresh
float m_fglowthresh
Definition: FEConfigParamDat.h:49
FEConfigParamDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, FEConfigParamDat > *data, FEConfigLinInfo *iconf) noexcept(false)
Definition: FEConfigParamDat.cc:123
FEConfigParamDat::m_tthreshlow
float m_tthreshlow
Definition: FEConfigParamDat.h:47