ATLAS Offline Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
MDT_SortedHitVector Class Reference

#include <MDT_SortedHitVector.h>

Inheritance diagram for MDT_SortedHitVector:
Collaboration diagram for MDT_SortedHitVector:

Public Member Functions

 MDT_SortedHitVector ()
 
void insert (const mdt_hit_info &hit)
 
void sort ()
 
bool isSorted ()
 

Public Attributes

elements
 STL member. More...
 

Private Attributes

bool m_isSorted {}
 

Detailed Description

Definition at line 34 of file MDT_SortedHitVector.h.

Constructor & Destructor Documentation

◆ MDT_SortedHitVector()

MDT_SortedHitVector::MDT_SortedHitVector ( )
inline

Definition at line 36 of file MDT_SortedHitVector.h.

36 : m_isSorted(false){};

Member Function Documentation

◆ insert()

void MDT_SortedHitVector::insert ( const mdt_hit_info hit)
inline

Definition at line 48 of file MDT_SortedHitVector.h.

48  {
49  push_back(hit);
50  m_isSorted = false;
51 }

◆ isSorted()

bool MDT_SortedHitVector::isSorted ( )
inline

Definition at line 39 of file MDT_SortedHitVector.h.

39 { return m_isSorted; }

◆ sort()

void MDT_SortedHitVector::sort ( )
inline

Definition at line 44 of file MDT_SortedHitVector.h.

44  {
46  m_isSorted = true;
47 }

Member Data Documentation

◆ elements

T std::vector< T >::elements
inherited

STL member.

◆ m_isSorted

bool MDT_SortedHitVector::m_isSorted {}
private

Definition at line 42 of file MDT_SortedHitVector.h.


The documentation for this class was generated from the following file:
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
std::stable_sort
void stable_sort(std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, std::reverse_iterator< DataModel_detail::iterator< DVL > > end, Compare comp)
Specialization of stable_sort for DataVector/List.
Definition: DVL_algorithms.h:711
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
MDT_SortedHitVector::m_isSorted
bool m_isSorted
Definition: MDT_SortedHitVector.h:42