8 #ifndef _H_SQHitVector_H_
9 #define _H_SQHitVector_H_
37 typedef std::vector<SQHit*>::const_iterator
ConstIter;
38 typedef std::vector<SQHit*>::iterator
Iter;
42 virtual void identify(std::ostream& os = std::cout)
const {
43 os <<
"SQHitVector base class" << std::endl;
50 virtual size_t size()
const = 0;
53 virtual const SQHit*
at(
const size_t idkey)
const = 0;
54 virtual SQHit*
at(
const size_t idkey) = 0;
56 virtual size_t erase(
const size_t idkey) = 0;
An SQ interface class to hold a list of SQHit objects.
virtual SQHitVector * Clone() const =0
virtual size_t erase(const size_t idkey)=0
std::vector< SQHit * > HitVector
virtual void Reset()=0
Clear Event.
virtual Iter erase(Iter pos)=0
virtual int isValid() const =0
isValid returns non zero if object contains vailid data
virtual void identify(std::ostream &os=std::cout) const
std::vector< SQHit * >::const_iterator ConstIter
virtual SQHit * at(const size_t idkey)=0
virtual ConstIter end() const =0
virtual ConstIter begin() const =0
virtual const SQHit * at(const size_t idkey) const =0
virtual void push_back(const SQHit *hit)=0
virtual bool empty() const =0
std::vector< SQHit * >::iterator Iter
virtual size_t size() const =0
An SQ interface class to hold one detector hit.