CMS 3D CMS Logo

FEConfigBadStripDat.h
Go to the documentation of this file.
1 #ifndef FECONFIGBADStripDAT_H
2 #define FECONFIGBADStripDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
9 
11 public:
12  friend class EcalCondDBInterface;
14  ~FEConfigBadStripDat() override;
15 
16  // User data methods
17  inline std::string getTable() override { return "FE_CONFIG_BadST_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 setStripId(int dac) { m_xt = dac; }
32  inline int getStripId() 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 
43 
44  void fetchData(std::vector<FEConfigBadStripDat>* fillMap, FEConfigBadStripInfo* 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
funct::false
false
Definition: Factorize.h:29
FEConfigBadStripDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: FEConfigBadStripDat.cc:25
IODConfig.h
FEConfigBadStripDat::setId
void setId(int dac)
Definition: FEConfigBadStripDat.h:19
FEConfigBadStripDat::writeArrayDB
void writeArrayDB(const std::vector< FEConfigBadStripDat > &data, FEConfigBadStripInfo *iov) noexcept(false)
Definition: FEConfigBadStripDat.cc:90
FEConfigBadStripDat::writeDB
void writeDB(const FEConfigBadStripDat *item, FEConfigBadStripInfo *iov) noexcept(false)
Definition: FEConfigBadStripDat.cc:38
FEConfigBadStripDat::getTable
std::string getTable() override
Definition: FEConfigBadStripDat.h:17
watchdog.const
const
Definition: watchdog.py:83
FEConfigBadStripDat::fetchData
void fetchData(std::vector< FEConfigBadStripDat > *fillMap, FEConfigBadStripInfo *iov) noexcept(false)
Definition: FEConfigBadStripDat.cc:55
FEConfigBadStripDat::setStatus
void setStatus(int dac)
Definition: FEConfigBadStripDat.h:34
FEConfigBadStripDat::getStripId
int getStripId() const
Definition: FEConfigBadStripDat.h:32
FEConfigBadStripDat::m_ID
int m_ID
Definition: FEConfigBadStripDat.h:52
FEConfigBadStripDat::FEConfigBadStripDat
FEConfigBadStripDat()
Definition: FEConfigBadStripDat.cc:10
FEConfigBadStripDat::setTCCId
void setTCCId(int dac)
Definition: FEConfigBadStripDat.h:25
FEConfigBadStripDat::getId
int getId() const
Definition: FEConfigBadStripDat.h:20
FEConfigBadStripInfo
Definition: FEConfigBadStripInfo.h:9
FEConfigBadStripDat::getTCCId
int getTCCId() const
Definition: FEConfigBadStripDat.h:26
FEConfigBadStripDat::m_tt
int m_tt
Definition: FEConfigBadStripDat.h:49
FEConfigBadStripDat::m_xt
int m_xt
Definition: FEConfigBadStripDat.h:50
FEConfigBadStripDat::getStatus
int getStatus() const
Definition: FEConfigBadStripDat.h:35
IODConfig
Definition: IODConfig.h:18
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
FEConfigBadStripDat::setStripId
void setStripId(int dac)
Definition: FEConfigBadStripDat.h:31
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
FEConfigBadStripDat::m_tcc
int m_tcc
Definition: FEConfigBadStripDat.h:47
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigBadStripDat::setTTId
void setTTId(int dac)
Definition: FEConfigBadStripDat.h:28
std
Definition: JetResolutionObject.h:76
FEConfigBadStripDat::m_fed
int m_fed
Definition: FEConfigBadStripDat.h:48
FEConfigBadStripDat::getTTId
int getTTId() const
Definition: FEConfigBadStripDat.h:29
FEConfigBadStripDat::setFedId
void setFedId(int dac)
Definition: FEConfigBadStripDat.h:22
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
FEConfigBadStripDat::~FEConfigBadStripDat
~FEConfigBadStripDat() override
Definition: FEConfigBadStripDat.cc:23
FEConfigBadStripDat::getFedId
int getFedId() const
Definition: FEConfigBadStripDat.h:23
FEConfigBadStripDat::m_t1
int m_t1
Definition: FEConfigBadStripDat.h:51
FEConfigBadStripDat
Definition: FEConfigBadStripDat.h:10
FEConfigBadStripInfo.h