CMS 3D CMS Logo

ZdcUnpacker.h
Go to the documentation of this file.
1 /* -*- C++ -*- */
2 #ifndef EventFilter_CastorRawToDigi_ZdcUnpacker_h
3 #define EventFilter_CastorRawToDigi_ZdcUnpacker_h 1
4 
12 #include <set>
15 
16 class ZdcUnpacker {
17 public:
19  ZdcUnpacker(int sourceIdOffset, int beg, int end);
22  // void unpack(const FEDRawData& raw, const ZdcElectronicsMap& emap, std::vector<HcalHistogramDigi>& histoDigis);
23  void unpack(const FEDRawData& raw,
24  const CastorElectronicsMap& emap,
25  CastorRawCollections& conts,
27  bool silent = false);
28  void unpackOld(const FEDRawData& raw,
29  const HcalElectronicsMap& emap,
30  CastorRawCollections& conts,
32  bool silent = false);
33 
34 private:
37  int endSample_;
39  std::set<HcalElectronicsId> unknownIds_,
41  int mode_;
42 };
43 
44 #endif // ZdcUnpacker_h_included
HcalElectronicsMap.h
ZdcUnpacker::ZdcUnpacker
ZdcUnpacker(int sourceIdOffset, int beg, int end)
for normal data
Definition: ZdcUnpacker.cc:94
CastorRawCollections
Definition: CastorRawCollections.h:16
HcalUnpackerReport.h
HcalCalibDataFrame.h
CastorRawCollections.h
protons_cff.time
time
Definition: protons_cff.py:39
ZdcUnpacker
Definition: ZdcUnpacker.h:16
CastorElectronicsMap.h
FEDRawData.h
FEDRawData
Definition: FEDRawData.h:19
HcalTriggerPrimitiveDigi.h
ZdcUnpacker::expectedOrbitMessageTime_
int expectedOrbitMessageTime_
Expected orbit bunch time (needed to evaluate time differences)
Definition: ZdcUnpacker.h:38
ZdcUnpacker::startSample_
int startSample_
first sample from fed raw data to copy
Definition: ZdcUnpacker.h:36
ZdcUnpacker::unknownIds_
std::set< HcalElectronicsId > unknownIds_
Definition: ZdcUnpacker.h:39
HcalUnpackerReport
Definition: HcalUnpackerReport.h:14
mps_fire.end
end
Definition: mps_fire.py:242
HcalQIESample.h
ZdcUnpacker::endSample_
int endSample_
last sample from fed raw data to copy (if present)
Definition: ZdcUnpacker.h:37
ZDCDataFrame.h
ZdcUnpacker::mode_
int mode_
Definition: ZdcUnpacker.h:41
CastorRawToDigi_cfi.silent
silent
Definition: CastorRawToDigi_cfi.py:27
ZdcUnpacker::unpack
void unpack(const FEDRawData &raw, const CastorElectronicsMap &emap, CastorRawCollections &conts, HcalUnpackerReport &report, bool silent=false)
For histograms, no begin and end.
Definition: ZdcUnpacker.cc:108
edmIntegrityCheck.report
report
Definition: edmIntegrityCheck.py:349
HcalElectronicsMap
Definition: HcalElectronicsMap.h:31
ZdcUnpacker::unpackOld
void unpackOld(const FEDRawData &raw, const HcalElectronicsMap &emap, CastorRawCollections &conts, HcalUnpackerReport &report, bool silent=false)
ZdcUnpacker::sourceIdOffset_
int sourceIdOffset_
number to subtract from the source id to get the dcc id
Definition: ZdcUnpacker.h:35
ZdcUnpacker::setExpectedOrbitMessageTime
void setExpectedOrbitMessageTime(int time)
Definition: ZdcUnpacker.h:20
CastorElectronicsMap
Definition: CastorElectronicsMap.h:30
ZdcUnpacker::unknownIdsTrig_
std::set< HcalElectronicsId > unknownIdsTrig_
Recorded to limit number of times a log message is generated.
Definition: ZdcUnpacker.h:39