CMS 3D CMS Logo

SiStripApproximateCluster.h
Go to the documentation of this file.
1 #ifndef DataFormats_SiStripCluster_SiStripApproximateCluster_h
2 #define DataFormats_SiStripCluster_SiStripApproximateCluster_h
3 
5 
6 class SiStripCluster;
8 public:
10 
14  bool isSaturated) {
16  width_ = width;
19  }
20 
21  explicit SiStripApproximateCluster(const SiStripCluster& cluster, unsigned int maxNSat);
22 
23  cms_uint16_t barycenter() const { return barycenter_; }
24  cms_uint8_t width() const { return width_; }
25  cms_uint8_t avgCharge() const { return avgCharge_; }
26  bool isSaturated() const { return isSaturated_; }
27 
28 private:
32  bool isSaturated_ = false;
33 };
34 #endif // DataFormats_SiStripCluster_SiStripApproximateCluster_h
unsigned char cms_uint8_t
Definition: typedefs.h:11
unsigned short cms_uint16_t
Definition: typedefs.h:13
SiStripApproximateCluster(cms_uint16_t barycenter, cms_uint8_t width, cms_uint8_t avgCharge, bool isSaturated)