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 
15 #include <boost/cstdint.hpp>
16 #include <iosfwd>
17 
18 class GEMDigi{
19 
20 public:
21  explicit GEMDigi (int strip, int bx);
22  GEMDigi ();
23 
24  bool operator==(const GEMDigi& digi) const;
25  bool operator<(const GEMDigi& digi) const;
26 
27  int strip() const { return strip_; }
28  int bx() const {return bx_; }
29 
30  void print() const;
31 
32 private:
33  uint16_t strip_;
34  int32_t bx_;
35 };
36 
37 std::ostream & operator<<(std::ostream & o, const GEMDigi& digi);
38 
39 #endif
40 
void print() const
Definition: GEMDigi.cc:49
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
bool operator<(const GEMDigi &digi) const
Precedence operator.
Definition: GEMDigi.cc:34
bool operator==(const GEMDigi &digi) const
Definition: GEMDigi.cc:25
int bx() const
Definition: GEMDigi.h:28
uint16_t strip_
Definition: GEMDigi.h:33
GEMDigi()
Definition: GEMDigi.cc:18
int strip() const
Definition: GEMDigi.h:27
int32_t bx_
Definition: GEMDigi.h:34