CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 public:
19  explicit ME0PadDigiCluster(std::vector<uint16_t> pads, int bx);
21 
22  bool operator==(const ME0PadDigiCluster& digi) const;
23  bool operator!=(const ME0PadDigiCluster& digi) const;
24  bool operator<(const ME0PadDigiCluster& digi) const;
25 
26  const std::vector<uint16_t>& pads() const { return v_; }
27  int bx() const { return bx_; }
28 
29  void print() const;
30 
31 private:
32  std::vector<uint16_t> v_;
33  int32_t bx_;
34 };
35 
36 std::ostream& operator<<(std::ostream& o, const ME0PadDigiCluster& digi);
37 
38 #endif
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
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.