65 for (QwHitContainer::iterator hit = hitlist->begin(); hit != hitlist->end(); hit++)
77 QwHitContainer::iterator hititerator;
78 for (hititerator = hitcontainer.begin(); hititerator != hitcontainer.end(); hititerator++)
90 TIterator* iterator =
fQwHits->MakeIterator();
92 while ((hit = dynamic_cast<QwHit*>(iterator->Next())))
93 hitlist->push_back(*hit);
100 TIterator* iterator =
fQwHits->MakeIterator();
102 while ((hit = dynamic_cast<QwHit*>(iterator->Next())))
103 std::cout << *hit << std::endl;
QwHit * GetHit(Int_t hitID) const
virtual ~QwHitRootContainer()
void Clear(Option_t *option="")
void Print(Option_t *option="") const
static TClonesArray * gQwHits
void Build(QwHitContainer &hitcontainer)
void Delete(Option_t *option="")
void Reset(Option_t *option="")
Int_t fNQwHits
Number of QwHits in the array.
QwHitContainer * Convert() const
QwHitRootContainer()
///< Static array of QwHits
TClonesArray * fQwHits
Array of QwHits.
Hit structure uniquely defining each hit.