55 #ifndef StTofCollection_hh
56 #define StTofCollection_hh
59 #include "StContainers.h"
62 #include "StTofCell.h"
63 #include "StTofSlat.h"
64 #include "StTofData.h"
65 #include "StTofRawData.h"
72 unsigned int numberOfVpdEast()
const;
73 unsigned int numberOfVpdWest()
const;
74 unsigned int vpdEast()
const;
75 unsigned int vpdWest()
const;
80 void setVpdEast(
unsigned int);
81 void setVpdWest(
unsigned int);
82 void setTstart(
float);
86 const StSPtrVecTofCell& tofCells()
const;
87 StSPtrVecTofCell& tofCells();
89 const StSPtrVecTofSlat& tofSlats()
const;
90 StSPtrVecTofSlat& tofSlats();
92 const StSPtrVecTofHit& tofHits()
const;
93 StSPtrVecTofHit& tofHits();
95 const StSPtrVecTofData& tofData()
const;
96 StSPtrVecTofData& tofData();
98 const StSPtrVecTofRawData& tofRawData()
const;
99 StSPtrVecTofRawData& tofRawData();
107 bool cellsPresent()
const;
108 bool slatsPresent()
const;
109 bool hitsPresent()
const;
110 bool dataPresent()
const;
111 bool rawdataPresent()
const;
120 StSPtrVecTofSlat mTofSlats;
121 StSPtrVecTofCell mTofCells;
122 StSPtrVecTofHit mTofHits;
123 StSPtrVecTofData mTofData;
124 StSPtrVecTofRawData mTofRawData;
129 inline unsigned int StTofCollection::vpdEast()
const {
return mVpdEast; }
131 inline unsigned int StTofCollection::vpdWest()
const {
return mVpdWest; }
133 inline void StTofCollection::setVpdEast(
unsigned int i) { mVpdEast = i; }
135 inline void StTofCollection::setVpdWest(
unsigned int i) { mVpdWest = i; }
137 inline float StTofCollection::tstart()
const {
return mTstart; }
139 inline float StTofCollection::tdiff()
const {
return mTdiff; }
141 inline float StTofCollection::vzVpd()
const {
return mVzVpd; }
143 inline void StTofCollection::setTstart(
float t) { mTstart = t; }
145 inline void StTofCollection::setTdiff(
float t) { mTdiff = t;}
147 inline void StTofCollection::setVzVpd(
float vz) { mVzVpd = vz; }