Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
EcalDigi
interface
EcalPseudoStripInputSample.h
Go to the documentation of this file.
1
#ifndef ECALPSEUDOSTRIPINPUTSAMPLE_H
2
#define ECALPSEUDOSTRIPINPUTSAMPLE_H
3
4
#include <boost/cstdint.hpp>
5
#include <ostream>
6
7
8
14
class
EcalPseudoStripInputSample
{
15
public
:
16
EcalPseudoStripInputSample
();
17
EcalPseudoStripInputSample
(uint16_t
data
);
18
EcalPseudoStripInputSample
(
int
pseudoStripInput
,
bool
finegrain);
19
21
void
setValue
(uint16_t data){
theSample
=
data
;}
23
uint16_t
raw
()
const
{
return
theSample
; }
25
int
pseudoStripInput
()
const
{
return
theSample
&0xFFF; }
27
bool
fineGrain
()
const
{
return
(
theSample
&0x1000)!=0; }
28
30
uint16_t
operator()
() {
return
theSample
; }
31
32
private
:
33
uint16_t
theSample
;
34
};
35
36
std::ostream&
operator<<
(std::ostream&
s
,
const
EcalPseudoStripInputSample
& samp);
37
38
#endif
EcalPseudoStripInputSample::operator()
uint16_t operator()()
for streaming
Definition:
EcalPseudoStripInputSample.h:30
EcalPseudoStripInputSample::EcalPseudoStripInputSample
EcalPseudoStripInputSample()
Definition:
EcalPseudoStripInputSample.cc:4
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:188
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
EcalPseudoStripInputSample::raw
uint16_t raw() const
get the raw word
Definition:
EcalPseudoStripInputSample.h:23
EcalPseudoStripInputSample::setValue
void setValue(uint16_t data)
Set data.
Definition:
EcalPseudoStripInputSample.h:21
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
EcalPseudoStripInputSample
Definition:
EcalPseudoStripInputSample.h:14
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
Generated for CMSSW Reference Manual by
1.8.5