52 #if !defined ST_NO_NAMESPACES
57 #include "StDaqLib/GENERIC/EventReader.hh"
58 #include "StDaqLib/GENERIC/RecHeaderFormats.hh"
59 #include "StDaqLib/GENERIC/swaps.hh"
60 #include "StDaqLib/GENERIC/Error.hh"
61 #include "L3_Banks.hh"
80 #define L3ERROR(x, text) {errnum = x; sprintf(errstr0,"ERROR: " text " %s::%d",__FILE__,__LINE__); }
81 #define L3secERROR(x, text, s) {errnum = x; sprintf(errstr0,"ERROR: " text " in sector %d, %s::%d",s,__FILE__,__LINE__); }
82 #define pL3secERROR(x, text, s) {mL3->errnum = x; sprintf(mL3->errstr0,"ERROR: " text " in sector %d, %s::%d",s,__FILE__,__LINE__); }
84 #define maxClusterPerSector 100000
98 int getNumberofAlgorithms() {
return mNAlg; }
99 unsigned int getNumberOfProcessedEvents() {
return mNProcessed; }
100 unsigned int getNumberOfReconstructedEvents() {
return mNReconstructed; }
106 unsigned int mNProcessed;
107 unsigned int mNReconstructed;
124 int getNumberOfTracks() {
return mNTracks; }
125 int getNumberOfHits() {
return mNHits; }
126 vertex getVertex() {
return mGlobalVertex; }
152 L3_Cluster *getClusterList() {
return mCluster; }
153 int getNumberOfClusters() {
return mNCluster; }
155 int initialize(
int sector);
177 localTrack *getLocalTrackList() {
return mTracks; }
178 int getNumberOfTracks() {
return mNTracks; }
179 int getNumberOfHits() {
return mNHits; }
180 int getCpuTime() {
return mCpuTime; }
181 int getRealTime() {
return mRealTime; }
182 int getParameterSetId() {
return mParaSet; }
183 vertex getVertex() {
return mSectorVertex; }
185 int initialize(
int sector);
214 L3_Cluster *getClusterList() {
return mCluster; }
215 int getNumberOfClusters() {
return mNCluster; }
217 int initialize(
int sector);
244 Bank_L3_P *getL3_P() {
return mBankL3P; }
253 int *getSVT_Bank(
int sector);
254 int *getFTPC_Bank(
int sector);
263 unsigned char getL3PFormatNumber() {
return mBankL3P->header.FormatNumber; }
264 unsigned int getTime() {
return mTime; }
265 unsigned int getGl3Id() {
return mGl3Id; }
266 L3_Summary *getL3_Summary() {
return mL3sum; }
268 int errorNo() {
return errnum; };
269 string errstr() {
return string(errstr0); };