StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EEMC_Reader.hh
1 
8 #ifndef EEMC_READER_HH
9 #define EEMC_READER_HH
10 #include "StDaqLib/GENERIC/EventReader.hh"
11 #include "StDaqLib/GENERIC/RecHeaderFormats.hh"
12 #include "StDaqLib/GENERIC/swaps.hh"
13 
14 
15 struct Bank_EEMCP: public Bank
16 {
17  struct Pointer EEMCSecPointer[6] ;
18 };
19 
20 
22 {
23 
24 public:
25 
26  EEMC_Reader(EventReader *er, Bank_EEMCP *pEEMCP);
27  ~EEMC_Reader() {};
28 
29  u_short *getEemcHeadBlock(int fiber,char type);
30  u_short *getEemcDataBlock(int fiber,char type);
31 
32  u_short getEemcHead(int fiber,int channel,char type);
33  u_short getEemcData(int fiber,int channel,char type);
34 
35  int isEemcBankIn( char type) ;
36 
37 protected:
38 
39  // copy of EventReader pointer
40  EventReader *ercpy;
41  Bank_EEMCP *pBankEEMCP;
42 };
43 
44 EEMC_Reader *getEEMCReader(EventReader *er);
45 
46 
47 #endif
48 
49 /**************************************************************************
50  *
51  *
52  **************************************************************************/
EEMC_Reader(EventReader *er, Bank_EEMCP *pEEMCP)
EEMC_Reader constructor.
u_short * getEemcHeadBlock(int fiber, char type)
EEMC_Reader destructor.
Definition: EEMC_Reader.cxx:20