CMS 3D CMS Logo

FEConfigWeightGroupDat.h
Go to the documentation of this file.
1 #ifndef FECONFWEIGHTGROUPDAT_H
2 #define FECONFWEIGHTGROUPDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12 public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigWeightGroupDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_WEIGHT_PER_GROUP_DAT"; }
19 
20  inline void setWeightGroupId(int x) { m_group_id = x; }
21  inline int getWeightGroupId() const { return m_group_id; }
22 
23  inline void setWeight0(float x) { m_w0 = x; }
24  inline float getWeight0() const { return m_w0; }
25  inline void setWeight1(float x) { m_w1 = x; }
26  inline float getWeight1() const { return m_w1; }
27  inline void setWeight2(float x) { m_w2 = x; }
28  inline float getWeight2() const { return m_w2; }
29  inline void setWeight3(float x) { m_w3 = x; }
30  inline float getWeight3() const { return m_w3; }
31  inline void setWeight4(float x) { m_w4 = x; }
32  inline float getWeight4() const { return m_w4; }
33 
34 private:
35  void prepareWrite() noexcept(false) override;
36 
38 
40  FEConfigWeightInfo* iconf) noexcept(false);
41 
42  void fetchData(std::map<EcalLogicID, FEConfigWeightGroupDat>* fillMap, FEConfigWeightInfo* iconf) noexcept(false);
43 
44  // User data
46  float m_w0;
47  float m_w1;
48  float m_w2;
49  float m_w3;
50  float m_w4;
51 };
52 
53 #endif
FEConfigWeightGroupDat::m_w1
float m_w1
Definition: FEConfigWeightGroupDat.h:47
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
FEConfigWeightGroupDat::getWeight1
float getWeight1() const
Definition: FEConfigWeightGroupDat.h:26
FEConfigWeightGroupDat::setWeight4
void setWeight4(float x)
Definition: FEConfigWeightGroupDat.h:31
funct::false
false
Definition: Factorize.h:29
FEConfigWeightGroupDat::m_group_id
int m_group_id
Definition: FEConfigWeightGroupDat.h:45
DDAxes::x
FEConfigWeightGroupDat::getWeight2
float getWeight2() const
Definition: FEConfigWeightGroupDat.h:28
FEConfigWeightGroupDat::getWeight4
float getWeight4() const
Definition: FEConfigWeightGroupDat.h:32
watchdog.const
const
Definition: watchdog.py:83
FEConfigWeightGroupDat::FEConfigWeightGroupDat
FEConfigWeightGroupDat()
Definition: FEConfigWeightGroupDat.cc:11
FEConfigWeightGroupDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, FEConfigWeightGroupDat > *data, FEConfigWeightInfo *iconf) noexcept(false)
Definition: FEConfigWeightGroupDat.cc:116
IDataItem
Definition: IDataItem.h:16
FEConfigWeightGroupDat::m_w0
float m_w0
Definition: FEConfigWeightGroupDat.h:46
FEConfigWeightGroupDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: FEConfigWeightGroupDat.cc:27
FEConfigWeightInfo
Definition: FEConfigWeightInfo.h:11
EcalLogicID
Definition: EcalLogicID.h:7
FEConfigWeightGroupDat::getWeight3
float getWeight3() const
Definition: FEConfigWeightGroupDat.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigWeightGroupDat::m_w2
float m_w2
Definition: FEConfigWeightGroupDat.h:48
FEConfigWeightGroupDat::fetchData
void fetchData(std::map< EcalLogicID, FEConfigWeightGroupDat > *fillMap, FEConfigWeightInfo *iconf) noexcept(false)
Definition: FEConfigWeightGroupDat.cc:73
FEConfigWeightGroupDat
Definition: FEConfigWeightGroupDat.h:11
FEConfigWeightGroupDat::~FEConfigWeightGroupDat
~FEConfigWeightGroupDat() override
Definition: FEConfigWeightGroupDat.cc:25
FEConfigWeightGroupDat::setWeightGroupId
void setWeightGroupId(int x)
Definition: FEConfigWeightGroupDat.h:20
FEConfigWeightGroupDat::getWeightGroupId
int getWeightGroupId() const
Definition: FEConfigWeightGroupDat.h:21
FEConfigWeightGroupDat::setWeight2
void setWeight2(float x)
Definition: FEConfigWeightGroupDat.h:27
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
EcalLogicID.h
FEConfigWeightGroupDat::setWeight0
void setWeight0(float x)
Definition: FEConfigWeightGroupDat.h:23
std
Definition: JetResolutionObject.h:76
FEConfigWeightGroupDat::getTable
std::string getTable() override
Definition: FEConfigWeightGroupDat.h:18
FEConfigWeightGroupDat::setWeight1
void setWeight1(float x)
Definition: FEConfigWeightGroupDat.h:25
FEConfigWeightInfo.h
FEConfigWeightGroupDat::m_w4
float m_w4
Definition: FEConfigWeightGroupDat.h:50
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
FEConfigWeightGroupDat::m_w3
float m_w3
Definition: FEConfigWeightGroupDat.h:49
genParticles_cff.map
map
Definition: genParticles_cff.py:11
FEConfigWeightGroupDat::setWeight3
void setWeight3(float x)
Definition: FEConfigWeightGroupDat.h:29
FEConfigWeightGroupDat::writeDB
void writeDB(const EcalLogicID *ecid, const FEConfigWeightGroupDat *item, FEConfigWeightInfo *iconf) noexcept(false)
Definition: FEConfigWeightGroupDat.cc:42
FEConfigWeightGroupDat::getWeight0
float getWeight0() const
Definition: FEConfigWeightGroupDat.h:24