Class Reference for E1039 Core & Analysis Software
SQHitMap Class Reference

An SQ interface class to hold a list of SQHit objects as std::map. More...

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/interface_main/SQHitMap.h>

+ Inheritance diagram for SQHitMap:
+ Collaboration diagram for SQHitMap:

Public Types

typedef std::map< unsigned int, SQHit * > HitMap
 
typedef std::map< unsigned int, SQHit * >::const_iterator ConstIter
 
typedef std::map< unsigned int, SQHit * >::iterator Iter
 

Public Member Functions

virtual ~SQHitMap ()
 
virtual void identify (std::ostream &os=std::cout) const
 
virtual void Reset ()
 Clear Event. More...
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data More...
 
virtual SQHitMapClone () const
 
virtual bool empty () const
 
virtual size_t size () const
 
virtual size_t count (unsigned int idkey) const
 
virtual void clear ()
 
virtual const SQHitget (unsigned int idkey) const
 
virtual SQHitget (unsigned int idkey)
 
virtual SQHitinsert (const SQHit *hit)
 
virtual size_t erase (unsigned int idkey)
 
virtual ConstIter begin () const
 
virtual ConstIter find (unsigned int idkey) const
 
virtual ConstIter end () const
 
virtual Iter begin ()
 
virtual Iter find (unsigned int idkey)
 
virtual Iter end ()
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor More...
 
virtual ~PHObject ()
 dtor More...
 
virtual PHObjectclone () const
 Virtual copy constructor. More...
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
void SplitLevel (const int i)
 
int SplitLevel () const
 
void BufferSize (const int i)
 
int BufferSize () const
 

Protected Member Functions

 SQHitMap ()
 

Detailed Description

An SQ interface class to hold a list of SQHit objects as std::map.

This class is not being used. Instead the standard list of SQHit is SQHitVector. This class could be deleted in future.

Definition at line 23 of file SQHitMap.h.

Member Typedef Documentation

◆ ConstIter

typedef std::map<unsigned int, SQHit*>::const_iterator SQHitMap::ConstIter

Definition at line 28 of file SQHitMap.h.

◆ HitMap

typedef std::map<unsigned int, SQHit*> SQHitMap::HitMap

Definition at line 27 of file SQHitMap.h.

◆ Iter

typedef std::map<unsigned int, SQHit*>::iterator SQHitMap::Iter

Definition at line 29 of file SQHitMap.h.

Constructor & Destructor Documentation

◆ ~SQHitMap()

virtual SQHitMap::~SQHitMap ( )
inlinevirtual

Definition at line 31 of file SQHitMap.h.

◆ SQHitMap()

SQHitMap::SQHitMap ( )
inlineprotected

Definition at line 59 of file SQHitMap.h.

Member Function Documentation

◆ begin() [1/2]

virtual Iter SQHitMap::begin ( )
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 54 of file SQHitMap.h.

◆ begin() [2/2]

virtual ConstIter SQHitMap::begin ( ) const
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 50 of file SQHitMap.h.

◆ clear()

virtual void SQHitMap::clear ( )
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 43 of file SQHitMap.h.

◆ Clone()

virtual SQHitMap* SQHitMap::Clone ( ) const
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 38 of file SQHitMap.h.

References NULL.

◆ count()

virtual size_t SQHitMap::count ( unsigned int  idkey) const
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 42 of file SQHitMap.h.

◆ empty()

virtual bool SQHitMap::empty ( ) const
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 40 of file SQHitMap.h.

◆ end() [1/2]

virtual Iter SQHitMap::end ( )
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 56 of file SQHitMap.h.

◆ end() [2/2]

virtual ConstIter SQHitMap::end ( ) const
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 52 of file SQHitMap.h.

◆ erase()

virtual size_t SQHitMap::erase ( unsigned int  idkey)
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 48 of file SQHitMap.h.

◆ find() [1/2]

virtual Iter SQHitMap::find ( unsigned int  idkey)
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 55 of file SQHitMap.h.

◆ find() [2/2]

virtual ConstIter SQHitMap::find ( unsigned int  idkey) const
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 51 of file SQHitMap.h.

◆ get() [1/2]

virtual SQHit* SQHitMap::get ( unsigned int  idkey)
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 46 of file SQHitMap.h.

References NULL.

◆ get() [2/2]

virtual const SQHit* SQHitMap::get ( unsigned int  idkey) const
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 45 of file SQHitMap.h.

References NULL.

◆ identify()

virtual void SQHitMap::identify ( std::ostream &  os = std::cout) const
inlinevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in SQHitMap_v1.

Definition at line 33 of file SQHitMap.h.

◆ insert()

virtual SQHit* SQHitMap::insert ( const SQHit hit)
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 47 of file SQHitMap.h.

References NULL.

◆ isValid()

virtual int SQHitMap::isValid ( ) const
inlinevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Reimplemented in SQHitMap_v1.

Definition at line 37 of file SQHitMap.h.

◆ Reset()

virtual void SQHitMap::Reset ( )
inlinevirtual

Clear Event.

Reimplemented from PHObject.

Reimplemented in SQHitMap_v1.

Definition at line 36 of file SQHitMap.h.

◆ size()

virtual size_t SQHitMap::size ( void  ) const
inlinevirtual

Reimplemented in SQHitMap_v1.

Definition at line 41 of file SQHitMap.h.


The documentation for this class was generated from the following file: