CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ClusterShape.h
Go to the documentation of this file.
1 #ifndef _ClusterShape_h_
2 #define _ClusterShape_h_
3 
5 
6 #include <utility>
7 #include <vector>
8 
9 class PixelGeomDetUnit;
10 class SiPixelCluster;
11 class SiPixelRecHit;
12 class ClusterData;
13 
15 {
16  public:
17  ClusterShape();
18  ~ClusterShape();
19  void determineShape(const PixelGeomDetUnit& pixelDet,
20  const SiPixelRecHit& recHit, ClusterData& data);
21  void determineShape(const PixelGeomDetUnit& pixelDet,
22  const SiPixelCluster& cluster, ClusterData& data);
23 
24  private:
25  int getDirection(int low,int hig, int olow,int ohig);
26  bool processColumn(std::pair<int,int> pos, bool inTheLoop);
27 /*
28  void determineShape
29  (const PixelGeomDetUnit& pixelDet,
30  const SiPixelRecHit& recHit, ClusterData& data);
31 */
32 /*
33  void getOrientation
34  (const PixelGeomDetUnit& pixelDet,ClusterData& data);
35 */
36 
37  std::vector<SiPixelCluster::Pixel> pixels_;
38  int x[2],y[2], low,hig, olow,ohig, odir;
39 };
40 
41 #endif
void determineShape(const PixelGeomDetUnit &pixelDet, const SiPixelRecHit &recHit, ClusterData &data)
Definition: ClusterShape.cc:92
std::vector< SiPixelCluster::Pixel > pixels_
Definition: ClusterShape.h:37
bool processColumn(std::pair< int, int > pos, bool inTheLoop)
Definition: ClusterShape.cc:35
Pixel cluster – collection of neighboring pixels above threshold.
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
int getDirection(int low, int hig, int olow, int ohig)
Definition: ClusterShape.cc:25
Our base class.
Definition: SiPixelRecHit.h:23