CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalPacker.h
Go to the documentation of this file.
1 #ifndef EVENTFILTER_HCALRAWTODIGI_HCALPACKER_H
2 #define EVENTFILTER_HCALRAWTODIGI_HCALPACKER_H 1
3 
7 
14 class HcalPacker {
15 public:
16  struct Collections {
17  Collections();
24  };
25 
26  void pack(int fedid, int dccnumber,
27  int nl1a, int orbitn, int bcn,
28  const Collections& inputs,
29  const HcalElectronicsMap& emap,
31 private:
32  int findSamples(const DetId& did, const Collections& inputs,
33  unsigned short* buffer, int &presamples, bool& zsUS, bool& zsMP);
34 };
35 
36 #endif
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const Collections &inputs, const HcalElectronicsMap &emap, FEDRawData &output)
Definition: HcalPacker.cc:79
const HcalCalibDigiCollection * calibCont
Definition: HcalPacker.h:21
const HcalTrigPrimDigiCollection * tpCont
Definition: HcalPacker.h:23
const ZDCDigiCollection * zdcCont
Definition: HcalPacker.h:22
const HBHEDigiCollection * hbhe
Definition: HcalPacker.h:18
Definition: DetId.h:20
const HODigiCollection * hoCont
Definition: HcalPacker.h:19
int findSamples(const DetId &did, const Collections &inputs, unsigned short *buffer, int &presamples, bool &zsUS, bool &zsMP)
Definition: HcalPacker.cc:51
const HFDigiCollection * hfCont
Definition: HcalPacker.h:20