ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
ZDC_SimFiberHit_Collection Class Reference

#include <ZDC_SimFiberHit_Collection.h>

Inheritance diagram for ZDC_SimFiberHit_Collection:
Collaboration diagram for ZDC_SimFiberHit_Collection:

Public Types

typedef T base_value_type
 
typedef std::vector< T > CONT
 
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

 ZDC_SimFiberHit_Collection (const std::string &name="ZDC_SimFiberHit_Collection")
 
void Clear ()
 
void Insert (const T &h)
 
void Insert (T &&h)
 
template<class... Args>
void Emplace (Args &&... args)
 
int Size () const
 
const std::string & Name () const
 
void setName (const std::string &name)
 
const std::vector< T > & 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 T &t)
 
At (unsigned int pos) const
 
constoperator[] (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 const std::type_info *const s_info = AtlasHitsVector<T>::initHelper()
 

Protected Attributes

std::string m_name
 
std::vector< T > m_hitvector
 

Detailed Description

Definition at line 15 of file ZDC_SimFiberHit_Collection.h.

Member Typedef Documentation

◆ base_value_type

template<typename T >
typedef T AtlasHitsVector< T >::base_value_type
inherited

Definition at line 36 of file AtlasHitsVector.h.

◆ const_iterator

template<typename T >
typedef CONT::const_iterator AtlasHitsVector< T >::const_iterator
inherited

Definition at line 42 of file AtlasHitsVector.h.

◆ const_pointer

template<typename T >
typedef CONT::const_pointer AtlasHitsVector< T >::const_pointer
inherited

Definition at line 40 of file AtlasHitsVector.h.

◆ const_reference

template<typename T >
typedef CONT::const_reference AtlasHitsVector< T >::const_reference
inherited

Definition at line 44 of file AtlasHitsVector.h.

◆ CONT

template<typename T >
typedef std::vector<T> AtlasHitsVector< T >::CONT
inherited

Definition at line 37 of file AtlasHitsVector.h.

◆ difference_type

template<typename T >
typedef CONT::difference_type AtlasHitsVector< T >::difference_type
inherited

Definition at line 46 of file AtlasHitsVector.h.

◆ iterator

template<typename T >
typedef CONT::iterator AtlasHitsVector< T >::iterator
inherited

Definition at line 41 of file AtlasHitsVector.h.

◆ pointer

template<typename T >
typedef CONT::pointer AtlasHitsVector< T >::pointer
inherited

Definition at line 39 of file AtlasHitsVector.h.

◆ reference

template<typename T >
typedef CONT::reference AtlasHitsVector< T >::reference
inherited

Definition at line 43 of file AtlasHitsVector.h.

◆ size_type

template<typename T >
typedef CONT::size_type AtlasHitsVector< T >::size_type
inherited

Definition at line 45 of file AtlasHitsVector.h.

◆ value_type

template<typename T >
typedef CONT::value_type AtlasHitsVector< T >::value_type
inherited

Definition at line 38 of file AtlasHitsVector.h.

Constructor & Destructor Documentation

◆ ZDC_SimFiberHit_Collection()

ZDC_SimFiberHit_Collection::ZDC_SimFiberHit_Collection ( const std::string &  name = "ZDC_SimFiberHit_Collection")
inline

Definition at line 20 of file ZDC_SimFiberHit_Collection.h.

Member Function Documentation

◆ At()

template<typename T >
T AtlasHitsVector< T >::At ( unsigned int  pos) const
inlineinherited

Definition at line 146 of file AtlasHitsVector.h.

146  {
147  return m_hitvector.at(pos);
148  }

◆ begin() [1/2]

template<typename T >
iterator AtlasHitsVector< T >::begin ( )
inlineinherited

Definition at line 136 of file AtlasHitsVector.h.

137  { return m_hitvector.begin(); }

◆ begin() [2/2]

template<typename T >
const_iterator AtlasHitsVector< T >::begin ( ) const
inlineinherited

Definition at line 130 of file AtlasHitsVector.h.

131  { return m_hitvector.begin(); }

◆ Clear()

template<typename T >
void AtlasHitsVector< T >::Clear ( )
inlineinherited

Definition at line 66 of file AtlasHitsVector.h.

67  {
68  m_hitvector.clear();
69  std::vector<T>().swap(m_hitvector);
70  }

◆ clear()

template<typename T >
void AtlasHitsVector< T >::clear ( )
inlineinherited

Definition at line 152 of file AtlasHitsVector.h.

152  {
153  m_hitvector.clear();
154  std::vector<T>().swap(m_hitvector);
155  }

◆ Emplace()

template<typename T >
template<class... Args>
void AtlasHitsVector< T >::Emplace ( Args &&...  args)
inlineinherited

Definition at line 80 of file AtlasHitsVector.h.

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

◆ empty()

template<typename T >
bool AtlasHitsVector< T >::empty ( ) const
inlineinherited

Definition at line 128 of file AtlasHitsVector.h.

128 { return m_hitvector.empty(); }

◆ end() [1/2]

template<typename T >
iterator AtlasHitsVector< T >::end ( )
inlineinherited

Definition at line 139 of file AtlasHitsVector.h.

140  { return m_hitvector.end(); }

◆ end() [2/2]

template<typename T >
const_iterator AtlasHitsVector< T >::end ( ) const
inlineinherited

Definition at line 133 of file AtlasHitsVector.h.

134  { return m_hitvector.end(); }

◆ getVector()

template<typename T >
const std::vector<T>& AtlasHitsVector< T >::getVector ( ) const
inlineinherited

Definition at line 126 of file AtlasHitsVector.h.

126 {return m_hitvector;}

◆ initHelper()

template<typename T >
static const std::type_info* AtlasHitsVector< T >::initHelper ( )
inlinestaticinherited

Definition at line 170 of file AtlasHitsVector.h.

◆ Insert() [1/2]

template<typename T >
void AtlasHitsVector< T >::Insert ( const T &  h)
inlineinherited

Definition at line 72 of file AtlasHitsVector.h.

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

◆ Insert() [2/2]

template<typename T >
void AtlasHitsVector< T >::Insert ( T &&  h)
inlineinherited

Definition at line 76 of file AtlasHitsVector.h.

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

◆ Name()

template<typename T >
const std::string& AtlasHitsVector< T >::Name ( ) const
inlineinherited

Definition at line 121 of file AtlasHitsVector.h.

121 {return m_name;}

◆ operator[]()

template<typename T >
const T AtlasHitsVector< T >::operator[] ( size_type  n) const
inlineinherited

Definition at line 150 of file AtlasHitsVector.h.

150 {return m_hitvector[n];}

◆ push_back()

template<typename T >
void AtlasHitsVector< T >::push_back ( const T &  t)
inlineinherited

Definition at line 144 of file AtlasHitsVector.h.

144 { m_hitvector.push_back(t);}

◆ reserve()

template<typename T >
void AtlasHitsVector< T >::reserve ( size_type  n)
inlineinherited

Definition at line 157 of file AtlasHitsVector.h.

157 { m_hitvector.reserve (n); }

◆ resize()

template<typename T >
void AtlasHitsVector< T >::resize ( size_type  n)
inlineinherited

Definition at line 159 of file AtlasHitsVector.h.

159 { m_hitvector.resize (n); }

◆ setName()

template<typename T >
void AtlasHitsVector< T >::setName ( const std::string &  name)
inlineinherited

Definition at line 123 of file AtlasHitsVector.h.

123 {m_name = name;}

◆ Size()

template<typename T >
int AtlasHitsVector< T >::Size ( ) const
inlineinherited

Definition at line 84 of file AtlasHitsVector.h.

85  {
86  return size();
87  }

◆ size()

template<typename T >
size_type AtlasHitsVector< T >::size ( ) const
inlineinherited

Definition at line 142 of file AtlasHitsVector.h.

142 { return m_hitvector.size(); }

Member Data Documentation

◆ m_hitvector

template<typename T >
std::vector<T> AtlasHitsVector< T >::m_hitvector
protectedinherited

Definition at line 164 of file AtlasHitsVector.h.

◆ m_name

template<typename T >
std::string AtlasHitsVector< T >::m_name
protectedinherited

Definition at line 163 of file AtlasHitsVector.h.

◆ s_info

template<class T >
const std::type_info *const AtlasHitsVector< T >::s_info = AtlasHitsVector<T>::initHelper()
staticinherited

Definition at line 172 of file AtlasHitsVector.h.


The documentation for this class was generated from the following file:
python.CaloAddPedShiftConfig.args
args
Definition: CaloAddPedShiftConfig.py:47
ZDC_SimFiberHit_Collection1
AtlasHitsVector< ZDC_SimFiberHit > ZDC_SimFiberHit_Collection1
Definition: ZDC_SimFiberHit_Collection.h:13
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
AtlasHitsVector::initHelper
static const std::type_info * initHelper()
Definition: AtlasHitsVector.h:170
AtlasHitsVector::m_name
std::string m_name
Definition: AtlasHitsVector.h:163
beamspotman.n
n
Definition: beamspotman.py:727
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:16
h
AtlasHitsVector::size
size_type size() const
Definition: AtlasHitsVector.h:142
AtlasHitsVector::m_hitvector
std::vector< T > m_hitvector
Definition: AtlasHitsVector.h:164
DataModel_detail::DVLInfo
Definition: DVLInfo.h:237