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