CMS 3D CMS Logo

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