Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
Decoder.h
Go to the documentation of this file.
1#ifndef Podd_Decoder_h_
2#define Podd_Decoder_h_
3
4#include "Rtypes.h"
5
6namespace Decoder {
7 class Module; // abstract module
8 class VmeModule; // abstract VME module
9 class PipeliningModule; // pipelining module
10 class FastbusModule; // abstract Fastbus module
11 class GenScaler; // abstract general scaler
12 class THaSlotData; // modified to use modules
13 class THaEpics;
14 class EpicsChan;
15 class THaCrateMap;
16 class THaUsrstrutils;
17 class THaCodaData;
18 class THaCodaFile;
19 class THaEtClient;
20 class CodaDecoder;
21 class Lecroy1875Module;
22 class Lecroy1877Module;
23 class Lecroy1881Module;
24 class Scaler560;
25 class Scaler1151;
26 class Scaler3800;
27 class Scaler3801;
28 class Fadc250Module;
29 class F1TDCModule;
30 class Caen775Module;
31 class Caen1190Module;
32
33 static const UInt_t MAXROC = 32;
34 static const Int_t MAXBANK = (1<<16)-1; // bank numbers are uint16_t
35 static const UInt_t MAXSLOT = 32;
36 static const UInt_t MAXSLOT_FB = 26;
37
38 static const UInt_t MAX_PHYS_EVTYPE = 14; // Types up to this are physics
39 static const UInt_t SYNC_EVTYPE = 16;
40 static const UInt_t PRESTART_EVTYPE = 17;
41 static const UInt_t GO_EVTYPE = 18;
42 static const UInt_t PAUSE_EVTYPE = 19;
43 static const UInt_t END_EVTYPE = 20;
44 static const UInt_t TS_PRESCALE_EVTYPE = 120;
45 // should be able to load special event types from crate map
46 static const UInt_t EPICS_EVTYPE = 131; // default in Hall A
47 static const UInt_t PRESCALE_EVTYPE = 133;
48 static const UInt_t DETMAP_FILE = 135;
49 static const UInt_t DAQCONFIG_FILE1 = 137;
50 static const UInt_t DAQCONFIG_FILE2 = 138;
51 static const UInt_t TRIGGER_FILE = 136;
52 static const UInt_t SCALER_EVTYPE = 140;
53 static const UInt_t SBSSCALER_EVTYPE = 141;
54 static const UInt_t HV_DATA_EVTYPE = 150;
55
56 // Access processed data for multi-function modules
59
60
63}
64
65
66
67#endif
int Int_t
unsigned int UInt_t
EModuleType
Definition Decoder.h:57
@ kPulseTime
Definition Decoder.h:57
@ kPulsePedestal
Definition Decoder.h:58
@ kCoarseTime
Definition Decoder.h:58
@ kFineTime
Definition Decoder.h:58
@ kSampleADC
Definition Decoder.h:57
@ kPulsePeak
Definition Decoder.h:58
@ kPulseIntegral
Definition Decoder.h:57
static const UInt_t TRIGGER_FILE
Definition Decoder.h:51
static const UInt_t MAXSLOT_FB
Definition Decoder.h:36
static const UInt_t PAUSE_EVTYPE
Definition Decoder.h:42
static const UInt_t PRESTART_EVTYPE
Definition Decoder.h:40
static const UInt_t DETMAP_FILE
Definition Decoder.h:48
static const UInt_t DAQCONFIG_FILE1
Definition Decoder.h:49
static const UInt_t END_EVTYPE
Definition Decoder.h:43
static const UInt_t SBSSCALER_EVTYPE
Definition Decoder.h:53
static const UInt_t HV_DATA_EVTYPE
Definition Decoder.h:54
static const UInt_t DAQCONFIG_FILE2
Definition Decoder.h:50
static const Int_t MAXBANK
Definition Decoder.h:34
static const UInt_t PRESCALE_EVTYPE
Definition Decoder.h:47
static const UInt_t GO_EVTYPE
Definition Decoder.h:41
static const UInt_t MAXSLOT
Definition Decoder.h:35
ChannelType
Definition Decoder.h:61
static const UInt_t SCALER_EVTYPE
Definition Decoder.h:52
static const UInt_t EPICS_EVTYPE
Definition Decoder.h:46
static const UInt_t MAX_PHYS_EVTYPE
Definition Decoder.h:38
static const UInt_t TS_PRESCALE_EVTYPE
Definition Decoder.h:44
static const UInt_t SYNC_EVTYPE
Definition Decoder.h:39
static const UInt_t MAXROC
Definition Decoder.h:33