31 #ifndef StL3AlgorithmInfo_hh
32 #define StL3AlgorithmInfo_hh
51 int numberOfProcessedEvents()
const;
52 int numberOfAcceptedEvents()
const;
53 int numberOfBuildEvents()
const;
55 float data(
int index)
const;
57 int postScale()
const;
58 int intParameterSize()
const;
59 int intParameter(
int)
const;
60 int floatParameterSize()
const;
61 float floatParameter(
int)
const;
63 void setCounters(
int,
int,
int);
64 void setParameters(
int*,
float*);
65 void setPreScale(
int);
66 void setPostScale(
int);
75 Int_t mNumberOfProcessedEvents;
76 Int_t mNumberOfAcceptedEvents;
77 Int_t mNumberOfBuildEvents;
82 UShort_t mIntParameterSize;
83 TArrayI mIntParameterArray;
84 UShort_t mFloatParameterSize;
85 TArrayF mFloatParameterArray;
91 StL3AlgorithmInfo::id()
const {
return mId; }
94 StL3AlgorithmInfo::on()
const {
return mOn; }
97 StL3AlgorithmInfo::accept()
const {
return mAccept; }
100 StL3AlgorithmInfo::build()
const {
return mBuild; }
103 StL3AlgorithmInfo::numberOfProcessedEvents()
const {
return mNumberOfProcessedEvents; }
106 StL3AlgorithmInfo::numberOfAcceptedEvents()
const {
return mNumberOfAcceptedEvents; }
109 StL3AlgorithmInfo::numberOfBuildEvents()
const {
return mNumberOfBuildEvents; }
112 StL3AlgorithmInfo::dataSize()
const {
return mDataSize; }
115 StL3AlgorithmInfo::data(
int i)
const
117 return i < mDataSize ? const_cast<TArrayF&>(mDataArray)[i] : 0;
121 StL3AlgorithmInfo::preScale()
const {
return mPreScale; }
124 StL3AlgorithmInfo::postScale()
const {
return mPostScale; }
127 StL3AlgorithmInfo::intParameterSize()
const {
return mIntParameterSize; }
130 StL3AlgorithmInfo::intParameter(
int i)
const
132 return i < mIntParameterSize ? const_cast<TArrayI&>(mIntParameterArray)[i] : 0;
136 StL3AlgorithmInfo::floatParameterSize()
const {
return mFloatParameterSize; }
139 StL3AlgorithmInfo::floatParameter(
int i)
const
141 return i < mFloatParameterSize ? const_cast<TArrayF&>(mFloatParameterArray)[i] :0;