Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaGenDetTest.h
Go to the documentation of this file.
1#ifndef Podd_THaGenDetTest_h_
2#define Podd_THaGenDetTest_h_
3
5//
6// THaGenDetTest
7// General Detector Test of Decoder
8//
9// THaGenDetTest is an illustrative example of how to use
10// the Hall A C++ data I/O and decoder classes for
11// a detector class one might develop.
12// This is also used to measure the baseline speed
13// of I/O and decoder.
14// This is a "throw away" test code.
15//
16// author Robert Michaels (rom@jlab.org)
17//
19
20#include "TString.h"
21
22class THaEvData;
23
25{
26
27 public:
28
30// Called at initialization phase of code
31 void init();
32// Processing of event data
33 void process_event(THaEvData *evdata);
34
35 private:
36 static const unsigned MAX = 100;
37 unsigned mycrates[MAX];
38 unsigned myslots[MAX];
39 unsigned chanlo[MAX],chanhi[MAX];
41
42};
43
44#endif
static const unsigned MAX
unsigned mycrates[MAX]
void process_event(THaEvData *evdata)
unsigned myslots[MAX]
TString mydevice[MAX]
unsigned chanlo[MAX]
unsigned chanhi[MAX]