19 #include "StDAQReader.h"
20 #include "StEEMCReader.h"
21 #include "StDaqLib/EEMC/EEMC_Reader.hh"
28 delete fEEMCImpReader;
29 fEEMCImpReader = ::getEEMCReader(daqr->getEventReader());
33 StEEMCReader::~StEEMCReader() {
36 int StEEMCReader::close() {
42 int StEEMCReader::Update() {
43 delete fEEMCImpReader;
44 fEEMCImpReader = ::getEEMCReader(fDAQReader->getEventReader());
46 cout<<
" EEMC Updated**"<<endl;
51 u_short *StEEMCReader::getEemcHeadBlock(
int fiber,
char type) {
57 u_short *StEEMCReader::getEemcDataBlock(
int fiber,
char type) {
58 if(fEEMCImpReader)
return fEEMCImpReader->getEemcDataBlock(fiber,type);
63 u_short StEEMCReader::getEemcHead(
int fiber,
int channel,
char type) {
64 if(fEEMCImpReader)
return fEEMCImpReader->getEemcHead(fiber,channel,type);
68 u_short StEEMCReader::getEemcData(
int fiber,
int channel,
char type) {
69 if(fEEMCImpReader)
return fEEMCImpReader->getEemcData(fiber,channel,type);
73 int StEEMCReader::isEemcBankIn(
char type) {
74 if(fEEMCImpReader)
return fEEMCImpReader->isEemcBankIn( type);
u_short * getEemcHeadBlock(int fiber, char type)
EEMC_Reader destructor.