CMS 3D CMS Logo

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