CMS 3D CMS Logo

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