CMS 3D CMS Logo

FEConfigOddWeightModeDat.h
Go to the documentation of this file.
1 #ifndef ONLINEDB_ECALCONDDB_FECONFIGODDWEIGHTMODEDAT_H
2 #define ONLINEDB_ECALCONDDB_FECONFIGODDWEIGHTMODEDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12 public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigOddWeightModeDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_WEIGHT2_MODE_DAT"; }
19 
20  inline void setEnableEBOddFilter(int x) { m_en_EB_flt = x; }
21  inline float getEnableEBOddFilter() const { return m_en_EB_flt; }
22  inline void setEnableEEOddFilter(int x) { m_en_EE_flt = x; }
23  inline float getEnableEEOddFilter() const { return m_en_EE_flt; }
24 
25  inline void setEnableEBOddPeakFinder(int x) { m_en_EB_pf = x; }
26  inline float getEnableEBOddPeakFinder() const { return m_en_EB_pf; }
27  inline void setEnableEEOddPeakFinder(int x) { m_en_EE_pf = x; }
28  inline float getEnableEEOddPeakFinder() const { return m_en_EE_pf; }
29 
31  inline float getDisableEBEvenPeakFinder() const { return m_dis_EB_even_pf; }
33  inline float getDisableEEEvenPeakFinder() const { return m_dis_EE_even_pf; }
34 
35  inline void setFenixEBStripOutput(int x) { m_fe_EB_strout = x; }
36  inline float getFenixEBStripOutput() const { return m_fe_EB_strout; }
37  inline void setFenixEEStripOutput(int x) { m_fe_EE_strout = x; }
38  inline float getFenixEEStripOutput() const { return m_fe_EE_strout; }
39 
40  inline void setFenixEBStripInfobit2(int x) { m_fe_EB_strib2 = x; }
41  inline float getFenixEBStripInfobit2() const { return m_fe_EB_strib2; }
42  inline void setFenixEEStripInfobit2(int x) { m_fe_EE_strib2 = x; }
43  inline float getFenixEEStripInfobit2() const { return m_fe_EE_strib2; }
44 
45  inline void setFenixEBTcpOutput(int x) { m_fe_EB_tcpout = x; }
46  inline float getFenixEBTcpOutput() const { return m_fe_EB_tcpout; }
47  inline void setFenixEBTcpInfoBit1(int x) { m_fe_EB_tcpib1 = x; }
48  inline float getFenixEBTcpInfobit1() const { return m_fe_EB_tcpib1; }
49 
50  inline void setFenixEETcpOutput(int x) { m_fe_EE_tcpout = x; }
51  inline float getFenixEETcpOutput() const { return m_fe_EE_tcpout; }
52  inline void setFenixEETcpInfoBit1(int x) { m_fe_EE_tcpib1 = x; }
53  inline float getFenixEETcpInfobit1() const { return m_fe_EE_tcpib1; }
54 
55  // redundant methods for simplification of the code
56 
57  inline void setFenixPar1(int x) { m_en_EB_flt = x; }
58  inline float getFenixPar1() const { return m_en_EB_flt; }
59  inline void setFenixPar2(int x) { m_en_EE_flt = x; }
60  inline float getFenixPar2() const { return m_en_EE_flt; }
61 
62  inline void setFenixPar3(int x) { m_en_EB_pf = x; }
63  inline float getFenixPar3() const { return m_en_EB_pf; }
64  inline void setFenixPar4(int x) { m_en_EE_pf = x; }
65  inline float getFenixPar4() const { return m_en_EE_pf; }
66 
67  inline void setFenixPar5(int x) { m_dis_EB_even_pf = x; }
68  inline float getFenixPar5() const { return m_dis_EB_even_pf; }
69 
70  inline void setFenixPar6(int x) { m_dis_EE_even_pf = x; }
71  inline float getFenixPar6() const { return m_dis_EE_even_pf; }
72 
73  inline void setFenixPar7(int x) { m_fe_EB_strout = x; }
74  inline float getFenixPar7() const { return m_fe_EB_strout; }
75  inline void setFenixPar8(int x) { m_fe_EE_strout = x; }
76  inline float getFenixPar8() const { return m_fe_EE_strout; }
77 
78  inline void setFenixPar9(int x) { m_fe_EB_strib2 = x; }
79  inline float getFenixPar9() const { return m_fe_EB_strib2; }
80  inline void setFenixPar10(int x) { m_fe_EE_strib2 = x; }
81  inline float getFenixPar10() const { return m_fe_EE_strib2; }
82 
83  inline void setFenixPar11(int x) { m_fe_EB_tcpout = x; }
84  inline float getFenixPar11() const { return m_fe_EB_tcpout; }
85  inline void setFenixPar12(int x) { m_fe_EB_tcpib1 = x; }
86  inline float getFenixPar12() const { return m_fe_EB_tcpib1; }
87 
88  inline void setFenixPar13(int x) { m_fe_EE_tcpout = x; }
89  inline float getFenixPar13() const { return m_fe_EE_tcpout; }
90  inline void setFenixPar14(int x) { m_fe_EE_tcpib1 = x; }
91  inline float getFenixPar14() const { return m_fe_EE_tcpib1; }
92 
93  // extra parameters
94 
95  inline void setFenixPar15(int x) { m_fe_par15 = x; }
96  inline float getFenixPar15() const { return m_fe_par15; }
97  inline void setFenixPar16(int x) { m_fe_par16 = x; }
98  inline float getFenixPar16() const { return m_fe_par16; }
99  inline void setFenixPar17(int x) { m_fe_par17 = x; }
100  inline float getFenixPar17() const { return m_fe_par17; }
101  inline void setFenixPar18(int x) { m_fe_par18 = x; }
102  inline float getFenixPar18() const { return m_fe_par18; }
103 
104 private:
105  void prepareWrite() noexcept(false) override;
106 
107  void writeDB(const EcalLogicID* ecid,
109  FEConfigOddWeightInfo* iconf) noexcept(false);
110 
112  FEConfigOddWeightInfo* iconf) noexcept(false);
113 
115  FEConfigOddWeightInfo* iconf) noexcept(false);
116 
117  // User data
118 
137 };
138 
139 #endif
FEConfigOddWeightModeDat::getFenixPar14
float getFenixPar14() const
Definition: FEConfigOddWeightModeDat.h:91
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
FEConfigOddWeightInfo.h
IDataItem.h
FEConfigOddWeightModeDat::m_en_EB_flt
int m_en_EB_flt
Definition: FEConfigOddWeightModeDat.h:119
FEConfigOddWeightModeDat::setFenixEETcpOutput
void setFenixEETcpOutput(int x)
Definition: FEConfigOddWeightModeDat.h:50
funct::false
false
Definition: Factorize.h:29
FEConfigOddWeightModeDat::getFenixPar1
float getFenixPar1() const
Definition: FEConfigOddWeightModeDat.h:58
FEConfigOddWeightModeDat::setFenixPar4
void setFenixPar4(int x)
Definition: FEConfigOddWeightModeDat.h:64
FEConfigOddWeightModeDat::m_fe_EE_strib2
int m_fe_EE_strib2
Definition: FEConfigOddWeightModeDat.h:128
FEConfigOddWeightModeDat::m_dis_EE_even_pf
int m_dis_EE_even_pf
Definition: FEConfigOddWeightModeDat.h:124
FEConfigOddWeightModeDat::m_fe_EB_tcpout
int m_fe_EB_tcpout
Definition: FEConfigOddWeightModeDat.h:129
FEConfigOddWeightModeDat::setEnableEBOddFilter
void setEnableEBOddFilter(int x)
Definition: FEConfigOddWeightModeDat.h:20
FEConfigOddWeightModeDat::getEnableEEOddPeakFinder
float getEnableEEOddPeakFinder() const
Definition: FEConfigOddWeightModeDat.h:28
FEConfigOddWeightModeDat::setFenixPar16
void setFenixPar16(int x)
Definition: FEConfigOddWeightModeDat.h:97
FEConfigOddWeightModeDat::getFenixPar17
float getFenixPar17() const
Definition: FEConfigOddWeightModeDat.h:100
FEConfigOddWeightModeDat::getFenixPar9
float getFenixPar9() const
Definition: FEConfigOddWeightModeDat.h:79
FEConfigOddWeightInfo
Definition: FEConfigOddWeightInfo.h:11
FEConfigOddWeightModeDat::setFenixEBTcpInfoBit1
void setFenixEBTcpInfoBit1(int x)
Definition: FEConfigOddWeightModeDat.h:47
FEConfigOddWeightModeDat::getDisableEEEvenPeakFinder
float getDisableEEEvenPeakFinder() const
Definition: FEConfigOddWeightModeDat.h:33
FEConfigOddWeightModeDat::setFenixEETcpInfoBit1
void setFenixEETcpInfoBit1(int x)
Definition: FEConfigOddWeightModeDat.h:52
FEConfigOddWeightModeDat::getFenixPar16
float getFenixPar16() const
Definition: FEConfigOddWeightModeDat.h:98
DDAxes::x
FEConfigOddWeightModeDat::m_fe_EE_tcpib1
int m_fe_EE_tcpib1
Definition: FEConfigOddWeightModeDat.h:132
FEConfigOddWeightModeDat::getFenixEEStripInfobit2
float getFenixEEStripInfobit2() const
Definition: FEConfigOddWeightModeDat.h:43
FEConfigOddWeightModeDat::getFenixPar15
float getFenixPar15() const
Definition: FEConfigOddWeightModeDat.h:96
watchdog.const
const
Definition: watchdog.py:83
FEConfigOddWeightModeDat::getFenixPar4
float getFenixPar4() const
Definition: FEConfigOddWeightModeDat.h:65
FEConfigOddWeightModeDat::m_fe_EB_strib2
int m_fe_EB_strib2
Definition: FEConfigOddWeightModeDat.h:127
FEConfigOddWeightModeDat::getFenixPar6
float getFenixPar6() const
Definition: FEConfigOddWeightModeDat.h:71
FEConfigOddWeightModeDat::setEnableEEOddFilter
void setEnableEEOddFilter(int x)
Definition: FEConfigOddWeightModeDat.h:22
FEConfigOddWeightModeDat::getFenixEBStripInfobit2
float getFenixEBStripInfobit2() const
Definition: FEConfigOddWeightModeDat.h:41
FEConfigOddWeightModeDat::setFenixPar11
void setFenixPar11(int x)
Definition: FEConfigOddWeightModeDat.h:83
FEConfigOddWeightModeDat::setFenixEBStripOutput
void setFenixEBStripOutput(int x)
Definition: FEConfigOddWeightModeDat.h:35
FEConfigOddWeightModeDat::getFenixPar8
float getFenixPar8() const
Definition: FEConfigOddWeightModeDat.h:76
FEConfigOddWeightModeDat::m_dis_EB_even_pf
int m_dis_EB_even_pf
Definition: FEConfigOddWeightModeDat.h:123
FEConfigOddWeightModeDat::m_fe_EE_strout
int m_fe_EE_strout
Definition: FEConfigOddWeightModeDat.h:126
FEConfigOddWeightModeDat::setFenixPar3
void setFenixPar3(int x)
Definition: FEConfigOddWeightModeDat.h:62
IDataItem
Definition: IDataItem.h:16
FEConfigOddWeightModeDat::setFenixEEStripOutput
void setFenixEEStripOutput(int x)
Definition: FEConfigOddWeightModeDat.h:37
FEConfigOddWeightModeDat::getFenixPar13
float getFenixPar13() const
Definition: FEConfigOddWeightModeDat.h:89
FEConfigOddWeightModeDat::m_fe_par18
int m_fe_par18
Definition: FEConfigOddWeightModeDat.h:136
FEConfigOddWeightModeDat::setFenixPar7
void setFenixPar7(int x)
Definition: FEConfigOddWeightModeDat.h:73
EcalLogicID
Definition: EcalLogicID.h:7
FEConfigOddWeightModeDat::FEConfigOddWeightModeDat
FEConfigOddWeightModeDat()
Definition: FEConfigOddWeightModeDat.cc:11
FEConfigOddWeightModeDat::getFenixPar12
float getFenixPar12() const
Definition: FEConfigOddWeightModeDat.h:86
FEConfigOddWeightModeDat::m_fe_par16
int m_fe_par16
Definition: FEConfigOddWeightModeDat.h:134
FEConfigOddWeightModeDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, FEConfigOddWeightModeDat > *data, FEConfigOddWeightInfo *iconf) noexcept(false)
Definition: FEConfigOddWeightModeDat.cc:157
FEConfigOddWeightModeDat::setFenixEBTcpOutput
void setFenixEBTcpOutput(int x)
Definition: FEConfigOddWeightModeDat.h:45
FEConfigOddWeightModeDat::setFenixPar5
void setFenixPar5(int x)
Definition: FEConfigOddWeightModeDat.h:67
FEConfigOddWeightModeDat::getEnableEBOddPeakFinder
float getEnableEBOddPeakFinder() const
Definition: FEConfigOddWeightModeDat.h:26
FEConfigOddWeightModeDat::m_fe_EE_tcpout
int m_fe_EE_tcpout
Definition: FEConfigOddWeightModeDat.h:131
FEConfigOddWeightModeDat::getEnableEEOddFilter
float getEnableEEOddFilter() const
Definition: FEConfigOddWeightModeDat.h:23
FEConfigOddWeightModeDat::m_fe_EB_strout
int m_fe_EB_strout
Definition: FEConfigOddWeightModeDat.h:125
FEConfigOddWeightModeDat::setFenixPar10
void setFenixPar10(int x)
Definition: FEConfigOddWeightModeDat.h:80
FEConfigOddWeightModeDat::getFenixPar10
float getFenixPar10() const
Definition: FEConfigOddWeightModeDat.h:81
FEConfigOddWeightModeDat::setFenixPar18
void setFenixPar18(int x)
Definition: FEConfigOddWeightModeDat.h:101
FEConfigOddWeightModeDat::getFenixEBStripOutput
float getFenixEBStripOutput() const
Definition: FEConfigOddWeightModeDat.h:36
FEConfigOddWeightModeDat::setDisableEEEvenPeakFinder
void setDisableEEEvenPeakFinder(int x)
Definition: FEConfigOddWeightModeDat.h:32
FEConfigOddWeightModeDat::getFenixEBTcpInfobit1
float getFenixEBTcpInfobit1() const
Definition: FEConfigOddWeightModeDat.h:48
FEConfigOddWeightModeDat::writeDB
void writeDB(const EcalLogicID *ecid, const FEConfigOddWeightModeDat *item, FEConfigOddWeightInfo *iconf) noexcept(false)
Definition: FEConfigOddWeightModeDat.cc:58
FEConfigOddWeightModeDat::~FEConfigOddWeightModeDat
~FEConfigOddWeightModeDat() override
Definition: FEConfigOddWeightModeDat.cc:37
FEConfigOddWeightModeDat::getTable
std::string getTable() override
Definition: FEConfigOddWeightModeDat.h:18
FEConfigOddWeightModeDat::setFenixPar13
void setFenixPar13(int x)
Definition: FEConfigOddWeightModeDat.h:88
FEConfigOddWeightModeDat::getFenixPar7
float getFenixPar7() const
Definition: FEConfigOddWeightModeDat.h:74
FEConfigOddWeightModeDat::setFenixEBStripInfobit2
void setFenixEBStripInfobit2(int x)
Definition: FEConfigOddWeightModeDat.h:40
FEConfigOddWeightModeDat::setEnableEBOddPeakFinder
void setEnableEBOddPeakFinder(int x)
Definition: FEConfigOddWeightModeDat.h:25
FEConfigOddWeightModeDat::setEnableEEOddPeakFinder
void setEnableEEOddPeakFinder(int x)
Definition: FEConfigOddWeightModeDat.h:27
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
FEConfigOddWeightModeDat::setFenixPar15
void setFenixPar15(int x)
Definition: FEConfigOddWeightModeDat.h:95
FEConfigOddWeightModeDat::m_en_EE_pf
int m_en_EE_pf
Definition: FEConfigOddWeightModeDat.h:122
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigOddWeightModeDat::fetchData
void fetchData(std::map< EcalLogicID, FEConfigOddWeightModeDat > *fillMap, FEConfigOddWeightInfo *iconf) noexcept(false)
Definition: FEConfigOddWeightModeDat.cc:97
FEConfigOddWeightModeDat::getEnableEBOddFilter
float getEnableEBOddFilter() const
Definition: FEConfigOddWeightModeDat.h:21
FEConfigOddWeightModeDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: FEConfigOddWeightModeDat.cc:39
EcalLogicID.h
FEConfigOddWeightModeDat::m_fe_par17
int m_fe_par17
Definition: FEConfigOddWeightModeDat.h:135
FEConfigOddWeightModeDat::m_fe_par15
int m_fe_par15
Definition: FEConfigOddWeightModeDat.h:133
FEConfigOddWeightModeDat
Definition: FEConfigOddWeightModeDat.h:11
FEConfigOddWeightModeDat::setFenixEEStripInfobit2
void setFenixEEStripInfobit2(int x)
Definition: FEConfigOddWeightModeDat.h:42
FEConfigOddWeightModeDat::setFenixPar8
void setFenixPar8(int x)
Definition: FEConfigOddWeightModeDat.h:75
std
Definition: JetResolutionObject.h:76
FEConfigOddWeightModeDat::getFenixEBTcpOutput
float getFenixEBTcpOutput() const
Definition: FEConfigOddWeightModeDat.h:46
FEConfigOddWeightModeDat::getFenixEETcpInfobit1
float getFenixEETcpInfobit1() const
Definition: FEConfigOddWeightModeDat.h:53
FEConfigOddWeightModeDat::m_en_EB_pf
int m_en_EB_pf
Definition: FEConfigOddWeightModeDat.h:121
FEConfigOddWeightModeDat::getFenixPar11
float getFenixPar11() const
Definition: FEConfigOddWeightModeDat.h:84
FEConfigOddWeightModeDat::m_fe_EB_tcpib1
int m_fe_EB_tcpib1
Definition: FEConfigOddWeightModeDat.h:130
FEConfigOddWeightModeDat::setFenixPar2
void setFenixPar2(int x)
Definition: FEConfigOddWeightModeDat.h:59
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
FEConfigOddWeightModeDat::setFenixPar6
void setFenixPar6(int x)
Definition: FEConfigOddWeightModeDat.h:70
FEConfigOddWeightModeDat::setFenixPar14
void setFenixPar14(int x)
Definition: FEConfigOddWeightModeDat.h:90
FEConfigOddWeightModeDat::getFenixPar18
float getFenixPar18() const
Definition: FEConfigOddWeightModeDat.h:102
FEConfigOddWeightModeDat::getFenixPar2
float getFenixPar2() const
Definition: FEConfigOddWeightModeDat.h:60
FEConfigOddWeightModeDat::getFenixPar3
float getFenixPar3() const
Definition: FEConfigOddWeightModeDat.h:63
FEConfigOddWeightModeDat::getFenixEEStripOutput
float getFenixEEStripOutput() const
Definition: FEConfigOddWeightModeDat.h:38
genParticles_cff.map
map
Definition: genParticles_cff.py:11
FEConfigOddWeightModeDat::getDisableEBEvenPeakFinder
float getDisableEBEvenPeakFinder() const
Definition: FEConfigOddWeightModeDat.h:31
FEConfigOddWeightModeDat::setFenixPar17
void setFenixPar17(int x)
Definition: FEConfigOddWeightModeDat.h:99
FEConfigOddWeightModeDat::setFenixPar12
void setFenixPar12(int x)
Definition: FEConfigOddWeightModeDat.h:85
FEConfigOddWeightModeDat::setFenixPar9
void setFenixPar9(int x)
Definition: FEConfigOddWeightModeDat.h:78
FEConfigOddWeightModeDat::getFenixPar5
float getFenixPar5() const
Definition: FEConfigOddWeightModeDat.h:68
FEConfigOddWeightModeDat::m_en_EE_flt
int m_en_EE_flt
Definition: FEConfigOddWeightModeDat.h:120
FEConfigOddWeightModeDat::getFenixEETcpOutput
float getFenixEETcpOutput() const
Definition: FEConfigOddWeightModeDat.h:51
FEConfigOddWeightModeDat::setFenixPar1
void setFenixPar1(int x)
Definition: FEConfigOddWeightModeDat.h:57
FEConfigOddWeightModeDat::setDisableEBEvenPeakFinder
void setDisableEBEvenPeakFinder(int x)
Definition: FEConfigOddWeightModeDat.h:30