CMS 3D CMS Logo

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