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  static void pack(int fedid,
16  int dccnumber,
17  int nl1a,
18  int orbitn,
19  int bcn,
21  const CastorElectronicsMap& emap,
23 
24 private:
25  static int findSamples(const DetId& did, const CastorCollections& inputs, unsigned short* buffer, int& presamples);
26 };
27 
28 #endif
static int findSamples(const DetId &did, const CastorCollections &inputs, unsigned short *buffer, int &presamples)
Definition: CastorPacker.cc:27
Definition: DetId.h:17
static void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
Definition: CastorPacker.cc:41