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 37 of file AtlasHitsVector.h.

◆ const_iterator

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

Definition at line 43 of file AtlasHitsVector.h.

◆ const_pointer

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

Definition at line 41 of file AtlasHitsVector.h.

◆ const_reference

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

Definition at line 45 of file AtlasHitsVector.h.

◆ CONT

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

Definition at line 38 of file AtlasHitsVector.h.

◆ difference_type

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

Definition at line 47 of file AtlasHitsVector.h.

◆ iterator

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

Definition at line 42 of file AtlasHitsVector.h.

◆ pointer

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

Definition at line 40 of file AtlasHitsVector.h.

◆ reference

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

Definition at line 44 of file AtlasHitsVector.h.

◆ size_type

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

Definition at line 46 of file AtlasHitsVector.h.

◆ value_type

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

Definition at line 39 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 147 of file AtlasHitsVector.h.

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

◆ begin() [1/2]

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

Definition at line 137 of file AtlasHitsVector.h.

138  { return m_hitvector.begin(); }

◆ begin() [2/2]

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

Definition at line 131 of file AtlasHitsVector.h.

132  { return m_hitvector.begin(); }

◆ Clear()

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

Definition at line 67 of file AtlasHitsVector.h.

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

◆ clear()

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

Definition at line 153 of file AtlasHitsVector.h.

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

◆ Emplace()

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

Definition at line 81 of file AtlasHitsVector.h.

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

◆ empty()

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

Definition at line 129 of file AtlasHitsVector.h.

129 { return m_hitvector.empty(); }

◆ end() [1/2]

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

Definition at line 140 of file AtlasHitsVector.h.

141  { return m_hitvector.end(); }

◆ end() [2/2]

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

Definition at line 134 of file AtlasHitsVector.h.

135  { return m_hitvector.end(); }

◆ getVector()

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

Definition at line 127 of file AtlasHitsVector.h.

127 {return m_hitvector;}

◆ initHelper()

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

Definition at line 171 of file AtlasHitsVector.h.

◆ Insert() [1/2]

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

Definition at line 73 of file AtlasHitsVector.h.

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

◆ Insert() [2/2]

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

Definition at line 77 of file AtlasHitsVector.h.

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

◆ Name()

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

Definition at line 122 of file AtlasHitsVector.h.

122 {return m_name;}

◆ operator[]()

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

Definition at line 151 of file AtlasHitsVector.h.

151 {return m_hitvector[n];}

◆ push_back()

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

Definition at line 145 of file AtlasHitsVector.h.

145 { m_hitvector.push_back(t);}

◆ reserve()

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

Definition at line 158 of file AtlasHitsVector.h.

158 { m_hitvector.reserve (n); }

◆ resize()

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

Definition at line 160 of file AtlasHitsVector.h.

160 { m_hitvector.resize (n); }

◆ setName()

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

Definition at line 124 of file AtlasHitsVector.h.

124 {m_name = name;}

◆ Size()

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

Definition at line 85 of file AtlasHitsVector.h.

86  {
87  return size();
88  }

◆ size()

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

Definition at line 143 of file AtlasHitsVector.h.

143 { return m_hitvector.size(); }

Member Data Documentation

◆ m_hitvector

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

Definition at line 165 of file AtlasHitsVector.h.

◆ m_name

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

Definition at line 164 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 173 of file AtlasHitsVector.h.


The documentation for this class was generated from the following file:
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:171
AtlasHitsVector::m_name
std::string m_name
Definition: AtlasHitsVector.h:164
beamspotman.n
n
Definition: beamspotman.py:731
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
h
AtlasHitsVector::size
size_type size() const
Definition: AtlasHitsVector.h:143
AtlasHitsVector::m_hitvector
std::vector< T > m_hitvector
Definition: AtlasHitsVector.h:165
DataModel_detail::DVLInfo
Definition: DVLInfo.h:237
python.CaloScaleNoiseConfig.args
args
Definition: CaloScaleNoiseConfig.py:80