RecoTBCalo
HcalTBObjectUnpacker
interface
HcalTBQADCUnpacker.h
Go to the documentation of this file.
1
#ifndef HCALTBQADCUNPACKER_H
2
#define HCALTBQADCUNPACKER_H 1
3
#include "
TBDataFormats/HcalTBObjects/interface/HcalTBBeamCounters.h
"
4
#include "
DataFormats/FEDRawData/interface/FEDRawData.h
"
5
6
namespace
hcaltb
{
7
class
HcalTBQADCUnpacker
{
8
public
:
9
HcalTBQADCUnpacker
();
10
void
unpack
(
const
FEDRawData
& raw,
HcalTBBeamCounters
& beamadc,
bool
is04_ =
true
)
const
;
11
void
setCalib
(
const
std::vector<std::vector<std::string> >& calibLines_);
12
13
private
:
14
bool
isTB04_
;
15
double
qdc_ped
[192];
16
double
qdc_gain
[192];
17
};
18
19
}
// namespace hcaltb
20
21
#endif
hcaltb::HcalTBQADCUnpacker::isTB04_
bool isTB04_
Definition:
HcalTBQADCUnpacker.h:14
hcaltb::HcalTBQADCUnpacker::unpack
void unpack(const FEDRawData &raw, HcalTBBeamCounters &beamadc, bool is04_=true) const
Definition:
HcalTBQADCUnpacker.cc:94
hcaltb::HcalTBQADCUnpacker::qdc_ped
double qdc_ped[192]
Definition:
HcalTBQADCUnpacker.h:15
HcalTBBeamCounters
Definition:
HcalTBBeamCounters.h:8
hcaltb::HcalTBQADCUnpacker::HcalTBQADCUnpacker
HcalTBQADCUnpacker()
Definition:
HcalTBQADCUnpacker.cc:56
FEDRawData.h
FEDRawData
Definition:
FEDRawData.h:19
hcaltb::HcalTBQADCUnpacker::setCalib
void setCalib(const std::vector< std::vector< std::string > > &calibLines_)
Definition:
HcalTBQADCUnpacker.cc:72
hcaltb::HcalTBQADCUnpacker::qdc_gain
double qdc_gain[192]
Definition:
HcalTBQADCUnpacker.h:16
HcalTBBeamCounters.h
hcaltb::HcalTBQADCUnpacker
Definition:
HcalTBQADCUnpacker.h:7
hcaltb
Definition:
HcalTBQADCUnpacker.h:6
Generated for CMSSW Reference Manual by
1.8.16