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
const HcalCalibDigiCollection * calibCont
Definition: HcalPacker.h:19
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
const HcalTrigPrimDigiCollection * tpCont
Definition: HcalPacker.h:21
const ZDCDigiCollection * zdcCont
Definition: HcalPacker.h:20
int findSamples(const DetId &did, const Collections &inputs, unsigned short *buffer, int &presamples, bool &zsUS, bool &zsMP) const
Definition: HcalPacker.cc:64
const HBHEDigiCollection * hbhe
Definition: HcalPacker.h:16
Definition: DetId.h:17
const HODigiCollection * hoCont
Definition: HcalPacker.h:17
const HFDigiCollection * hfCont
Definition: HcalPacker.h:18
Definition: output.py:1