CMS 3D CMS Logo

FEConfigSlidingDat.h
Go to the documentation of this file.
1 #ifndef FECONFSLIDINGDAT_H
2 #define FECONFSLIDINGDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class FEConfigSlidingDat : public IDataItem {
12 public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigSlidingDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_SLIDING_DAT"; }
19 
20  inline void setSliding(float mean) { m_sliding = mean; }
21  inline float getSliding() const { return m_sliding; }
22 
23 private:
24  void prepareWrite() noexcept(false) override;
25 
27 
29 
30  void fetchData(std::map<EcalLogicID, FEConfigSlidingDat>* fillMap, FEConfigSlidingInfo* iconf) noexcept(false);
31 
32  // User data
33  float m_sliding;
34 };
35 
36 #endif
float getSliding() const
void writeDB(const EcalLogicID *ecid, const FEConfigSlidingDat *item, FEConfigSlidingInfo *iconf) noexcept(false)
std::string getTable() override
void prepareWrite() noexcept(false) override
~FEConfigSlidingDat() override
void writeArrayDB(const std::map< EcalLogicID, FEConfigSlidingDat > *data, FEConfigSlidingInfo *iconf) noexcept(false)
void setSliding(float mean)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
void fetchData(std::map< EcalLogicID, FEConfigSlidingDat > *fillMap, FEConfigSlidingInfo *iconf) noexcept(false)