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