1 #include "StMuMtdCollection.h"
2 #include "StMuMtdRawHit.h"
3 #include "StMuMtdHit.h"
4 #include "StMuMtdHeader.h"
6 #include "StEvent/StEvent.h"
7 #include "StEvent/StMtdCollection.h"
8 #include "StEvent/StMtdHeader.h"
9 #include "StEvent/StMtdHit.h"
10 #include "StEvent/StMtdRawHit.h"
15 StMuMtdCollection::~StMuMtdCollection() {;}
25 const StSPtrVecMtdHit& VecHit = mtdp->mtdHits();
26 for(uint32_t i=0; i< VecHit.size(); i++){
32 const StSPtrVecMtdRawHit& VecRawHit = mtdp->mtdRawHits();
33 for(uint32_t i=0; i< VecRawHit.size(); i++){
40 StMuMtdHeader* StMuMtdCollection::mtdHeader() {
return &mMtdHeader[0]; }
41 const StMuMtdHeader* StMuMtdCollection::mtdHeader()
const {
return &mMtdHeader[0]; }
43 int StMuMtdCollection::hitsPresent() {
return mMtdHits.size(); }
44 int StMuMtdCollection::rawHitsPresent() {
return mMtdRawHits.size(); }
46 StMuMtdRawHit* StMuMtdCollection::RawMtdHit(
int i) {
return &mMtdRawHits[i]; }
47 StMuMtdHit* StMuMtdCollection::MtdHit(
int i) {
return &mMtdHits[i]; }