CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
UETable.h
Go to the documentation of this file.
1 #ifndef __UETable_h__
2 #define __UETable_h__
3 
5 #include <vector>
6 
7 class UETable {
8 public:
9  UETable(){};
10  float getUE(int i) { return values[i]; }
11  unsigned int getNp(int i) { return np[i]; }
12  unsigned int getNi0(int i) { return ni0[i]; }
13  unsigned int getNi1(int i) { return ni1[i]; }
14  unsigned int getNi2(int i) { return ni2[i]; }
15  float getEtaEdge(int i) { return edgeEta[i]; }
16 
17  void pushUE(float v) { values.push_back(v); }
18  void pushNp(unsigned int v) { np.push_back(v); }
19  void pushNi0(unsigned int v) { ni0.push_back(v); }
20  void pushNi1(unsigned int v) { ni1.push_back(v); }
21  void pushNi2(unsigned int v) { ni2.push_back(v); }
22  void pushEtaEdge(float v) { edgeEta.push_back(v); }
23 
24  std::vector<float> values;
25  std::vector<unsigned int> np;
26  std::vector<unsigned int> ni0;
27  std::vector<unsigned int> ni1;
28  std::vector<unsigned int> ni2;
29  std::vector<float> edgeEta;
30 
32 };
33 
34 #endif
unsigned int getNi1(int i)
Definition: UETable.h:13
float getUE(int i)
Definition: UETable.h:10
std::vector< unsigned int > ni2
Definition: UETable.h:28
std::vector< unsigned int > np
Definition: UETable.h:25
void pushNi1(unsigned int v)
Definition: UETable.h:20
void pushNi2(unsigned int v)
Definition: UETable.h:21
float getEtaEdge(int i)
Definition: UETable.h:15
unsigned int getNi2(int i)
Definition: UETable.h:14
void pushEtaEdge(float v)
Definition: UETable.h:22
std::vector< unsigned int > ni1
Definition: UETable.h:27
void pushUE(float v)
Definition: UETable.h:17
UETable()
Definition: UETable.h:9
void pushNi0(unsigned int v)
Definition: UETable.h:19
std::vector< unsigned int > ni0
Definition: UETable.h:26
std::vector< float > values
Definition: UETable.h:24
std::vector< float > edgeEta
Definition: UETable.h:29
#define COND_SERIALIZABLE
Definition: Serializable.h:39
unsigned int getNp(int i)
Definition: UETable.h:11
void pushNp(unsigned int v)
Definition: UETable.h:18
unsigned int getNi0(int i)
Definition: UETable.h:12
Definition: UETable.h:7