2 #include "eudaq/DataConverterPlugin.hh"
3 #include "eudaq/StandardEvent.hh"
4 #include "eudaq/PluginManager.hh"
14 #include "IMPL/LCEventImpl.h"
15 #include "IMPL/TrackerRawDataImpl.h"
16 #include "IMPL/TrackerDataImpl.h"
17 #include "IMPL/LCCollectionVec.h"
18 #include "UTIL/CellIDEncoder.h"
23 #include "EUTELESCOPE.h"
24 #include "EUTelRunHeaderImpl.h"
26 #include "EUTelSetupDescription.h"
27 #include "EUTelEventImpl.h"
28 #include "EUTelTrackerDataInterfacerImpl.h"
29 #include "EUTelGenericSparsePixel.h"
30 using eutelescope::EUTELESCOPE;
35 static const char *EVENT_TYPE =
"MIMOSA32Raw";
36 static const int kRowPerChip = 64;
37 static const int kColPerChip = 16;
56 inline void pack(std::vector<unsigned char> &dst, T &data) {
58 static_cast<unsigned char *
>(
static_cast<void *
>(&data));
59 dst.insert(dst.end(), src, src +
sizeof(T));
63 inline void unpack(std::vector<unsigned char> &src,
int index, T &data) {
64 std::copy(&src[index], &src[index +
sizeof(T)], &data);
67 bool ReadFrame(
short data[][kColPerChip]);
73 std::vector<unsigned char> fData;
74 unsigned int fDataChar1;
75 unsigned int fDataChar2;
76 unsigned int fDataChar3;
77 unsigned int fDataChar4;
79 short fDataFrame[kRowPerChip][kColPerChip];
80 short fDataFrame2[kRowPerChip][kColPerChip];
83 unsigned m_exampleparam;
Definition: StandardEvent.hh:128
DataConverterPlugin(std::string subtype)
Definition: DataConverterPlugin.cc:33
Definition: DataConverterPlugin.hh:132
Definition: MimosaConverterPlugin.hh:42