CMS 3D CMS Logo

FEConfigFgrGroupDat.h
Go to the documentation of this file.
1 #ifndef FECONFFGRGROUPDAT_H
2 #define FECONFFGRGROUPDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12 public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigFgrGroupDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_FGR_PER_GROUP_DAT"; }
19 
20  inline void setFgrGroupId(int x) { m_group_id = x; }
21  inline int getFgrGroupId() const { return m_group_id; }
22 
23  inline void setThreshLow(float x) { m_thresh_low = x; }
24  inline float getThreshLow() const { return m_thresh_low; }
25  inline void setThreshHigh(float x) { m_thresh_high = x; }
26  inline float getThreshHigh() const { return m_thresh_high; }
27  inline void setRatioLow(float x) { m_ratio_low = x; }
28  inline float getRatioLow() const { return m_ratio_low; }
29  inline void setRatioHigh(float x) { m_ratio_high = x; }
30  inline float getRatioHigh() const { return m_ratio_high; }
31  inline void setLUTValue(int x) { m_lut = x; }
32  inline int getLUTValue() const { return m_lut; }
33 
34 private:
35  void prepareWrite() noexcept(false) override;
36 
38 
40 
41  void fetchData(std::map<EcalLogicID, FEConfigFgrGroupDat>* fillMap, FEConfigFgrInfo* iconf) noexcept(false);
42 
43  // User data
45  float m_thresh_low;
47  float m_ratio_low;
48  float m_ratio_high;
49  int m_lut;
50 };
51 
52 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
FEConfigFgrGroupDat
Definition: FEConfigFgrGroupDat.h:11
FEConfigFgrGroupDat::m_ratio_high
float m_ratio_high
Definition: FEConfigFgrGroupDat.h:48
FEConfigFgrGroupDat::setThreshHigh
void setThreshHigh(float x)
Definition: FEConfigFgrGroupDat.h:25
funct::false
false
Definition: Factorize.h:34
FEConfigFgrGroupDat::getThreshLow
float getThreshLow() const
Definition: FEConfigFgrGroupDat.h:24
FEConfigFgrGroupDat::getFgrGroupId
int getFgrGroupId() const
Definition: FEConfigFgrGroupDat.h:21
FEConfigFgrGroupDat::setThreshLow
void setThreshLow(float x)
Definition: FEConfigFgrGroupDat.h:23
FEConfigFgrGroupDat::FEConfigFgrGroupDat
FEConfigFgrGroupDat()
Definition: FEConfigFgrGroupDat.cc:11
DDAxes::x
watchdog.const
const
Definition: watchdog.py:83
IDataItem
Definition: IDataItem.h:16
FEConfigFgrGroupDat::getTable
std::string getTable() override
Definition: FEConfigFgrGroupDat.h:18
FEConfigFgrGroupDat::setRatioHigh
void setRatioHigh(float x)
Definition: FEConfigFgrGroupDat.h:29
EcalLogicID
Definition: EcalLogicID.h:7
FEConfigFgrGroupDat::m_lut
int m_lut
Definition: FEConfigFgrGroupDat.h:49
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigFgrGroupDat::m_thresh_high
float m_thresh_high
Definition: FEConfigFgrGroupDat.h:46
FEConfigFgrInfo
Definition: FEConfigFgrInfo.h:11
FEConfigFgrInfo.h
FEConfigFgrGroupDat::getRatioLow
float getRatioLow() const
Definition: FEConfigFgrGroupDat.h:28
FEConfigFgrGroupDat::~FEConfigFgrGroupDat
~FEConfigFgrGroupDat() override
Definition: FEConfigFgrGroupDat.cc:25
FEConfigFgrGroupDat::setFgrGroupId
void setFgrGroupId(int x)
Definition: FEConfigFgrGroupDat.h:20
FEConfigFgrGroupDat::m_thresh_low
float m_thresh_low
Definition: FEConfigFgrGroupDat.h:45
FEConfigFgrGroupDat::m_ratio_low
float m_ratio_low
Definition: FEConfigFgrGroupDat.h:47
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
FEConfigFgrGroupDat::getLUTValue
int getLUTValue() const
Definition: FEConfigFgrGroupDat.h:32
FEConfigFgrGroupDat::setRatioLow
void setRatioLow(float x)
Definition: FEConfigFgrGroupDat.h:27
FEConfigFgrGroupDat::m_group_id
int m_group_id
Definition: FEConfigFgrGroupDat.h:44
EcalLogicID.h
std
Definition: JetResolutionObject.h:76
FEConfigFgrGroupDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrGroupDat > *data, FEConfigFgrInfo *iconf) noexcept(false)
Definition: FEConfigFgrGroupDat.cc:116
FEConfigFgrGroupDat::getRatioHigh
float getRatioHigh() const
Definition: FEConfigFgrGroupDat.h:30
FEConfigFgrGroupDat::getThreshHigh
float getThreshHigh() const
Definition: FEConfigFgrGroupDat.h:26
FEConfigFgrGroupDat::fetchData
void fetchData(std::map< EcalLogicID, FEConfigFgrGroupDat > *fillMap, FEConfigFgrInfo *iconf) noexcept(false)
Definition: FEConfigFgrGroupDat.cc:73
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition: genParticles_cff.py:11
FEConfigFgrGroupDat::setLUTValue
void setLUTValue(int x)
Definition: FEConfigFgrGroupDat.h:31
FEConfigFgrGroupDat::writeDB
void writeDB(const EcalLogicID *ecid, const FEConfigFgrGroupDat *item, FEConfigFgrInfo *iconf) noexcept(false)
Definition: FEConfigFgrGroupDat.cc:42
FEConfigFgrGroupDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: FEConfigFgrGroupDat.cc:27