CMS 3D CMS Logo

CastorPacker.h
Go to the documentation of this file.
1 #ifndef EVENTFILTER_CASTORRAWTODIGI_CASTORPACKER_H
2 #define EVENTFILTER_CASTORRAWTODIGI_CASTORPACKER_H 1
3 
8 
13 class CastorPacker {
14 public:
15 
16  static void pack(int fedid, int dccnumber,
17  int nl1a, int orbitn, int bcn,
18  const CastorCollections& inputs,
19  const CastorElectronicsMap& emap,
21 private:
22  static int findSamples(const DetId& did, const CastorCollections& inputs,
23  unsigned short* buffer, int &presamples);
24 };
25 
26 #endif
static int findSamples(const DetId &did, const CastorCollections &inputs, unsigned short *buffer, int &presamples)
Definition: CastorPacker.cc:26
Definition: DetId.h:18
static void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
Definition: CastorPacker.cc:38