DataFormats
GEMDigi
interface
ME0Digi.h
Go to the documentation of this file.
1
#ifndef DataFormats_GEMDigi_ME0Digi_h
2
#define DataFormats_GEMDigi_ME0Digi_h
3
12
#include <cstdint>
13
#include <iosfwd>
14
15
class
ME0Digi
{
16
public
:
17
explicit
ME0Digi
(
int
strip
,
int
bx
);
18
ME0Digi
();
19
20
bool
operator==
(
const
ME0Digi
& digi)
const
;
21
bool
operator!=
(
const
ME0Digi
& digi)
const
;
22
bool
operator<
(
const
ME0Digi
& digi)
const
;
23
24
// return the strip number. counts from 1.
25
int
strip
()
const
{
return
strip_
; }
26
int
bx
()
const
{
return
bx_
; }
27
28
private
:
29
uint16_t
strip_
;
30
int16_t
bx_
;
31
};
32
33
std::ostream&
operator<<
(std::ostream&
o
,
const
ME0Digi
& digi);
34
35
#endif
ME0Digi
Definition:
ME0Digi.h:15
ME0Digi::operator==
bool operator==(const ME0Digi &digi) const
Definition:
ME0Digi.cc:8
ME0Digi::strip_
uint16_t strip_
Definition:
ME0Digi.h:29
ME0Digi::operator!=
bool operator!=(const ME0Digi &digi) const
Definition:
ME0Digi.cc:10
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
ME0Digi::strip
int strip() const
Definition:
ME0Digi.h:25
ME0Digi::operator<
bool operator<(const ME0Digi &digi) const
Definition:
ME0Digi.cc:12
ME0Digi::bx_
int16_t bx_
Definition:
ME0Digi.h:30
ME0Digi::bx
int bx() const
Definition:
ME0Digi.h:26
operator<<
std::ostream & operator<<(std::ostream &o, const ME0Digi &digi)
Definition:
ME0Digi.cc:19
ME0Digi::ME0Digi
ME0Digi()
Definition:
ME0Digi.cc:6
Generated for CMSSW Reference Manual by
1.8.16