22 #include "StBTofCollection.h"
23 #include "StBTofHit.h"
24 #include "StMuBTofUtil.h"
25 #include "StMuBTofHitCollection.h"
32 StMuBTofUtil::~StMuBTofUtil()
37 if(!tofcol)
return NULL;
39 fillMuBTofHit(muTofHit, tofcol);
45 if( !tofcol || (!tofcol->rawHitsPresent()) )
return;
48 if( tofcol->hitsPresent() ) {
49 StSPtrVecBTofHit &tofHits = tofcol->tofHits();
51 for(
size_t i=0; i < tofHits.size(); i++) {
55 muTofHit->push_back(tofMuHit);