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
cscdqm::StripClusterFinder::getClusters
std::vector< StripCluster > getClusters()
Definition: CSCDQM_StripClusterFinder.h:37
cscdqm::ClusterLocalMax
Local Maximum of the Cluster.
Definition: CSCDQM_ClusterLocalMax.h:12
cscdqm::StripClusterFinder::TimeSliceNmb
int TimeSliceNmb
Definition: CSCDQM_StripClusterFinder.h:44
cscdqm::StripClusterFinder::JC2MIN
uint32_t JC2MIN
Definition: CSCDQM_StripClusterFinder.h:43
cscdqm::StripClusterFinder::LayerNmb
int LayerNmb
Definition: CSCDQM_StripClusterFinder.h:44
cscdqm::StripClusterFinder::Match
void Match(void)
Definition: CSCDQM_StripClusterFinder.cc:175
cscdqm::StripClusterFitData
Strip Cluster Fit Data Object.
Definition: CSCDQM_StripClusterFitData.h:12
cscdqm::StripClusterFinder::JC1MIN
uint32_t JC1MIN
Definition: CSCDQM_StripClusterFinder.h:43
cscdqm::StripClusterFinder::IC2MIN
uint32_t IC2MIN
Definition: CSCDQM_StripClusterFinder.h:43
cscdqm::StripClusterFinder::IC1MAX
uint32_t IC1MAX
Definition: CSCDQM_StripClusterFinder.h:43
cscdqm::StripClusterFinder::localMaxTMP
ClusterLocalMax localMaxTMP
Definition: CSCDQM_StripClusterFinder.h:36
cscdqm::StripClusterFinder::ic1
uint32_t ic1
Definition: CSCDQM_StripClusterFinder.h:43
cscdqm::StripClusterFinder::AFEBSliceNmb
int AFEBSliceNmb
Definition: CSCDQM_StripClusterFinder.h:44
alignCSCRings.s
s
Definition: alignCSCRings.py:92
cscdqm::StripClusterFinder::FindAndMatch
bool FindAndMatch(void)
Definition: CSCDQM_StripClusterFinder.cc:186
cscdqm::StripClusterFinder::IC1MIN
uint32_t IC1MIN
Definition: CSCDQM_StripClusterFinder.h:43
cscdqm::StripClusterFinder::thePulseHeightMap
std::vector< StripClusterFitData > thePulseHeightMap
Definition: CSCDQM_StripClusterFinder.h:28
cscdqm::StripClusterFinder::JC2MAX
uint32_t JC2MAX
Definition: CSCDQM_StripClusterFinder.h:43
cscdqm::StripClusterFinder::StripClusterFinder
StripClusterFinder(int l, int s, int cf, int st)
Definition: CSCDQM_StripClusterFinder.cc:6
b
double b
Definition: hdecay.h:118
cscdqm::StripClusterFinder::RefindMax
void RefindMax(void)
Definition: CSCDQM_StripClusterFinder.cc:242
cscdqm::StripClusterFinder::SearchMax
void SearchMax(void)
Definition: CSCDQM_StripClusterFinder.cc:88
cscdqm::StripClusterFinder::Sort
Definition: CSCDQM_StripClusterFinder.h:31
a
double a
Definition: hdecay.h:119
cscdqm::StripClusterFinder::j
uint32_t j
Definition: CSCDQM_StripClusterFinder.h:42
cscdqm
Definition: CSCDQM_DCSBase.h:29
cscdqm::StripClusterFinder
Object used to find Strip Clusters.
Definition: CSCDQM_StripClusterFinder.h:23
cscdqm::StripClusterFinder::MEStripClusters
std::vector< StripCluster > MEStripClusters
Definition: CSCDQM_StripClusterFinder.h:35
cscdqm::StripClusterFinder::DoAction
void DoAction(int layerId, float *cathodes)
Definition: CSCDQM_StripClusterFinder.cc:15
cscdqm::StripClusterFinder::i
uint32_t i
Definition: CSCDQM_StripClusterFinder.h:41
cscdqm::StripClusterFinder::icstart
uint32_t icstart
Definition: CSCDQM_StripClusterFinder.h:43
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
cscdqm::StripClusterFinder::KillCluster
void KillCluster(void)
Definition: CSCDQM_StripClusterFinder.cc:218
cscdqm::StripClusterFinder::LId
int32_t LId
Definition: CSCDQM_StripClusterFinder.h:40
cscdqm::StripClusterFinder::ic2
uint32_t ic2
Definition: CSCDQM_StripClusterFinder.h:43
CSCDQM_StripCluster.h
cscdqm::StripClusterFinder::StripNmb
int StripNmb
Definition: CSCDQM_StripClusterFinder.h:44
cscdqm::StripClusterFinder::IC2MAX
uint32_t IC2MAX
Definition: CSCDQM_StripClusterFinder.h:43
cscdqm::StripClusterFinder::AnodeGroupNmb
int AnodeGroupNmb
Definition: CSCDQM_StripClusterFinder.h:44
cscdqm::StripClusterFinder::printClusters
void printClusters(void)
Definition: CSCDQM_StripClusterFinder.cc:332
cscdqm::StripClusterFinder::JC1MAX
uint32_t JC1MAX
Definition: CSCDQM_StripClusterFinder.h:43
cscdqm::StripClusterFinder::SearchBorders
void SearchBorders(void)
Definition: CSCDQM_StripClusterFinder.cc:117
cscdqm::StripClusterFinder::Sort::operator()
bool operator()(const StripClusterFitData &a, const StripClusterFitData &b) const
Definition: CSCDQM_StripClusterFinder.cc:367