CMS 3D CMS Logo

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
UETable::ni2
std::vector< unsigned int > ni2
Definition: UETable.h:28
UETable::edgeEta
std::vector< float > edgeEta
Definition: UETable.h:29
mps_fire.i
i
Definition: mps_fire.py:355
UETable::getNp
unsigned int getNp(int i)
Definition: UETable.h:11
UETable::pushNi2
void pushNi2(unsigned int v)
Definition: UETable.h:21
UETable::pushEtaEdge
void pushEtaEdge(float v)
Definition: UETable.h:22
UETable::values
std::vector< float > values
Definition: UETable.h:24
UETable::pushUE
void pushUE(float v)
Definition: UETable.h:17
UETable::pushNp
void pushNp(unsigned int v)
Definition: UETable.h:18
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
UETable::pushNi0
void pushNi0(unsigned int v)
Definition: UETable.h:19
findQualityFiles.v
v
Definition: findQualityFiles.py:179
UETable
Definition: UETable.h:7
UETable::getEtaEdge
float getEtaEdge(int i)
Definition: UETable.h:15
UETable::ni1
std::vector< unsigned int > ni1
Definition: UETable.h:27
UETable::getNi0
unsigned int getNi0(int i)
Definition: UETable.h:12
UETable::np
std::vector< unsigned int > np
Definition: UETable.h:25
UETable::getNi2
unsigned int getNi2(int i)
Definition: UETable.h:14
UETable::getNi1
unsigned int getNi1(int i)
Definition: UETable.h:13
Serializable.h
UETable::getUE
float getUE(int i)
Definition: UETable.h:10
UETable::UETable
UETable()
Definition: UETable.h:9
UETable::pushNi1
void pushNi1(unsigned int v)
Definition: UETable.h:20
UETable::ni0
std::vector< unsigned int > ni0
Definition: UETable.h:26