CMS 3D CMS Logo

ME0PadDigiCluster.h
Go to the documentation of this file.
1 #ifndef DataFormats_GEMDigi_ME0PadDigiCluster_h
2 #define DataFormats_GEMDigi_ME0PadDigiCluster_h
3 
13 #include <cstdint>
14 #include <iosfwd>
15 #include <vector>
16 
18 
19 public:
20  explicit ME0PadDigiCluster (std::vector<uint16_t> pads, int bx);
22 
23  bool operator==(const ME0PadDigiCluster& digi) const;
24  bool operator!=(const ME0PadDigiCluster& digi) const;
25  bool operator<(const ME0PadDigiCluster& digi) const;
26 
27  const std::vector<uint16_t>& pads() const { return v_; }
28  int bx() const { return bx_; }
29 
30  void print() const;
31 
32 private:
33  std::vector<uint16_t> v_;
34  int32_t bx_;
35 };
36 
37 std::ostream & operator<<(std::ostream & o, const ME0PadDigiCluster& digi);
38 
39 #endif
40 
std::ostream & operator<<(std::ostream &o, const ME0PadDigiCluster &digi)
bool operator==(const ME0PadDigiCluster &digi) const
bool operator!=(const ME0PadDigiCluster &digi) const
std::vector< uint16_t > v_
const std::vector< uint16_t > & pads() const
bool operator<(const ME0PadDigiCluster &digi) const
Precedence operator.