RecoTBCalo
HcalTBObjectUnpacker
interface
HcalTBSlowDataUnpacker.h
Go to the documentation of this file.
1
/* -*- C++ -*- */
2
#ifndef HcalTBSlowDataUnpacker_h_included
3
#define HcalTBSlowDataUnpacker_h_included 1
4
5
#include "
TBDataFormats/HcalTBObjects/interface/HcalTBRunData.h
"
6
#include "
TBDataFormats/HcalTBObjects/interface/HcalTBEventPosition.h
"
7
#include "
DataFormats/FEDRawData/interface/FEDRawData.h
"
8
9
#include <map>
10
#include <string>
11
12
namespace
hcaltb
{
31
class
HcalTBSlowDataUnpacker
{
32
public
:
33
HcalTBSlowDataUnpacker
(
void
) {}
34
35
void
unpack
(
const
FEDRawData
& raw,
HcalTBRunData
& htbrd,
HcalTBEventPosition
& htbep)
const
;
36
37
void
unpackMaps
(
const
FEDRawData
& raw,
38
std::map<std::string, std::string>&
strings
,
39
std::map<std::string, double>& numerics)
const
;
40
41
static
const
int
STANDARD_FED_ID
= 3;
42
static
const
int
SIPM_CAL_FED_ID
= 11;
43
};
44
}
// namespace hcaltb
45
46
#endif // HcalTBSlowDataUnpacker_h_included
HcalTBEventPosition
Definition:
HcalTBEventPosition.h:18
hcaltb::HcalTBSlowDataUnpacker::SIPM_CAL_FED_ID
static const int SIPM_CAL_FED_ID
Definition:
HcalTBSlowDataUnpacker.h:42
hcaltb::HcalTBSlowDataUnpacker::STANDARD_FED_ID
static const int STANDARD_FED_ID
Definition:
HcalTBSlowDataUnpacker.h:41
hcaltb::HcalTBSlowDataUnpacker::unpack
void unpack(const FEDRawData &raw, HcalTBRunData &htbrd, HcalTBEventPosition &htbep) const
Definition:
HcalTBSlowDataUnpacker.cc:74
FEDRawData.h
FEDRawData
Definition:
FEDRawData.h:19
nano_cff.strings
strings
Definition:
nano_cff.py:25
hcaltb::HcalTBSlowDataUnpacker::HcalTBSlowDataUnpacker
HcalTBSlowDataUnpacker(void)
Definition:
HcalTBSlowDataUnpacker.h:33
HcalTBRunData
Definition:
HcalTBRunData.h:16
HcalTBRunData.h
hcaltb::HcalTBSlowDataUnpacker
Unpacks "SlowData" packages used for SiPM calibration and other purposes in HCAL Local DAQ.
Definition:
HcalTBSlowDataUnpacker.h:31
hcaltb
Definition:
HcalTBQADCUnpacker.h:6
HcalTBEventPosition.h
hcaltb::HcalTBSlowDataUnpacker::unpackMaps
void unpackMaps(const FEDRawData &raw, std::map< std::string, std::string > &strings, std::map< std::string, double > &numerics) const
Definition:
HcalTBSlowDataUnpacker.cc:28
Generated for CMSSW Reference Manual by
1.8.16