test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
18  void pushUE(float v){values.push_back(v);}
19  void pushNp(unsigned int v){np.push_back(v);}
20  void pushNi0(unsigned int v){ni0.push_back(v);}
21  void pushNi1(unsigned int v){ni1.push_back(v);}
22  void pushNi2(unsigned int v){ni2.push_back(v);}
23  void pushEtaEdge(float v){edgeEta.push_back(v);}
24 
25  std::vector<float> values;
26  std::vector<unsigned int> np;
27  std::vector<unsigned int> ni0;
28  std::vector<unsigned int> ni1;
29  std::vector<unsigned int> ni2;
30  std::vector<float> edgeEta;
31 
33 };
34 
35 #endif
int i
Definition: DBlmapReader.cc:9
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:29
std::vector< unsigned int > np
Definition: UETable.h:26
void pushNi1(unsigned int v)
Definition: UETable.h:21
void pushNi2(unsigned int v)
Definition: UETable.h:22
float getEtaEdge(int i)
Definition: UETable.h:15
unsigned int getNi2(int i)
Definition: UETable.h:14
void pushEtaEdge(float v)
Definition: UETable.h:23
std::vector< unsigned int > ni1
Definition: UETable.h:28
void pushUE(float v)
Definition: UETable.h:18
UETable()
Definition: UETable.h:9
void pushNi0(unsigned int v)
Definition: UETable.h:20
std::vector< unsigned int > ni0
Definition: UETable.h:27
std::vector< float > values
Definition: UETable.h:25
std::vector< float > edgeEta
Definition: UETable.h:30
#define COND_SERIALIZABLE
Definition: Serializable.h:37
unsigned int getNp(int i)
Definition: UETable.h:11
void pushNp(unsigned int v)
Definition: UETable.h:19
unsigned int getNi0(int i)
Definition: UETable.h:12
Definition: UETable.h:7