test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
EcalDigi
src
EcalPseudoStripInputSample.cc
Go to the documentation of this file.
1
#include "
DataFormats/EcalDigi/interface/EcalPseudoStripInputSample.h
"
2
3
4
EcalPseudoStripInputSample::EcalPseudoStripInputSample
() : theSample(0) { }
5
EcalPseudoStripInputSample::EcalPseudoStripInputSample
(uint16_t
data
) : theSample(data) { }
6
7
EcalPseudoStripInputSample::EcalPseudoStripInputSample
(
int
pseudoStripInput,
bool
fineGrain) {
8
theSample
=(pseudoStripInput&0xFFF)|((fineGrain)?(0x1000):(0));
9
}
10
11
12
std::ostream&
operator<<
(std::ostream&
s
,
const
EcalPseudoStripInputSample
& samp) {
13
return
s <<
"PSInput="
<< samp.
pseudoStripInput
() <<
", FG="
<< samp.
fineGrain
();
14
}
EcalPseudoStripInputSample::EcalPseudoStripInputSample
EcalPseudoStripInputSample()
Definition:
EcalPseudoStripInputSample.cc:4
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
EcalPseudoStripInputSample::fineGrain
bool fineGrain() const
get the fine-grain bit (1 bit, the 13-th)
Definition:
EcalPseudoStripInputSample.h:27
EcalPseudoStripInputSample::pseudoStripInput
int pseudoStripInput() const
get the pseudoStrip Input amplitude (12 bits)
Definition:
EcalPseudoStripInputSample.h:25
EcalPseudoStripInputSample::theSample
uint16_t theSample
Definition:
EcalPseudoStripInputSample.h:33
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
EcalPseudoStripInputSample
Definition:
EcalPseudoStripInputSample.h:14
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
EcalPseudoStripInputSample.h
Generated for CMSSW Reference Manual by
1.8.5