CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase2TrackerClusterizerArray.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiPhase2Clusterizer_Phase2TrackerClusterizerArray_h
2 #define RecoLocalTracker_SiPhase2Clusterizer_Phase2TrackerClusterizerArray_h
3 
4 #include <vector>
5 
7 
8  public:
9 
11  Phase2TrackerClusterizerArray(unsigned int, unsigned int);
12  void setSize(unsigned int, unsigned int);
13  bool operator()(unsigned int, unsigned int) const;
14  unsigned int rows() const;
15  unsigned int columns() const;
16  bool inside(unsigned int, unsigned int) const;
17  void set(unsigned int, unsigned int, bool);
18  unsigned int size() const;
19  unsigned int index(unsigned int, unsigned int) const;
20 
21  private:
22 
23  unsigned int nrows_, ncols_;
24  std::vector< bool > matrix_;
25 
26 };
27 
28 #endif
bool operator()(unsigned int, unsigned int) const
void set(unsigned int, unsigned int, bool)
unsigned int index(unsigned int, unsigned int) const
void setSize(unsigned int, unsigned int)
bool inside(unsigned int, unsigned int) const