CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GEMDigi.h
Go to the documentation of this file.
1 #ifndef GEMDigi_GEMDigi_h
2 #define GEMDigi_GEMDigi_h
3 
13 #include <boost/cstdint.hpp>
14 #include <iosfwd>
15 
16 class GEMDigi{
17 
18 public:
19  explicit GEMDigi (int strip, int bx);
20  GEMDigi ();
21 
22  bool operator==(const GEMDigi& digi) const;
23  bool operator<(const GEMDigi& digi) const;
24 
25  int strip() const { return strip_; }
26  int bx() const {return bx_; }
27 
28  void print() const;
29 
30 private:
31  uint16_t strip_;
32  int32_t bx_;
33 };
34 
35 std::ostream & operator<<(std::ostream & o, const GEMDigi& digi);
36 
37 #endif
38 
void print() const
Definition: GEMDigi.cc:47
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
bool operator<(const GEMDigi &digi) const
Precedence operator.
Definition: GEMDigi.cc:32
bool operator==(const GEMDigi &digi) const
Definition: GEMDigi.cc:23
int bx() const
Definition: GEMDigi.h:26
uint16_t strip_
Definition: GEMDigi.h:31
GEMDigi()
Definition: GEMDigi.cc:16
int strip() const
Definition: GEMDigi.h:25
int32_t bx_
Definition: GEMDigi.h:32