CMS 3D CMS Logo

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 <csignal>
10 #include <map>
11 #include <string>
12 #include <iomanip>
13 #include <set>
14 #include <sstream>
15 #include <cstdint>
16 
17 namespace cscdqm {
18 
24  public:
25  StripClusterFinder(int l, int s, int cf, int st);
26  void DoAction(int layerId, float* cathodes);
27  void printClusters(void);
28  std::vector<StripClusterFitData> thePulseHeightMap;
29 
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 
39  private:
40  int32_t LId;
41  uint32_t i;
42  uint32_t j;
45  void SearchMax(void);
46  void SearchBorders(void);
47  void Match(void);
48  bool FindAndMatch(void);
49  void KillCluster(void);
50  void RefindMax(void);
51  };
52 
53 } // namespace cscdqm
54 
55 #endif
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:118
double a
Definition: hdecay.h:119