otsdaq
v1_01_02
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
src
otsdaq-core
DataDecoders
PSI46DigData.h
1
#ifndef _ots_PSI46DigData_h
2
#define _ots_PSI46DigData_h
3
4
#include "otsdaq-core/DataDecoders/DetectorDataBase.h"
5
#include <string>
6
#include <stdint.h>
7
8
namespace
ots
9
{
10
11
class
PSI46DigData
12
{
13
public
:
14
PSI46DigData
(
void
);
15
virtual
~
PSI46DigData
(
void
);
16
17
bool
isPSI46Dig(uint32_t data);
18
PSI46DigData
& decode(uint32_t data);
19
20
//Getters
21
unsigned
int
getStibId (
void
);
22
unsigned
int
getChannelNumber(
void
);
23
unsigned
int
getChipId (
void
);
24
unsigned
int
getStripNumber (
void
);
25
unsigned
int
getBco (
void
);
26
unsigned
int
getAdc (
void
);
27
unsigned
int
getSensorStrip (
void
);
28
29
protected
:
30
unsigned
char
stibId_;
31
unsigned
char
channelNumber_;
32
unsigned
char
chipId_;
33
unsigned
char
stripNumber_;
34
unsigned
char
bco_;
35
unsigned
char
adc_;
36
unsigned
char
set_;
37
};
38
39
}
40
41
#endif
ots::PSI46DigData
Definition:
PSI46DigData.h:11
Generated on Mon Aug 7 2017 14:41:32 for otsdaq by
1.8.5