ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_SIDSimHitCollectionBuilder Class Reference

#include <AFP_HitCollectionBuilders.h>

Inheritance diagram for AFP_SIDSimHitCollectionBuilder:
Collaboration diagram for AFP_SIDSimHitCollectionBuilder:

Public Types

typedef AFP_SIDSimHit base_value_type
typedef std::vector< AFP_SIDSimHitCONT
typedef CONT::value_type value_type
typedef CONT::pointer pointer
typedef CONT::const_pointer const_pointer
typedef CONT::iterator iterator
typedef CONT::const_iterator const_iterator
typedef CONT::reference reference
typedef CONT::const_reference const_reference
typedef CONT::size_type size_type
typedef CONT::difference_type difference_type

Public Member Functions

bool HasReachedLimit (const int stationID) const
void CountHit (const int stationID)
int NumberOfHits () const
void Clear ()
void Insert (const AFP_SIDSimHit &h)
void Insert (AFP_SIDSimHit &&h)
void Emplace (Args &&... args)
int Size () const
const std::string & Name () const
void setName (const std::string &name)
const std::vector< AFP_SIDSimHit > & getVector () const
bool empty () const
const_iterator begin () const
iterator begin ()
const_iterator end () const
iterator end ()
size_type size () const
void push_back (const AFP_SIDSimHit &t)
AFP_SIDSimHit At (unsigned int pos) const
const AFP_SIDSimHit operator[] (size_type n) const
void clear ()
void reserve (size_type n)
void resize (size_type n)

Static Public Member Functions

static const std::type_info * initHelper ()

Static Public Attributes

static constexpr int SiDMaxCnt = 1000
static const std::type_info *const s_info

Protected Attributes

std::string m_name
std::vector< AFP_SIDSimHitm_hitvector

Private Attributes

int m_numberOfHits {}
std::array< int, 4 > m_hitsPerStation {}

Detailed Description

Definition at line 54 of file AFP_HitCollectionBuilders.h.

Member Typedef Documentation

◆ base_value_type

typedef AFP_SIDSimHit AtlasHitsVector< AFP_SIDSimHit >::base_value_type
inherited

Definition at line 36 of file AtlasHitsVector.h.

◆ const_iterator

typedef CONT::const_iterator AtlasHitsVector< AFP_SIDSimHit >::const_iterator
inherited

Definition at line 42 of file AtlasHitsVector.h.

◆ const_pointer

typedef CONT::const_pointer AtlasHitsVector< AFP_SIDSimHit >::const_pointer
inherited

Definition at line 40 of file AtlasHitsVector.h.

◆ const_reference

typedef CONT::const_reference AtlasHitsVector< AFP_SIDSimHit >::const_reference
inherited

Definition at line 44 of file AtlasHitsVector.h.

◆ CONT

typedef std::vector<AFP_SIDSimHit> AtlasHitsVector< AFP_SIDSimHit >::CONT
inherited

Definition at line 37 of file AtlasHitsVector.h.

◆ difference_type

typedef CONT::difference_type AtlasHitsVector< AFP_SIDSimHit >::difference_type
inherited

Definition at line 46 of file AtlasHitsVector.h.

◆ iterator

typedef CONT::iterator AtlasHitsVector< AFP_SIDSimHit >::iterator
inherited

Definition at line 41 of file AtlasHitsVector.h.

◆ pointer

typedef CONT::pointer AtlasHitsVector< AFP_SIDSimHit >::pointer
inherited

Definition at line 39 of file AtlasHitsVector.h.

◆ reference

typedef CONT::reference AtlasHitsVector< AFP_SIDSimHit >::reference
inherited

Definition at line 43 of file AtlasHitsVector.h.

◆ size_type

typedef CONT::size_type AtlasHitsVector< AFP_SIDSimHit >::size_type
inherited

Definition at line 45 of file AtlasHitsVector.h.

◆ value_type

typedef CONT::value_type AtlasHitsVector< AFP_SIDSimHit >::value_type
inherited

Definition at line 38 of file AtlasHitsVector.h.

Member Function Documentation

◆ At()

AFP_SIDSimHit AtlasHitsVector< AFP_SIDSimHit >::At ( unsigned int pos) const
inlineinherited

Definition at line 146 of file AtlasHitsVector.h.

146 {
147 return m_hitvector.at(pos);
148 }
std::vector< AFP_SIDSimHit > m_hitvector

◆ begin() [1/2]

iterator AtlasHitsVector< AFP_SIDSimHit >::begin ( )
inlineinherited

Definition at line 136 of file AtlasHitsVector.h.

137 { return m_hitvector.begin(); }

◆ begin() [2/2]

const_iterator AtlasHitsVector< AFP_SIDSimHit >::begin ( ) const
inlineinherited

Definition at line 130 of file AtlasHitsVector.h.

131 { return m_hitvector.begin(); }

◆ Clear()

void AtlasHitsVector< AFP_SIDSimHit >::Clear ( )
inlineinherited

Definition at line 66 of file AtlasHitsVector.h.

67 {
68 m_hitvector.clear();
70 }

◆ clear()

void AtlasHitsVector< AFP_SIDSimHit >::clear ( )
inlineinherited

Definition at line 152 of file AtlasHitsVector.h.

152 {
153 m_hitvector.clear();
155 }

◆ CountHit()

void AFP_SIDSimHitCollectionBuilder::CountHit ( const int stationID)
inline

Definition at line 67 of file AFP_HitCollectionBuilders.h.

68 {
70 if (stationID >= 0 && stationID < static_cast<int>(m_hitsPerStation.size())) {
72 }
73 }
constexpr uint8_t stationID
Large or Small wedge.

