CMS 3D CMS Logo

FEConfigLUTGroupDat.h
Go to the documentation of this file.
1 #ifndef FECONFLUTGROUPDAT_H
2 #define FECONFLUTGROUPDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12 public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigLUTGroupDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_LUT_PER_GROUP_DAT"; }
19 
20  inline void setLUTGroupId(int x) { m_group_id = x; }
21  inline int getLUTGroupId() const { return m_group_id; }
22 
23  inline void setLUTValue(int i, int x) { m_lut[i] = x; }
24  inline int getLUTValue(int i) const { return m_lut[i]; }
25 
26 private:
27  void prepareWrite() noexcept(false) override;
28 
30 
32 
33  void fetchData(std::map<EcalLogicID, FEConfigLUTGroupDat>* fillMap, FEConfigLUTInfo* iconf) noexcept(false);
34 
35  // User data
37  int m_lut[1024];
38 };
39 
40 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
FEConfigLUTGroupDat::getLUTValue
int getLUTValue(int i) const
Definition: FEConfigLUTGroupDat.h:24
mps_fire.i
i
Definition: mps_fire.py:428
funct::false
false
Definition: Factorize.h:29
FEConfigLUTGroupDat::~FEConfigLUTGroupDat
~FEConfigLUTGroupDat() override
Definition: FEConfigLUTGroupDat.cc:23
FEConfigLUTGroupDat::fetchData
void fetchData(std::map< EcalLogicID, FEConfigLUTGroupDat > *fillMap, FEConfigLUTInfo *iconf) noexcept(false)
Definition: FEConfigLUTGroupDat.cc:105
FEConfigLUTGroupDat::setLUTValue
void setLUTValue(int i, int x)
Definition: FEConfigLUTGroupDat.h:23
DDAxes::x
FEConfigLUTGroupDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, FEConfigLUTGroupDat > *data, FEConfigLUTInfo *iconf) noexcept(false)
Definition: FEConfigLUTGroupDat.cc:156
FEConfigLUTGroupDat::m_lut
int m_lut[1024]
Definition: FEConfigLUTGroupDat.h:37
watchdog.const
const
Definition: watchdog.py:83
FEConfigLUTGroupDat::setLUTGroupId
void setLUTGroupId(int x)
Definition: FEConfigLUTGroupDat.h:20
IDataItem
Definition: IDataItem.h:16
EcalLogicID
Definition: EcalLogicID.h:7
FEConfigLUTGroupDat::writeDB
void writeDB(const EcalLogicID *ecid, const FEConfigLUTGroupDat *item, FEConfigLUTInfo *iconf) noexcept(false)
Definition: FEConfigLUTGroupDat.cc:40
FEConfigLUTInfo
Definition: FEConfigLUTInfo.h:11
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
FEConfigLUTGroupDat::m_group_id
int m_group_id
Definition: FEConfigLUTGroupDat.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigLUTInfo.h
FEConfigLUTGroupDat::getTable
std::string getTable() override
Definition: FEConfigLUTGroupDat.h:18
EcalLogicID.h
std
Definition: JetResolutionObject.h:76
FEConfigLUTGroupDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: FEConfigLUTGroupDat.cc:25
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition: genParticles_cff.py:11
FEConfigLUTGroupDat
Definition: FEConfigLUTGroupDat.h:11
FEConfigLUTGroupDat::getLUTGroupId
int getLUTGroupId() const
Definition: FEConfigLUTGroupDat.h:21
FEConfigLUTGroupDat::FEConfigLUTGroupDat
FEConfigLUTGroupDat()
Definition: FEConfigLUTGroupDat.cc:11