|
Class Reference for E1039 Core & Analysis Software
|
An SQ interface class to hold a list of SQSpill objects. More...
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/interface_main/SQSpillMap.h>
Inheritance diagram for SQSpillMap:
Collaboration diagram for SQSpillMap:Public Types | |
| typedef std::map< unsigned int, SQSpill * > | SpillMap |
| typedef std::map< unsigned int, SQSpill * >::const_iterator | ConstIter |
| typedef std::map< unsigned int, SQSpill * >::iterator | Iter |
Public Member Functions | |
| virtual | ~SQSpillMap () |
| 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 SQSpillMap * | Clone () const |
| virtual bool | empty () const |
| Return 'true' if this object holds no spill. More... | |
| virtual size_t | size () const |
| Return the number of spills held. More... | |
| virtual size_t | count (unsigned int idkey) const |
| Return the number of spills having spill ID = 'idkey'. Must be '0' or '1'. More... | |
| virtual void | clear () |
| Clear the list. More... | |
| virtual const SQSpill * | get (unsigned int idkey) const |
| Return the SQSpill entry having spill ID = 'idkey'. Return '0' if no entry exists. More... | |
| virtual SQSpill * | get (unsigned int idkey) |
| Return the SQSpill entry having spill ID = 'idkey'. Return '0' if no entry exists. More... | |
| virtual SQSpill * | insert (const SQSpill *hit) |
| Insert the given SQSpill object. More... | |
| virtual size_t | erase (unsigned int idkey) |
| Erase the SQSpill entry having spill ID = 'idkey'. More... | |
| virtual ConstIter | begin () const |
| Return the const begin iterator. More... | |
| virtual ConstIter | find (unsigned int idkey) const |
| Return the const iterator of the SQSpill entry having spill ID = 'idkey'. More... | |
| virtual ConstIter | end () const |
| Return the const end iterator. More... | |
| virtual Iter | begin () |
| Return the begin iterator. More... | |
| virtual Iter | find (unsigned int idkey) |
| Return the iterator of the SQSpill entry having spill ID = 'idkey'. More... | |
| virtual Iter | end () |
| Return the end iterator. More... | |
Public Member Functions inherited from PHObject | |
| PHObject () | |
| ctor More... | |
| virtual | ~PHObject () |
| dtor More... | |
| virtual PHObject * | clone () 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 | |
| SQSpillMap () | |
An SQ interface class to hold a list of SQSpill objects.
Definition at line 19 of file SQSpillMap.h.
| typedef std::map<unsigned int, SQSpill*>::const_iterator SQSpillMap::ConstIter |
Definition at line 24 of file SQSpillMap.h.
| typedef std::map<unsigned int, SQSpill*>::iterator SQSpillMap::Iter |
Definition at line 25 of file SQSpillMap.h.
| typedef std::map<unsigned int, SQSpill*> SQSpillMap::SpillMap |
Definition at line 23 of file SQSpillMap.h.
|
inlinevirtual |
Definition at line 27 of file SQSpillMap.h.
|
inlineprotected |
Definition at line 55 of file SQSpillMap.h.
|
inlinevirtual |
Return the begin iterator.
Reimplemented in SQSpillMap_v1.
Definition at line 50 of file SQSpillMap.h.
|
inlinevirtual |
Return the const begin iterator.
Reimplemented in SQSpillMap_v1.
Definition at line 46 of file SQSpillMap.h.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Return the number of spills having spill ID = 'idkey'. Must be '0' or '1'.
Reimplemented in SQSpillMap_v1.
Definition at line 38 of file SQSpillMap.h.
|
inlinevirtual |
Return 'true' if this object holds no spill.
Reimplemented in SQSpillMap_v1.
Definition at line 36 of file SQSpillMap.h.
|
inlinevirtual |
Return the end iterator.
Reimplemented in SQSpillMap_v1.
Definition at line 52 of file SQSpillMap.h.
|
inlinevirtual |
Return the const end iterator.
Reimplemented in SQSpillMap_v1.
Definition at line 48 of file SQSpillMap.h.
|
inlinevirtual |
Erase the SQSpill entry having spill ID = 'idkey'.
Reimplemented in SQSpillMap_v1.
Definition at line 44 of file SQSpillMap.h.
|
inlinevirtual |
Return the iterator of the SQSpill entry having spill ID = 'idkey'.
Reimplemented in SQSpillMap_v1.
Definition at line 51 of file SQSpillMap.h.
|
inlinevirtual |
Return the const iterator of the SQSpill entry having spill ID = 'idkey'.
Reimplemented in SQSpillMap_v1.
Definition at line 47 of file SQSpillMap.h.
|
inlinevirtual |
Return the SQSpill entry having spill ID = 'idkey'. Return '0' if no entry exists.
Reimplemented in SQSpillMap_v1.
Definition at line 42 of file SQSpillMap.h.
References NULL.
|
inlinevirtual |
Return the SQSpill entry having spill ID = 'idkey'. Return '0' if no entry exists.
Reimplemented in SQSpillMap_v1.
Definition at line 41 of file SQSpillMap.h.
References NULL.
Referenced by SQReco::BuildSRawEvent(), Fun4AllSRawEventInputManager::E906ToE1039(), MakeMyTree::process_event(), DbUpSpill::process_event(), Fun4AllEVIOInputManager::run(), Fun4AllVectEventInputManager::VectToE1039(), Fun4AllRUSInputManager::VectToE1039(), Fun4AllSRawEventOutputManagerV2::Write(), Fun4AllSpillSRawEventOutputManager::Write(), and Fun4AllSRawEventOutputManager::Write().
Here is the caller graph for this function:
|
inlinevirtual |
identify Function from PHObject
| os | Output Stream |
Reimplemented from PHObject.
Reimplemented in SQSpillMap_v1.
Definition at line 29 of file SQSpillMap.h.
Insert the given SQSpill object.
Reimplemented in SQSpillMap_v1.
Definition at line 43 of file SQSpillMap.h.
References NULL.
Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), Fun4AllEVIOInputManager::run(), Fun4AllVectEventInputManager::VectToE1039(), and Fun4AllRUSInputManager::VectToE1039().
Here is the caller graph for this function:
|
inlinevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Reimplemented in SQSpillMap_v1.
Definition at line 33 of file SQSpillMap.h.
|
inlinevirtual |
Clear Event.
Reimplemented from PHObject.
Reimplemented in SQSpillMap_v1.
Definition at line 32 of file SQSpillMap.h.
|
inlinevirtual |
Return the number of spills held.
Reimplemented in SQSpillMap_v1.
Definition at line 37 of file SQSpillMap.h.
Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), Fun4AllVectEventInputManager::VectToE1039(), and Fun4AllRUSInputManager::VectToE1039().
Here is the caller graph for this function: