StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEMCReader.h
1 /***************************************************************************
2  *
3  *
4  *
5  * Author: Herbert Ward
6  ***************************************************************************
7  *
8  * Description: Offline Wrapper for DAQ EEMC reader functions
9  *
10  ***************************************************************************
11  *
12  *
13  *
14  **************************************************************************/
15 #ifndef _StEEMCReader_
16 #define _StEEMCReader_
17 #ifdef __APPLE__
18 #include <sys/types.h>
19 #endif
20 
21 
22 class EEMC_Reader;
23 class StDAQReader;
24 
26 {
27  public:
28 
30 
31  u_short *getEemcHeadBlock(int fiber, char type);
32  u_short *getEemcDataBlock(int fiber, char type);
33 
34  u_short getEemcHead(int fiber, int channel, char type);
35  u_short getEemcData(int fiber, int channel, char type);
36  int isEemcBankIn( char type) ;
37 
38  virtual ~StEEMCReader();
39  virtual int close();
40  virtual int Update();
41 
42  protected:
43  EEMC_Reader *fEEMCImpReader;
44  StDAQReader* fDAQReader;
45 };
46 
47 #endif
void rd(int hits=0, bool clear=false)
This function redraws all hits and/or tracks from the current event.
Definition: Ed.C:69