EventFilter
CastorRawToDigi
interface
CastorCtdcUnpacker.h
Go to the documentation of this file.
1
/* -*- C++ -*- */
2
#ifndef CastorCtdcUnpacker_h_included
3
#define CastorCtdcUnpacker_h_included 1
4
5
#include "
DataFormats/HcalDigi/interface/CastorDataFrame.h
"
6
#include "
DataFormats/HcalDigi/interface/HcalCalibDataFrame.h
"
7
#include "
DataFormats/HcalDigi/interface/HcalTriggerPrimitiveDigi.h
"
8
#include "
DataFormats/HcalDigi/interface/HcalUnpackerReport.h
"
9
#include "
DataFormats/FEDRawData/interface/FEDRawData.h
"
10
#include "
CondFormats/CastorObjects/interface/CastorElectronicsMap.h
"
11
#include <set>
12
#include "
EventFilter/CastorRawToDigi/interface/CastorRawCollections.h
"
13
14
class
CastorCtdcUnpacker
{
15
public
:
17
CastorCtdcUnpacker
(
int
sourceIdOffset,
int
beg,
int
end
);
18
void
unpack
(
const
FEDRawData
& raw,
19
const
CastorElectronicsMap
& emap,
20
CastorRawCollections
& conts,
21
HcalUnpackerReport
&
report
);
22
23
private
:
24
int
sourceIdOffset_
;
25
int
startSample_
;
26
int
endSample_
;
27
std::set<CastorElectronicsId>
unknownIds_
,
28
unknownIdsTrig_
;
29
};
30
31
#endif // CastorCtdcUnpacker_h_included
CastorCtdcUnpacker::CastorCtdcUnpacker
CastorCtdcUnpacker(int sourceIdOffset, int beg, int end)
for normal data
Definition:
CastorCtdcUnpacker.cc:12
CastorRawCollections
Definition:
CastorRawCollections.h:16
HcalUnpackerReport.h
HcalCalibDataFrame.h
CastorDataFrame.h
CastorCtdcUnpacker::unknownIdsTrig_
std::set< CastorElectronicsId > unknownIdsTrig_
Recorded to limit number of times a log message is generated.
Definition:
CastorCtdcUnpacker.h:27
CastorRawCollections.h
CastorElectronicsMap.h
FEDRawData.h
CastorCtdcUnpacker::unpack
void unpack(const FEDRawData &raw, const CastorElectronicsMap &emap, CastorRawCollections &conts, HcalUnpackerReport &report)
Definition:
CastorCtdcUnpacker.cc:25
CastorCtdcUnpacker::endSample_
int endSample_
last sample from fed raw data to copy (if present)
Definition:
CastorCtdcUnpacker.h:26
FEDRawData
Definition:
FEDRawData.h:19
HcalTriggerPrimitiveDigi.h
CastorCtdcUnpacker::startSample_
int startSample_
first sample from fed raw data to copy
Definition:
CastorCtdcUnpacker.h:25
HcalUnpackerReport
Definition:
HcalUnpackerReport.h:14
mps_fire.end
end
Definition:
mps_fire.py:242
edmIntegrityCheck.report
report
Definition:
edmIntegrityCheck.py:349
CastorCtdcUnpacker::sourceIdOffset_
int sourceIdOffset_
number to subtract from the source id to get the dcc id
Definition:
CastorCtdcUnpacker.h:24
CastorCtdcUnpacker::unknownIds_
std::set< CastorElectronicsId > unknownIds_
Definition:
CastorCtdcUnpacker.h:27
CastorElectronicsMap
Definition:
CastorElectronicsMap.h:30
CastorCtdcUnpacker
Definition:
CastorCtdcUnpacker.h:14
Generated for CMSSW Reference Manual by
1.8.16