27 typedef std::map<unsigned int, SQHit*>
HitMap;
28 typedef std::map<unsigned int, SQHit*>::const_iterator
ConstIter;
29 typedef std::map<unsigned int, SQHit*>::iterator
Iter;
33 virtual void identify(std::ostream& os = std::cout)
const {
34 os <<
"SQHitMap base class" << std::endl;
40 virtual bool empty()
const {
return true;}
41 virtual size_t size()
const {
return 0;}
42 virtual size_t count(
unsigned int idkey)
const {
return 0;}
48 virtual size_t erase(
unsigned int idkey) {
return 0;}
An SQ interface class to hold a list of SQHit objects as std::map.
std::map< unsigned int, SQHit * >::iterator Iter
virtual size_t count(unsigned int idkey) const
std::map< unsigned int, SQHit * >::const_iterator ConstIter
virtual SQHit * insert(const SQHit *hit)
virtual size_t size() const
virtual void identify(std::ostream &os=std::cout) const
virtual size_t erase(unsigned int idkey)
virtual const SQHit * get(unsigned int idkey) const
virtual void Reset()
Clear Event.
virtual ConstIter end() const
virtual Iter find(unsigned int idkey)
virtual int isValid() const
isValid returns non zero if object contains vailid data
virtual ConstIter begin() const
std::map< unsigned int, SQHit * > HitMap
virtual SQHit * get(unsigned int idkey)
virtual ConstIter find(unsigned int idkey) const
virtual bool empty() const
virtual SQHitMap * Clone() const
An SQ interface class to hold one detector hit.