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, bool ME11 = false);
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  struct C1 {
41  uint32_t IC1MIN, IC1MAX, JC1MIN, JC1MAX;
42  };
43  struct C2 {
44  uint32_t IC2MIN, IC2MAX, JC2MIN, JC2MAX;
45  };
47  void SearchMax(int32_t layerId);
48  void SearchBorders(void);
49  void Match(void);
50  bool FindAndMatch(void);
51  void KillCluster(uint32_t ic1, uint32_t ic2, C1 const&, C2 const&);
52  void RefindMax(void);
53  bool is7DCFEBs;
54  bool isME11;
55  };
56 
57 } // namespace cscdqm
58 
59 #endif
Local Maximum of the Cluster.
std::vector< StripCluster > getClusters()
Object used to find Strip Clusters.
Strip Cluster Fit Data Object.
void KillCluster(uint32_t ic1, uint32_t ic2, C1 const &, C2 const &)
StripClusterFinder(int l, int s, int cf, int st, bool ME11=false)
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
bool operator()(const StripClusterFitData &a, const StripClusterFitData &b) const