CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
17 
19  CastorUnpacker(int sourceIdOffset, int beg, int end) ;
22  // void unpack(const FEDRawData& raw, const CastorElectronicsMap& emap, std::vector<HcalHistogramDigi>& histoDigis);
23  void unpack(const FEDRawData& raw, const CastorElectronicsMap& emap, CastorRawCollections& conts, HcalUnpackerReport& report, bool silent=false);
24 private:
27  int endSample_;
29  std::set<CastorElectronicsId> unknownIds_,unknownIdsTrig_;
30 };
31 
32 #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.
tuple report
Definition: zeeHLT_cff.py:9
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:38
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)