1 #ifndef __ONCSSUB_IDTPCFEEV2_H__
2 #define __ONCSSUB_IDTPCFEEV2_H__
20 int iValue(
const int fee,
const int ch,
const int sample);
21 int iValue(
const int fee,
const int ch,
const int sample,
const char *what);
22 int iValue(
const int ch,
const int sample);
23 int iValue(
const int ,
const int,
const char * what);
24 int iValue(
const int ,
const char * what);
32 static const int MAX_FEECOUNT=8;
33 static const int MAX_FEECHANNELS=256;
36 unsigned short reverseBits(
const unsigned short x)
const;
37 unsigned short crc16(
const unsigned int fee,
const unsigned int index,
const int l)
const;
51 unsigned int _max_samples[MAX_FEECOUNT];
52 unsigned int _lowest_bx[MAX_FEECOUNT];
53 unsigned int _highest_bx[MAX_FEECOUNT];
55 std::vector<unsigned short> fee_data[MAX_FEECOUNT];
58 std::vector<tpc_sample> fee_samples[MAX_FEECOUNT][MAX_FEECHANNELS];