Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimCalorimetry
HcalSimAlgos
src
HPDNoiseDataFrame.cc
Go to the documentation of this file.
1
// --------------------------------------------------------
2
// Object to store all timeslices of noise signal frame
3
// Project: HPD noise library
4
// Author: F.Ratnikov UMd, Jan. 15, 2008
5
// --------------------------------------------------------
6
7
#include "
SimCalorimetry/HcalSimAlgos/interface/HPDNoiseDataFrame.h
"
8
9
HPDNoiseDataFrame::HPDNoiseDataFrame
(
HcalDetId
fId,
const
float
* fCharges)
10
: mId (fId.rawId())
11
{
12
for
(
size_t
i
= 0;
i
< FRAMESIZE; ++
i
)
mCharge
[
i
] = fCharges[
i
];
13
}
14
15
HPDNoiseDataFrame::~HPDNoiseDataFrame
() {}
16
17
std::ostream&
operator<<
(std::ostream& fStream,
const
HPDNoiseDataFrame
& fFrame) {
18
fStream << fFrame.
id
();
19
for
(
size_t
i
= 0;
i
< FRAMESIZE; ++
i
) fStream <<
' '
<<
i
<<
':'
<< fFrame.
charge
(
i
);
20
return
fStream;
21
}
i
int i
Definition:
DBlmapReader.cc:9
HPDNoiseDataFrame::charge
float charge(unsigned i) const
charges corresponding to one timeslice of the channel
Definition:
HPDNoiseDataFrame.h:29
HPDNoiseDataFrame::~HPDNoiseDataFrame
virtual ~HPDNoiseDataFrame()
Definition:
HPDNoiseDataFrame.cc:15
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
HPDNoiseDataFrame::HPDNoiseDataFrame
HPDNoiseDataFrame()
Definition:
HPDNoiseDataFrame.h:23
HcalDetId
Definition:
HcalDetId.h:16
HPDNoiseDataFrame
Definition:
HPDNoiseDataFrame.h:21
HPDNoiseDataFrame::id
HcalDetId id() const
detId for the frame
Definition:
HPDNoiseDataFrame.h:27
HPDNoiseDataFrame.h
HPDNoiseDataFrame::mCharge
float mCharge[10]
Definition:
HPDNoiseDataFrame.h:34
Generated for CMSSW Reference Manual by
1.8.5