19 #include "StDAQReader.h"
20 #include "StSSDReader.h"
21 #include "StDaqLib/SSD/SSD_Reader.hh"
24 int StSSDReader::getSsdData(
int ladder,
char eastWest,
int channel,
int&
data,
int& pedestal,
int& noise) {
26 if(!fSSDImpReader)
return -1;
27 if(ladder<1||ladder>20)
return -2;
28 if(eastWest!=
'E'&&eastWest!=
'W')
return -3;
29 rv = fSSDImpReader->ssdData(ladder,eastWest,channel,data,pedestal,noise);
36 fSSDImpReader = ::getSSDReader(daqr->getEventReader());
38 StSSDReader::~StSSDReader() {
40 int StSSDReader::close() {
44 int StSSDReader::Update() {
46 fSSDImpReader = ::getSSDReader(fDAQReader->getEventReader());
48 cout<<
" SSD Updated**"<<endl;