25 #include "StL3AlgorithmInfo.h"
26 #include "StDaqLib/L3/L3_Banks.hh"
28 static const char rcsid[] =
"$Id: StL3AlgorithmInfo.cxx,v 2.3 2003/05/23 20:40:44 ullrich Exp $";
40 mNumberOfProcessedEvents = 0;
41 mNumberOfAcceptedEvents = 0;
42 mNumberOfBuildEvents = 0;
50 mAccept = raw->accept;
52 mNumberOfProcessedEvents = raw->nProcessed;
53 mNumberOfAcceptedEvents = raw->nAccept;
54 mNumberOfBuildEvents = raw->nBuild;
55 mDataArray.Set(mDataSize, (Float_t* )raw->data);
59 StL3AlgorithmInfo::~StL3AlgorithmInfo()
64 void StL3AlgorithmInfo::initArrays()
67 mIntParameterSize = 5;
68 mFloatParameterSize = 5;
70 mDataArray.Set(mDataSize);
71 mIntParameterArray.Set(mIntParameterSize);
72 mFloatParameterArray.Set(mFloatParameterSize);
76 void StL3AlgorithmInfo::setCounters(
int nProcessed,
int nAccepted,
int nBuild)
78 mNumberOfProcessedEvents = nProcessed;
79 mNumberOfAcceptedEvents = nAccepted;
80 mNumberOfBuildEvents = nBuild;
84 void StL3AlgorithmInfo::setParameters(
int* gi,
float* gf)
86 mIntParameterArray.Set(mIntParameterSize, (Int_t* )gi);
87 mFloatParameterArray.Set(mFloatParameterSize, (Float_t* )gf);
91 void StL3AlgorithmInfo::setPreScale(
int pre)
97 void StL3AlgorithmInfo::setPostScale(
int post)