8 #ifndef _H_SQHitVector_v1_H_
9 #define _H_SQHitVector_v1_H_
27 void identify(std::ostream& os = std::cout)
const;
32 bool empty()
const {
return _vector.empty();}
33 size_t size()
const {
return _vector.size();}
36 const SQHit*
at(
const size_t idkey)
const;
39 size_t erase(
const size_t idkey) {
40 delete _vector[idkey];
41 _vector.erase(_vector.begin() + idkey);
42 return _vector.size();
SQHitVector_v1 & operator=(const SQHitVector_v1 &hitmap)
int isValid() const
isValid returns non zero if object contains vailid data
const SQHit * at(const size_t idkey) const
void push_back(const SQHit *hit)
SQHitVector * Clone() const
virtual ~SQHitVector_v1()
size_t erase(const size_t idkey)
void identify(std::ostream &os=std::cout) const
An SQ interface class to hold a list of SQHit objects.
std::vector< SQHit * > HitVector
std::vector< SQHit * >::const_iterator ConstIter
std::vector< SQHit * >::iterator Iter
An SQ interface class to hold one detector hit.