DataFormats
CTPPSDigi
interface
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_CTPPSDigi_TotemRPDigi
11
#define DataFormats_CTPPSDigi_TotemRPDigi
12
16
class
TotemRPDigi
{
17
public
:
18
TotemRPDigi
(
unsigned
short
strip_no = 0) :
strip_no_
(strip_no){};
19
20
unsigned
short
stripNumber
()
const
{
return
strip_no_
; }
21
22
private
:
24
unsigned
short
strip_no_
;
25
};
26
27
inline
bool
operator<
(
const
TotemRPDigi
&
one
,
const
TotemRPDigi
&
other
) {
28
return
one
.stripNumber() <
other
.stripNumber();
29
}
30
31
#endif
SiPixelPI::one
Definition:
SiPixelPayloadInspectorHelper.h:39
operator<
bool operator<(const TotemRPDigi &one, const TotemRPDigi &other)
Definition:
TotemRPDigi.h:26
TotemRPDigi
Definition:
TotemRPDigi.h:15
trackingPlots.other
other
Definition:
trackingPlots.py:1464
TotemRPDigi::stripNumber
unsigned short stripNumber() const
Definition:
TotemRPDigi.h:25
TotemRPDigi::strip_no_
unsigned short strip_no_
index of the activated strip
Definition:
TotemRPDigi.h:29
TotemRPDigi::TotemRPDigi
TotemRPDigi(unsigned short strip_no=0)
Definition:
TotemRPDigi.h:23
Generated for CMSSW Reference Manual by
1.8.16