test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  void pack(int fedid, int dccnumber,
17  int nl1a, int orbitn, int bcn,
18  const CastorCollections& inputs,
19  const CastorElectronicsMap& emap,
21 private:
22  int findSamples(const DetId& did, const CastorCollections& inputs,
23  unsigned short* buffer, int &presamples);
24 };
25 
26 #endif
int findSamples(const DetId &did, const CastorCollections &inputs, unsigned short *buffer, int &presamples)
Definition: CastorPacker.cc:24
Definition: DetId.h:18
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
Definition: CastorPacker.cc:36