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
17
public
:
18
19
SiStripRawDigi
(
const
uint16_t&
adc
) :
adc_
(adc) {;}
20
21
SiStripRawDigi
() :
adc_
(0) {;}
22
~SiStripRawDigi
() {;}
23
24
inline
const
uint16_t&
adc
()
const
;
25
27
inline
bool
operator<
(
const
SiStripRawDigi
&
other
)
const
;
28
29
private
:
30
31
uint16_t
adc_
;
32
33
};
34
35
#include<iostream>
36
inline
std::ostream &
operator<<
(std::ostream &
o
,
const
SiStripRawDigi
& digi) {
37
return
o <<
" "
<< digi.
adc
();
38
}
39
40
// inline methods
41
const
uint16_t&
SiStripRawDigi::adc
()
const
{
return
adc_
; }
42
bool
SiStripRawDigi::operator<
(
const
SiStripRawDigi
&
other
)
const
{
return
( this->
adc
() < other.
adc
() ); }
43
44
#endif // DataFormats_SiStripDigi_SiStripRawDigi_H
45
operator<<
std::ostream & operator<<(std::ostream &o, const SiStripRawDigi &digi)
Definition:
SiStripRawDigi.h:36
SiStripRawDigi::adc
const uint16_t & adc() const
Definition:
SiStripRawDigi.h:41
edm::DoNotSortUponInsertion
Definition:
traits.h:88
traits.h
SiStripRawDigi::~SiStripRawDigi
~SiStripRawDigi()
Definition:
SiStripRawDigi.h:22
SiStripRawDigi::SiStripRawDigi
SiStripRawDigi()
Definition:
SiStripRawDigi.h:21
trackingPlots.other
other
Definition:
trackingPlots.py:1425
SiStripRawDigi::operator<
bool operator<(const SiStripRawDigi &other) const
Definition:
SiStripRawDigi.h:42
connectstrParser.o
o
Definition:
connectstrParser.py:70
SiStripRawDigi::adc_
uint16_t adc_
Definition:
SiStripRawDigi.h:31
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:19
Generated for CMSSW Reference Manual by
1.8.11