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 
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,
29 private:
30  int findSamples(const DetId& did, const Collections& inputs,
31  unsigned short* buffer, int &presamples, bool& zsUS, bool& zsMP);
32 };
33 
34 #endif
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const Collections &inputs, const HcalElectronicsMap &emap, FEDRawData &output)
Definition: HcalPacker.cc:82
const HcalCalibDigiCollection * calibCont
Definition: HcalPacker.h:19
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
int findSamples(const DetId &did, const Collections &inputs, unsigned short *buffer, int &presamples, bool &zsUS, bool &zsMP)
Definition: HcalPacker.cc:54
const HFDigiCollection * hfCont
Definition: HcalPacker.h:18