StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StDaqLib
EEMC
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
21
class
EEMC_Reader
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
**************************************************************************/
EventReader
Definition:
EventReader.hh:448
EEMC_Reader
Definition:
EEMC_Reader.hh:21
Pointer
Definition:
RecHeaderFormats.hh:150
Bank
Definition:
RecHeaderFormats.hh:139
EEMC_Reader::EEMC_Reader
EEMC_Reader(EventReader *er, Bank_EEMCP *pEEMCP)
EEMC_Reader constructor.
Definition:
EEMC_Reader.cxx:101
EEMC_Reader::getEemcHeadBlock
u_short * getEemcHeadBlock(int fiber, char type)
EEMC_Reader destructor.
Definition:
EEMC_Reader.cxx:20
Bank_EEMCP
Definition:
EEMC_Reader.hh:15
Generated by
1.8.5