◆ Emplace()

void AtlasHitsVector< AFP_SIDSimHit >::Emplace ( Args &&... args)
inlineinherited

Definition at line 80 of file AtlasHitsVector.h.

81 {
82 m_hitvector.emplace_back( std::forward<Args>(args)... );
83 }

◆ empty()

bool AtlasHitsVector< AFP_SIDSimHit >::empty ( ) const
inlineinherited

Definition at line 128 of file AtlasHitsVector.h.

128{ return m_hitvector.empty(); }

◆ end() [1/2]

iterator AtlasHitsVector< AFP_SIDSimHit >::end ( )
inlineinherited

Definition at line 139 of file AtlasHitsVector.h.

140 { return m_hitvector.end(); }

◆ end() [2/2]

const_iterator AtlasHitsVector< AFP_SIDSimHit >::end ( ) const
inlineinherited

Definition at line 133 of file AtlasHitsVector.h.

134 { return m_hitvector.end(); }

◆ getVector()

const std::vector< AFP_SIDSimHit > & AtlasHitsVector< AFP_SIDSimHit >::getVector ( ) const
inlineinherited

Definition at line 126 of file AtlasHitsVector.h.

126{return m_hitvector;}

◆ HasReachedLimit()

bool AFP_SIDSimHitCollectionBuilder::HasReachedLimit ( const int stationID) const
inline

Definition at line 61 of file AFP_HitCollectionBuilders.h.

62 {
63 return stationID >= 0 && stationID < static_cast<int>(m_hitsPerStation.size()) &&
65 }

◆ initHelper()

const std::type_info * AtlasHitsVector< AFP_SIDSimHit >::initHelper ( )
inlinestaticinherited

Definition at line 170 of file AtlasHitsVector.h.

◆ Insert() [1/2]

void AtlasHitsVector< AFP_SIDSimHit >::Insert ( AFP_SIDSimHit && h)
inlineinherited

Definition at line 76 of file AtlasHitsVector.h.

77 {
78 m_hitvector.push_back( std::move(h) );
79 }

◆ Insert() [2/2]

void AtlasHitsVector< AFP_SIDSimHit >::Insert ( const AFP_SIDSimHit & h)
inlineinherited

Definition at line 72 of file AtlasHitsVector.h.

73 {
74 m_hitvector.push_back(h);
75 }

◆ Name()

const std::string & AtlasHitsVector< AFP_SIDSimHit >::Name ( ) const
inlineinherited

Definition at line 121 of file AtlasHitsVector.h.

121{return m_name;}

◆ NumberOfHits()

int AFP_SIDSimHitCollectionBuilder::NumberOfHits ( ) const
inline

Definition at line 75 of file AFP_HitCollectionBuilders.h.

75{ return m_numberOfHits; }

◆ operator[]()

const AFP_SIDSimHit AtlasHitsVector< AFP_SIDSimHit >::operator[] ( size_type n) const
inlineinherited

Definition at line 150 of file AtlasHitsVector.h.

150{return m_hitvector[n];}

◆ push_back()

void AtlasHitsVector< AFP_SIDSimHit >::push_back ( const AFP_SIDSimHit & t)
inlineinherited

Definition at line 144 of file AtlasHitsVector.h.

144{ m_hitvector.push_back(t);}

◆ reserve()

void AtlasHitsVector< AFP_SIDSimHit >::reserve ( size_type n)
inlineinherited

Definition at line 157 of file AtlasHitsVector.h.

157{ m_hitvector.reserve (n); }

◆ resize()

void AtlasHitsVector< AFP_SIDSimHit >::resize ( size_type n)
inlineinherited

Definition at line 159 of file AtlasHitsVector.h.

159{ m_hitvector.resize (n); }

◆ setName()

void AtlasHitsVector< AFP_SIDSimHit >::setName ( const std::string & name)
inlineinherited

Definition at line 123 of file AtlasHitsVector.h.

123{m_name = name;}

◆ Size()

int AtlasHitsVector< AFP_SIDSimHit >::Size ( ) const
inlineinherited

Definition at line 84 of file AtlasHitsVector.h.

85 {
86 return size();
87 }

◆ size()

size_type AtlasHitsVector< AFP_SIDSimHit >::size ( ) const
inlineinherited

Definition at line 142 of file AtlasHitsVector.h.

142{ return m_hitvector.size(); }

Member Data Documentation

◆ m_hitsPerStation

std::array<int, 4> AFP_SIDSimHitCollectionBuilder::m_hitsPerStation {}
private

Definition at line 79 of file AFP_HitCollectionBuilders.h.

79{};

◆ m_hitvector

std::vector<AFP_SIDSimHit> AtlasHitsVector< AFP_SIDSimHit >::m_hitvector
protectedinherited

Definition at line 164 of file AtlasHitsVector.h.

◆ m_name

std::string AtlasHitsVector< AFP_SIDSimHit >::m_name
protectedinherited

Definition at line 163 of file AtlasHitsVector.h.

◆ m_numberOfHits

int AFP_SIDSimHitCollectionBuilder::m_numberOfHits {}
private

Definition at line 78 of file AFP_HitCollectionBuilders.h.

78{};

◆ s_info

const std::type_info* const AtlasHitsVector< AFP_SIDSimHit >::s_info
staticinherited

Definition at line 172 of file AtlasHitsVector.h.

◆ SiDMaxCnt

int AFP_SIDSimHitCollectionBuilder::SiDMaxCnt = 1000
staticconstexpr

Definition at line 57 of file AFP_HitCollectionBuilders.h.


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