DataFormats
SiStripDigi
interface
SiStripProcessedRawDigi.h
Go to the documentation of this file.
1
#ifndef AnalysisDataFormats_SiStripDigi_SiStripProcessedRawDigi_H
2
#define AnalysisDataFormats_SiStripDigi_SiStripProcessedRawDigi_H
3
4
#include "
DataFormats/Common/interface/traits.h
"
5
16
class
SiStripProcessedRawDigi
:
public
edm::DoNotSortUponInsertion
{
17
public
:
18
SiStripProcessedRawDigi
(
const
float
&
adc
) :
adc_
(
adc
) { ; }
19
20
SiStripProcessedRawDigi
() :
adc_
(0) { ; }
21
~SiStripProcessedRawDigi
() { ; }
22
23
inline
const
float
&
adc
()
const
;
24
26
inline
bool
operator<
(
const
SiStripProcessedRawDigi
&
other
)
const
;
27
28
private
:
29
float
adc_
;
30
};
31
32
#include <iostream>
33
inline
std::ostream&
operator<<
(std::ostream&
o
,
const
SiStripProcessedRawDigi
& digi) {
return
o
<<
" "
<< digi.
adc
(); }
34
35
// inline methods
36
const
float
&
SiStripProcessedRawDigi::adc
()
const
{
return
adc_
; }
37
bool
SiStripProcessedRawDigi::operator<
(
const
SiStripProcessedRawDigi
&
other
)
const
{
38
return
(this->
adc
() < other.
adc
());
39
}
40
41
#endif // AnalysisDataFormats_SiStripDigi_SiStripProcessedRawDigi_H
SiStripProcessedRawDigi::adc_
float adc_
Definition:
SiStripProcessedRawDigi.h:29
SiStripProcessedRawDigi::adc
const float & adc() const
Definition:
SiStripProcessedRawDigi.h:36
SiStripProcessedRawDigi::SiStripProcessedRawDigi
SiStripProcessedRawDigi(const float &adc)
Definition:
SiStripProcessedRawDigi.h:18
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
SiStripProcessedRawDigi::~SiStripProcessedRawDigi
~SiStripProcessedRawDigi()
Definition:
SiStripProcessedRawDigi.h:21
trackingPlots.other
other
Definition:
trackingPlots.py:1464
SiStripProcessedRawDigi::operator<
bool operator<(const SiStripProcessedRawDigi &other) const
Definition:
SiStripProcessedRawDigi.h:37
SiStripProcessedRawDigi::SiStripProcessedRawDigi
SiStripProcessedRawDigi()
Definition:
SiStripProcessedRawDigi.h:20
operator<<
std::ostream & operator<<(std::ostream &o, const SiStripProcessedRawDigi &digi)
Definition:
SiStripProcessedRawDigi.h:33
SiStripProcessedRawDigi
A signed Digi for the silicon strip detector, containing only adc information, and suitable for stori...
Definition:
SiStripProcessedRawDigi.h:16
edm::DoNotSortUponInsertion
Definition:
traits.h:81
traits.h
Generated for CMSSW Reference Manual by
1.8.16