Main Page
Namespaces
Classes
Package Documentation
DataFormats
EcalDigi
src
EcalPseudoStripInputSample.cc
Go to the documentation of this file.
1
#include "
DataFormats/EcalDigi/interface/EcalPseudoStripInputSample.h
"
2
3
EcalPseudoStripInputSample::EcalPseudoStripInputSample
() : theSample(0) {}
4
EcalPseudoStripInputSample::EcalPseudoStripInputSample
(uint16_t
data
) :
theSample
(data) {}
5
6
EcalPseudoStripInputSample::EcalPseudoStripInputSample
(
int
pseudoStripInput
,
bool
fineGrain
) {
7
theSample
= (pseudoStripInput & 0xFFF) | ((fineGrain) ? (0x1000) : (0));
8
}
9
10
std::ostream&
operator<<
(std::ostream&
s
,
const
EcalPseudoStripInputSample
& samp) {
11
return
s <<
"PSInput="
<< samp.
pseudoStripInput
() <<
", FG="
<< samp.
fineGrain
();
12
}
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
EcalPseudoStripInputSample::EcalPseudoStripInputSample
EcalPseudoStripInputSample()
Definition:
EcalPseudoStripInputSample.cc:3
EcalPseudoStripInputSample::fineGrain
bool fineGrain() const
get the fine-grain bit (1 bit, the 13-th)
Definition:
EcalPseudoStripInputSample.h:25
EcalPseudoStripInputSample::pseudoStripInput
int pseudoStripInput() const
get the pseudoStrip Input amplitude (12 bits)
Definition:
EcalPseudoStripInputSample.h:23
EcalPseudoStripInputSample::theSample
uint16_t theSample
Definition:
EcalPseudoStripInputSample.h:31
EcalPseudoStripInputSample
Definition:
EcalPseudoStripInputSample.h:12
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
operator<<
std::ostream & operator<<(std::ostream &s, const EcalPseudoStripInputSample &samp)
Definition:
EcalPseudoStripInputSample.cc:10
EcalPseudoStripInputSample.h
Generated for CMSSW Reference Manual by
1.8.11