Main Page
Namespaces
Classes
Package Documentation
DataFormats
SiStripDigi
interface
SiStripRawDigi.h
Go to the documentation of this file.
1
#ifndef DataFormats_SiStripDigi_SiStripRawDigi_H
2
#define DataFormats_SiStripDigi_SiStripRawDigi_H
3
4
#include "
DataFormats/Common/interface/traits.h
"
5
15
class
SiStripRawDigi
:
public
edm::DoNotSortUponInsertion
{
16
public
:
17
SiStripRawDigi
(
const
uint16_t&
adc
) :
adc_
(adc) { ; }
18
19
SiStripRawDigi
() :
adc_
(0) { ; }
20
~SiStripRawDigi
() { ; }
21
22
inline
const
uint16_t&
adc
()
const
;
23
25
inline
bool
operator<
(
const
SiStripRawDigi
&
other
)
const
;
26
27
private
:
28
uint16_t
adc_
;
29
};
30
31
#include <iostream>
32
inline
std::ostream&
operator<<
(std::ostream&
o
,
const
SiStripRawDigi
& digi) {
return
o <<
" "
<< digi.
adc
(); }
33
34
// inline methods
35
const
uint16_t&
SiStripRawDigi::adc
()
const
{
return
adc_
; }
36
bool
SiStripRawDigi::operator<
(
const
SiStripRawDigi
&
other
)
const
{
return
(this->
adc
() < other.
adc
()); }
37
38
#endif // DataFormats_SiStripDigi_SiStripRawDigi_H
operator<<
std::ostream & operator<<(std::ostream &o, const SiStripRawDigi &digi)
Definition:
SiStripRawDigi.h:32
SiStripRawDigi::adc
const uint16_t & adc() const
Definition:
SiStripRawDigi.h:35
edm::DoNotSortUponInsertion
Definition:
traits.h:88
traits.h
SiStripRawDigi::~SiStripRawDigi
~SiStripRawDigi()
Definition:
SiStripRawDigi.h:20
SiStripRawDigi::SiStripRawDigi
SiStripRawDigi()
Definition:
SiStripRawDigi.h:19
trackingPlots.other
other
Definition:
trackingPlots.py:1453
SiStripRawDigi::operator<
bool operator<(const SiStripRawDigi &other) const
Definition:
SiStripRawDigi.h:36
connectstrParser.o
o
Definition:
connectstrParser.py:72
SiStripRawDigi::adc_
uint16_t adc_
Definition:
SiStripRawDigi.h:28
SiStripRawDigi
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...
Definition:
SiStripRawDigi.h:15
SiStripRawDigi::SiStripRawDigi
SiStripRawDigi(const uint16_t &adc)
Definition:
SiStripRawDigi.h:17
Generated for CMSSW Reference Manual by
1.8.11