24 #include "StSvtHybridDaqPed.hh"
25 #include "StDAQMaker/StSVTReader.h"
36 int StSvtHybridDaqPed::setHybridPed(
StSVTReader* reader)
38 int anode, time, nAnodes = 240, n, status=0;
42 for (anode=1;anode<=nAnodes;anode++) {
44 status = reader->getPedestals(mBarrel, mLadder, mWafer, mHybrid, anode, n, array);
46 if (status != 1)
return status;
48 for (time=0;time<n;time++) {
51 addToPixel(anode, time, ped);
58 int StSvtHybridDaqPed::setHybridRMSPed(
StSVTReader* reader)
60 int anode, time, nAnodes = 240, n, status=0;
64 for (anode=1;anode<=nAnodes;anode++) {
66 status = reader->getRMSPedestals(mBarrel, mLadder, mWafer, mHybrid, anode, n, array);
68 if (status != 1)
return status;
70 for (time=0;time<n;time++) {
73 addToPixel(anode, time, ped);