CMS 3D CMS Logo

CastorUnpacker.h
Go to the documentation of this file.
1 /* -*- C++ -*- */
2 #ifndef CastorUnpacker_h_included
3 #define CastorUnpacker_h_included 1
4 
8 // #include "DataFormats/HcalDigi/interface/HcalHistogramDigi.h"
12 #include <set>
14 
16 public:
18  CastorUnpacker(int sourceIdOffset, int beg, int end);
21  // void unpack(const FEDRawData& raw, const CastorElectronicsMap& emap, std::vector<HcalHistogramDigi>& histoDigis);
22  void unpack(const FEDRawData& raw,
23  const CastorElectronicsMap& emap,
24  CastorRawCollections& conts,
26  bool silent = false);
27 
28 private:
31  int endSample_;
33  std::set<CastorElectronicsId> unknownIds_,
35 };
36 
37 #endif // CastorUnpacker_h_included
CastorUnpacker::unknownIdsTrig_
std::set< CastorElectronicsId > unknownIdsTrig_
Recorded to limit number of times a log message is generated.
Definition: CastorUnpacker.h:33
CastorRawCollections
Definition: CastorRawCollections.h:16
HcalUnpackerReport.h
HcalCalibDataFrame.h
CastorDataFrame.h
CastorUnpacker
Definition: CastorUnpacker.h:15
CastorUnpacker::unpack
void unpack(const FEDRawData &raw, const CastorElectronicsMap &emap, CastorRawCollections &conts, HcalUnpackerReport &report, bool silent=false)
For histograms, no begin and end.
Definition: CastorUnpacker.cc:75
CastorRawCollections.h
CastorElectronicsMap.h
CastorUnpacker::CastorUnpacker
CastorUnpacker(int sourceIdOffset, int beg, int end)
for normal data
Definition: CastorUnpacker.cc:57
FEDRawData.h
end
#define end
Definition: vmac.h:39
FEDRawData
Definition: FEDRawData.h:19
HcalTriggerPrimitiveDigi.h
CastorUnpacker::setExpectedOrbitMessageTime
void setExpectedOrbitMessageTime(int time)
Definition: CastorUnpacker.h:19
HcalUnpackerReport
Definition: HcalUnpackerReport.h:14
CastorUnpacker::endSample_
int endSample_
last sample from fed raw data to copy (if present)
Definition: CastorUnpacker.h:31
CastorUnpacker::expectedOrbitMessageTime_
int expectedOrbitMessageTime_
Expected orbit bunch time (needed to evaluate time differences)
Definition: CastorUnpacker.h:32
CastorRawToDigi_cfi.silent
silent
Definition: CastorRawToDigi_cfi.py:27
edmIntegrityCheck.report
report
Definition: edmIntegrityCheck.py:349
CastorElectronicsMap
Definition: CastorElectronicsMap.h:30
CastorUnpacker::unknownIds_
std::set< CastorElectronicsId > unknownIds_
Definition: CastorUnpacker.h:33
ntuplemaker.time
time
Definition: ntuplemaker.py:310
CastorUnpacker::startSample_
int startSample_
first sample from fed raw data to copy
Definition: CastorUnpacker.h:30
CastorUnpacker::sourceIdOffset_
int sourceIdOffset_
number to subtract from the source id to get the dcc id
Definition: CastorUnpacker.h:29