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