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
std::set< CastorElectronicsId > unknownIds_
void unpack(const FEDRawData &raw, const CastorElectronicsMap &emap, CastorRawCollections &conts, HcalUnpackerReport &report, bool silent=false)
For histograms, no begin and end.
std::set< CastorElectronicsId > unknownIdsTrig_
Recorded to limit number of times a log message is generated.
CastorUnpacker(int sourceIdOffset, int beg, int end)
for normal data
void setExpectedOrbitMessageTime(int time)
#define end
Definition: vmac.h:39
int sourceIdOffset_
number to subtract from the source id to get the dcc id
int expectedOrbitMessageTime_
Expected orbit bunch time (needed to evaluate time differences)
int startSample_
first sample from fed raw data to copy
int endSample_
last sample from fed raw data to copy (if present)