test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
fixedArray.h
Go to the documentation of this file.
1 #ifndef FIXEDARRAY_H
2 #define FIXEDARRAY_H
3 
5 template<typename T, unsigned int S>
6 class fixedArray {
7  public:
8  fixedArray() {}
9 
10  operator T*() { return content; }
11  operator const T*() const { return content; }
12  T& operator [](const unsigned int i) { return content[i]; }
13  const T& operator [](const unsigned int i) const { return
14 content[i]; }
15 
16  private:
18 
20 };
21 #endif
int i
Definition: DBlmapReader.cc:9
fixedArray()
Definition: fixedArray.h:8
T & operator[](const unsigned int i)
Definition: fixedArray.h:12
double S(const TLorentzVector &, const TLorentzVector &)
Definition: Particle.cc:99
#define COND_SERIALIZABLE
Definition: Serializable.h:37
long double T
T content[S]
Definition: fixedArray.h:17