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, int dccnumber,
25  int nl1a, int orbitn, int bcn,
26  const Collections& inputs,
27  const HcalElectronicsMap& emap,
28  FEDRawData& output) const;
29 private:
30  int findSamples(const DetId& did, const Collections& inputs,
31  unsigned short* buffer, int &presamples, bool& zsUS, bool& zsMP) const;
32 };
33 
34 #endif
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const Collections &inputs, const HcalElectronicsMap &emap, FEDRawData &output) const
Definition: HcalPacker.cc:82
const HcalCalibDigiCollection * calibCont
Definition: HcalPacker.h:19
int findSamples(const DetId &did, const Collections &inputs, unsigned short *buffer, int &presamples, bool &zsUS, bool &zsMP) const
Definition: HcalPacker.cc:54
const HcalTrigPrimDigiCollection * tpCont
Definition: HcalPacker.h:21
const ZDCDigiCollection * zdcCont
Definition: HcalPacker.h:20
const HBHEDigiCollection * hbhe
Definition: HcalPacker.h:16
Definition: DetId.h:18
const HODigiCollection * hoCont
Definition: HcalPacker.h:17
const HFDigiCollection * hfCont
Definition: HcalPacker.h:18