CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCDQM_StripClusterFinder.h
Go to the documentation of this file.
1 #ifndef CSCDQM_StripClusterFinder_h
2 #define CSCDQM_StripClusterFinder_h
3 
4 #include "CSCDQM_StripCluster.h"
5 
6 #include <vector>
7 #include <iostream>
8 #include <string>
9 #include <signal.h>
10 #include <map>
11 #include <string>
12 #include <iomanip>
13 #include <set>
14 #include <sstream>
15 #include <stdint.h>
16 
17 namespace cscdqm {
18 
24 
25  public:
26  StripClusterFinder(int l, int s, int cf, int st );
27  void DoAction(int layerId,float *cathodes);
28  void printClusters(void);
29  std::vector<StripClusterFitData> thePulseHeightMap;
30  public:
31  class Sort{
32  public:
33  bool operator()(const StripClusterFitData& a, const StripClusterFitData& b) const;
34  };
35  std::vector<StripCluster> MEStripClusters;
37  std::vector<StripCluster> getClusters(){ return MEStripClusters;}
38  private:
39  int32_t LId;
40  uint32_t i;
41  uint32_t j;
44  void SearchMax(void);
45  void SearchBorders(void);
46  void Match(void);
47  bool FindAndMatch(void);
48  void KillCluster(void);
49  void RefindMax(void);
50 
51 };
52 
53 }
54 
55 #endif
56 
Local Maximum of the Cluster.
std::vector< StripCluster > getClusters()
Object used to find Strip Clusters.
Strip Cluster Fit Data Object.
StripClusterFinder(int l, int s, int cf, int st)
bool operator()(const StripClusterFitData &a, const StripClusterFitData &b) const
std::vector< StripClusterFitData > thePulseHeightMap
void DoAction(int layerId, float *cathodes)
std::vector< StripCluster > MEStripClusters
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121