CMS 3D CMS Logo

FEConfigBadXTDat.h
Go to the documentation of this file.
1 #ifndef FECONFIGBADXTDAT_H
2 #define FECONFIGBADXTDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
9 
10 class FEConfigBadXTDat : public IODConfig {
11 public:
12  friend class EcalCondDBInterface;
14  ~FEConfigBadXTDat() override;
15 
16  // User data methods
17  inline std::string getTable() override { return "FE_CONFIG_BadCRYSTALS_DAT"; }
18 
19  inline void setId(int dac) { m_ID = dac; }
20  inline int getId() const { return m_ID; }
21 
22  inline void setFedId(int dac) { m_fed = dac; }
23  inline int getFedId() const { return m_fed; }
24 
25  inline void setTCCId(int dac) { m_tcc = dac; }
26  inline int getTCCId() const { return m_tcc; }
27 
28  inline void setTTId(int dac) { m_tt = dac; }
29  inline int getTTId() const { return m_tt; }
30 
31  inline void setXTId(int dac) { m_xt = dac; }
32  inline int getXTId() const { return m_xt; }
33 
34  inline void setStatus(int dac) { m_t1 = dac; }
35  inline int getStatus() const { return m_t1; }
36 
37 private:
38  void prepareWrite() noexcept(false) override;
39 
41 
42  void writeArrayDB(const std::vector<FEConfigBadXTDat>& data, FEConfigBadXTInfo* iov) noexcept(false);
43 
44  void fetchData(std::vector<FEConfigBadXTDat>* fillMap, FEConfigBadXTInfo* iov) noexcept(false);
45 
46  // User data
47  int m_tcc;
48  int m_fed;
49  int m_tt;
50  int m_xt;
51  int m_t1;
52  int m_ID;
53 };
54 
55 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
FEConfigBadXTDat::m_tt
int m_tt
Definition: FEConfigBadXTDat.h:49
funct::false
false
Definition: Factorize.h:34
FEConfigBadXTDat::getXTId
int getXTId() const
Definition: FEConfigBadXTDat.h:32
FEConfigBadXTDat::m_ID
int m_ID
Definition: FEConfigBadXTDat.h:52
FEConfigBadXTDat::setStatus
void setStatus(int dac)
Definition: FEConfigBadXTDat.h:34
FEConfigBadXTDat::writeDB
void writeDB(const FEConfigBadXTDat *item, FEConfigBadXTInfo *iov) noexcept(false)
Definition: FEConfigBadXTDat.cc:38
FEConfigBadXTDat::setXTId
void setXTId(int dac)
Definition: FEConfigBadXTDat.h:31
FEConfigBadXTDat::writeArrayDB
void writeArrayDB(const std::vector< FEConfigBadXTDat > &data, FEConfigBadXTInfo *iov) noexcept(false)
Definition: FEConfigBadXTDat.cc:90
FEConfigBadXTDat::m_fed
int m_fed
Definition: FEConfigBadXTDat.h:48
IODConfig.h
FEConfigBadXTDat::setFedId
void setFedId(int dac)
Definition: FEConfigBadXTDat.h:22
FEConfigBadXTDat::setTCCId
void setTCCId(int dac)
Definition: FEConfigBadXTDat.h:25
FEConfigBadXTDat::getTable
std::string getTable() override
Definition: FEConfigBadXTDat.h:17
FEConfigBadXTDat::m_tcc
int m_tcc
Definition: FEConfigBadXTDat.h:47
watchdog.const
const
Definition: watchdog.py:83
FEConfigBadXTDat::getId
int getId() const
Definition: FEConfigBadXTDat.h:20
FEConfigBadXTInfo
Definition: FEConfigBadXTInfo.h:9
FEConfigBadXTDat::m_xt
int m_xt
Definition: FEConfigBadXTDat.h:50
FEConfigBadXTDat::fetchData
void fetchData(std::vector< FEConfigBadXTDat > *fillMap, FEConfigBadXTInfo *iov) noexcept(false)
Definition: FEConfigBadXTDat.cc:55
FEConfigBadXTDat::FEConfigBadXTDat
FEConfigBadXTDat()
Definition: FEConfigBadXTDat.cc:10
FEConfigBadXTDat::~FEConfigBadXTDat
~FEConfigBadXTDat() override
Definition: FEConfigBadXTDat.cc:23
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigBadXTDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: FEConfigBadXTDat.cc:25
FEConfigBadXTDat::setId
void setId(int dac)
Definition: FEConfigBadXTDat.h:19
FEConfigBadXTDat
Definition: FEConfigBadXTDat.h:10
IODConfig
Definition: IODConfig.h:18
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
FEConfigBadXTDat::getFedId
int getFedId() const
Definition: FEConfigBadXTDat.h:23
FEConfigBadXTDat::setTTId
void setTTId(int dac)
Definition: FEConfigBadXTDat.h:28
FEConfigBadXTInfo.h
std
Definition: JetResolutionObject.h:76
FEConfigBadXTDat::getStatus
int getStatus() const
Definition: FEConfigBadXTDat.h:35
FEConfigBadXTDat::getTCCId
int getTCCId() const
Definition: FEConfigBadXTDat.h:26
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
FEConfigBadXTDat::getTTId
int getTTId() const
Definition: FEConfigBadXTDat.h:29
FEConfigBadXTDat::m_t1
int m_t1
Definition: FEConfigBadXTDat.h:51