CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TotemRPDigi.h
Go to the documentation of this file.
1 /****************************************************************************
2 *
3 * This is a part of TOTEM offline software.
4 * Authors:
5 * Hubert Niewiadomski
6 * Jan Kašpar (jan.kaspar@gmail.com)
7 *
8 ****************************************************************************/
9 
10 #ifndef DataFormats_TotemDigi_TotemRPDigi
11 #define DataFormats_TotemDigi_TotemRPDigi
12 
17 {
18  public:
19  TotemRPDigi(unsigned short strip_no=0) : strip_no_(strip_no)
20  {
21  };
22 
23  unsigned short getStripNumber() const
24  {
25  return strip_no_;
26  }
27 
28  private:
30  unsigned short strip_no_;
31 };
32 
33 
34 inline bool operator< (const TotemRPDigi& one, const TotemRPDigi& other)
35 {
36  return one.getStripNumber() < other.getStripNumber();
37 }
38 
39 #endif
unsigned short getStripNumber() const
Definition: TotemRPDigi.h:23
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
unsigned short strip_no_
index of the activated strip
Definition: TotemRPDigi.h:30
TotemRPDigi(unsigned short strip_no=0)
Definition: TotemRPDigi.h:19