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