Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
lardataobj
lardataobj
OpticalDetectorData
OpticalTypes.h
Go to the documentation of this file.
1
// OpticalDetectorData/OpticalTypes.h
2
// William Seligman <seligman@nevis.columbia.edu>
3
4
// Define some common types using by the OpticalDetector classes.
5
6
#ifndef OpticalDetectorData_OpticalTypes_h
7
#define OpticalDetectorData_OpticalTypes_h
8
9
#include <stdint.h>
10
#include <vector>
11
12
namespace
optdata
{
13
14
// Assuming that we're using 12-bit ADCs, define a type that's
15
// guaranteed to hold that full range of bits.
16
typedef
uint16_t
ADC_Count_t
;
17
18
// Other types, in case something changes later on:
19
typedef
unsigned
int
Channel_t
;
20
typedef
unsigned
int
TimeSlice_t
;
21
typedef
unsigned
int
Frame_t
;
22
23
// Use an enum for categories of ADC channels, triggers, etc.
24
typedef
enum
_optical_category_t
{
25
kUndefined
,
26
kHighGain
,
27
kLowGain
,
28
kLogicPulse
,
29
kFEMCosmicHighGain
,
30
kFEMCosmicLowGain
,
31
kFEMCosmicLogicPulse
,
32
kFEMBeamHighGain
,
33
kFEMBeamLowGain
,
34
kFEMBeamLogicPulse
,
35
kBeamPMTTrigger
,
36
kCosmicPMTTrigger
,
37
}
Optical_Category_t
;
38
39
}
// namespace optdata
40
41
#endif // OpticalDetectorData_OpticalTypes_h
optdata::kCosmicPMTTrigger
Definition:
OpticalTypes.h:36
optdata::Optical_Category_t
enum optdata::_optical_category_t Optical_Category_t
optdata::kHighGain
Definition:
OpticalTypes.h:26
optdata::kLowGain
Definition:
OpticalTypes.h:27
optdata::kUndefined
Definition:
OpticalTypes.h:25
optdata::kFEMBeamLowGain
Definition:
OpticalTypes.h:33
optdata::ADC_Count_t
uint16_t ADC_Count_t
Definition:
OpticalTypes.h:16
optdata::kFEMCosmicLogicPulse
Definition:
OpticalTypes.h:31
optdata::kLogicPulse
Definition:
OpticalTypes.h:28
optdata::kFEMCosmicHighGain
Definition:
OpticalTypes.h:29
optdata::kBeamPMTTrigger
Definition:
OpticalTypes.h:35
optdata::kFEMBeamHighGain
Definition:
OpticalTypes.h:32
optdata::_optical_category_t
_optical_category_t
Definition:
OpticalTypes.h:24
optdata::kFEMCosmicLowGain
Definition:
OpticalTypes.h:30
optdata::TimeSlice_t
unsigned int TimeSlice_t
Definition:
OpticalTypes.h:20
optdata::Frame_t
unsigned int Frame_t
Definition:
OpticalTypes.h:21
optdata::kFEMBeamLogicPulse
Definition:
OpticalTypes.h:34
optdata::Channel_t
unsigned int Channel_t
Definition:
OpticalTypes.h:19
optdata
Definition:
ChannelData.h:17
Generated by
1.8.11