ATLAS Offline Software
Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
TimedHitPtrCollection< HIT > Class Template Reference

#include <TimedHitPtrCollection.h>

Collaboration diagram for TimedHitPtrCollection< HIT >:

Classes

class  SortedException
 thrown by insert More...
 

Public Types

typedef TimedVector::const_iterator const_iterator
 

Public Member Functions

 TimedHitPtrCollection ()
 
void insert (const PileUpTimeEventIndex &timeEventIndex, const AthenaHitsVector< HIT > *inputCollection)
 
void insert (float evtTime, const AthenaHitsVector< HIT > *inputCollection)
 
bool nextDetectorElement (const_iterator &b, const_iterator &e)
 sets an iterator range with the hits of current detector element returns a bool when done More...
 

Private Types

typedef std::vector< TimedHitPtr< HIT > > TimedVector
 

Private Member Functions

void sortVector ()
 

Private Attributes

TimedVector m_hits
 
const_iterator m_currentHit
 of current detector element; More...
 
bool m_sorted
 flag the fact that the collection has been sorted More...
 

Detailed Description

template<class HIT>
class TimedHitPtrCollection< HIT >

Definition at line 15 of file TimedHitPtrCollection.h.

Member Typedef Documentation

◆ const_iterator

template<class HIT >
typedef TimedVector::const_iterator TimedHitPtrCollection< HIT >::const_iterator

Definition at line 20 of file TimedHitPtrCollection.h.

◆ TimedVector

template<class HIT >
typedef std::vector< TimedHitPtr<HIT> > TimedHitPtrCollection< HIT >::TimedVector
private

Definition at line 17 of file TimedHitPtrCollection.h.

Constructor & Destructor Documentation

◆ TimedHitPtrCollection()

template<class HIT >
TimedHitPtrCollection< HIT >::TimedHitPtrCollection ( )
inline

Definition at line 22 of file TimedHitPtrCollection.h.

22  : m_hits(),
23  m_currentHit(m_hits.begin()),
24  m_sorted(false) {}

Member Function Documentation

◆ insert() [1/2]

template<class HIT >
void TimedHitPtrCollection< HIT >::insert ( const PileUpTimeEventIndex timeEventIndex,
const AthenaHitsVector< HIT > *  inputCollection 
)

◆ insert() [2/2]

template<class HIT >
void TimedHitPtrCollection< HIT >::insert ( float  evtTime,
const AthenaHitsVector< HIT > *  inputCollection 
)
Exceptions
SortedExceptionto show that iteration will restart from begin()

◆ nextDetectorElement()

template<class HIT >
bool TimedHitPtrCollection< HIT >::nextDetectorElement ( const_iterator b,
const_iterator e 
)

sets an iterator range with the hits of current detector element returns a bool when done

Exceptions
SortedExceptionto show that iteration will restart from begin()

◆ sortVector()

template<class HIT >
void TimedHitPtrCollection< HIT >::sortVector ( )
private

Member Data Documentation

◆ m_currentHit

template<class HIT >
const_iterator TimedHitPtrCollection< HIT >::m_currentHit
private

of current detector element;

Definition at line 46 of file TimedHitPtrCollection.h.

◆ m_hits

template<class HIT >
TimedVector TimedHitPtrCollection< HIT >::m_hits
private

Definition at line 45 of file TimedHitPtrCollection.h.

◆ m_sorted

template<class HIT >
bool TimedHitPtrCollection< HIT >::m_sorted
private

flag the fact that the collection has been sorted

Definition at line 47 of file TimedHitPtrCollection.h.


The documentation for this class was generated from the following file:
TimedHitPtrCollection::m_currentHit
const_iterator m_currentHit
of current detector element;
Definition: TimedHitPtrCollection.h:46
TimedHitPtrCollection::m_sorted
bool m_sorted
flag the fact that the collection has been sorted
Definition: TimedHitPtrCollection.h:47
TimedHitPtrCollection::m_hits
TimedVector m_hits
Definition: TimedHitPtrCollection.h:45