CMS 3D CMS Logo

HcalPacker.h
Go to the documentation of this file.
1 #ifndef EVENTFILTER_HCALRAWTODIGI_HCALPACKER_H
2 #define EVENTFILTER_HCALRAWTODIGI_HCALPACKER_H 1
3 
7 
12 class HcalPacker {
13 public:
14  struct Collections {
15  Collections();
22  };
23 
24  void pack(int fedid,
25  int dccnumber,
26  int nl1a,
27  int orbitn,
28  int bcn,
29  const Collections& inputs,
30  const HcalElectronicsMap& emap,
31  FEDRawData& output) const;
32 
33 private:
34  int findSamples(const DetId& did,
35  const Collections& inputs,
36  unsigned short* buffer,
37  int& presamples,
38  bool& zsUS,
39  bool& zsMP) const;
40 };
41 
42 #endif
HcalElectronicsMap.h
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
HcalPacker::pack
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const Collections &inputs, const HcalElectronicsMap &emap, FEDRawData &output) const
Definition: HcalPacker.cc:99
HcalPacker
Definition: HcalPacker.h:12
edm::SortedCollection
Definition: SortedCollection.h:49
HcalPacker::Collections::calibCont
const HcalCalibDigiCollection * calibCont
Definition: HcalPacker.h:19
FEDRawData.h
HcalPacker::Collections::zdcCont
const ZDCDigiCollection * zdcCont
Definition: HcalPacker.h:20
FEDRawData
Definition: FEDRawData.h:19
edmScanValgrind.buffer
buffer
Definition: edmScanValgrind.py:171
DetId
Definition: DetId.h:17
HcalPacker::Collections
Definition: HcalPacker.h:14
HcalDigiCollections.h
hcalTTPDigis_cfi.presamples
presamples
Definition: hcalTTPDigis_cfi.py:9
HcalPacker::Collections::hbhe
const HBHEDigiCollection * hbhe
Definition: HcalPacker.h:16
PixelMapPlotter.inputs
inputs
Definition: PixelMapPlotter.py:490
HcalPacker::Collections::tpCont
const HcalTrigPrimDigiCollection * tpCont
Definition: HcalPacker.h:21
PixelSLinkDataInputSource_cfi.fedid
fedid
Definition: PixelSLinkDataInputSource_cfi.py:6
HcalPacker::Collections::hoCont
const HODigiCollection * hoCont
Definition: HcalPacker.h:17
HcalElectronicsMap
Definition: HcalElectronicsMap.h:31
HcalPacker::Collections::Collections
Collections()
Definition: HcalPacker.cc:9
HcalPacker::findSamples
int findSamples(const DetId &did, const Collections &inputs, unsigned short *buffer, int &presamples, bool &zsUS, bool &zsMP) const
Definition: HcalPacker.cc:64
HcalPacker::Collections::hfCont
const HFDigiCollection * hfCont
Definition: HcalPacker.h:18