Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4THitsVector.hh>
Public Types | |
typedef G4VTHitsVector< T, Vector_t > | this_type |
typedef T | value_type |
typedef Vector_t | vector_type |
typedef vector_type::iterator | iterator |
typedef vector_type::const_iterator | const_iterator |
typedef Vector_t::value_type | store_type |
typedef std::pair< G4int, store_type > | pair_t |
typedef std::map< G4int, store_type > | map_t |
typedef std::unordered_map< G4int, store_type > | uomap_t |
typedef std::multimap< G4int, store_type > | mmap_t |
typedef std::unordered_multimap< G4int, store_type > | uommap_t |
Public Member Functions | |
G4VTHitsVector (G4int init_size=0) | |
G4VTHitsVector (G4String detName, G4String colNam, G4int init_size=0) | |
virtual | ~G4VTHitsVector () |
G4bool | operator== (const this_type &rhs) const |
virtual void | DrawAllHits () |
virtual void | PrintAllHits () |
Vector_t * | GetContainer () const |
Vector_t::size_type | size () |
Vector_t::size_type | GetIndex (iterator itr) |
Vector_t::size_type | GetIndex (const_iterator itr) const |
template<typename U = store_type, enable_if_t<(is_pointer_t(U)), G4int > = 0> | |
T * | GetObject (G4int idx) const |
template<typename U = store_type, enable_if_t<(is_pointer_t(U)), G4int > = 0> | |
T * | GetObject (iterator itr) const |
template<typename U = store_type, enable_if_t<(is_pointer_t(U)), G4int > = 0> | |
const T * | GetObject (const_iterator itr) const |
template<typename U = store_type, enable_if_t<(!is_pointer_t(U)), G4int > = 0> | |
T * | GetObject (G4int idx) const |
template<typename U = store_type, enable_if_t<(!is_pointer_t(U)), G4int > = 0> | |
T * | GetObject (iterator itr) const |
template<typename U = store_type, enable_if_t<(!is_pointer_t(U)), G4int > = 0> | |
const T * | GetObject (const_iterator itr) const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
Vector_t * | GetVector () const |
std::size_t | entries () const |
void | clear () |
virtual G4VHit * | GetHit (std::size_t) const |
virtual std::size_t | GetSize () const |
map_t * | GetMap () const |
template<typename U = T, typename V = store_type, enable_if_t<(is_fundamental_t(U) &&is_pointer_t(V)), G4int > = 0> | |
store_type | allocate () const |
template<typename U = T, typename V = store_type, enable_if_t<(!is_fundamental_t(U) &&is_pointer_t(V)), G4int > = 0> | |
store_type | allocate () const |
template<typename U = store_type, enable_if_t<(is_pointer_t(U)), G4int > = 0> | |
store_type | null () const |
template<typename U = T, typename V = store_type, enable_if_t<(is_fundamental_t(U) &&!is_pointer_t(V)), G4int > = 0> | |
store_type | allocate () const |
template<typename U = T, typename V = store_type, enable_if_t<(!is_fundamental_t(U) &&!is_pointer_t(V)), G4int > = 0> | |
store_type | allocate () const |
template<typename U = store_type, enable_if_t<(!is_pointer_t(U)), G4int > = 0> | |
store_type | null () const |
template<typename U , typename VectorU_t , enable_if_t<(is_pointer_t(typename VectorU_t::value_type)), G4int > = 0> | |
this_type & | operator+= (const G4VTHitsVector< U, VectorU_t > &right) const |
template<typename U , typename VectorU_t , enable_if_t<(!is_pointer_t(typename VectorU_t::value_type)), G4int > = 0> | |
this_type & | operator+= (const G4VTHitsVector< U, VectorU_t > &right) const |
template<typename U , typename MapU_t , enable_if_t<(is_pointer_t(typename MapU_t::mapped_type)), G4int > = 0> | |
this_type & | operator+= (const G4VTHitsMap< U, MapU_t > &right) const |
template<typename U , typename MapU_t , enable_if_t< !(is_pointer_t(typename MapU_t::mapped_type)), G4int > = 0> | |
this_type & | operator+= (const G4VTHitsMap< U, MapU_t > &right) const |
template<typename U = T, enable_if_t< is_same_t(U, T), G4int > = 0> | |
std::size_t | add (const G4int &key, U *&aHit) const |
template<typename U = T, enable_if_t< !is_same_t(U, T), G4int > = 0> | |
std::size_t | add (const G4int &key, U *&aHit) const |
template<typename U = T, enable_if_t< is_same_t(U, T), G4int > = 0> | |
std::size_t | add (const G4int &key, U &aHit) const |
template<typename U = T, enable_if_t< !is_same_t(U, T), G4int > = 0> | |
std::size_t | add (const G4int &key, U &aHit) const |
template<typename U = T, enable_if_t< is_same_t(U, T), G4int > = 0> | |
std::size_t | set (const G4int &key, U *&aHit) const |
template<typename U = T, enable_if_t< !is_same_t(U, T), G4int > = 0> | |
std::size_t | set (const G4int &key, U *&aHit) const |
template<typename U = T, enable_if_t< is_same_t(U, T), G4int > = 0> | |
std::size_t | set (const G4int &key, U &aHit) const |
template<typename U = T, enable_if_t< !is_same_t(U, T), G4int > = 0> | |
std::size_t | set (const G4int &key, U &aHit) const |
T * | at (G4int key) const |
T * | operator[] (G4int key) const |
Public Member Functions inherited from G4HitsCollection | |
G4HitsCollection () | |
G4HitsCollection (G4String detName, G4String colNam) | |
virtual | ~G4HitsCollection () |
G4bool | operator== (const G4HitsCollection &right) const |
Public Member Functions inherited from G4VHitsCollection | |
G4VHitsCollection () | |
G4VHitsCollection (G4String detName, G4String colNam) | |
virtual | ~G4VHitsCollection () |
G4bool | operator== (const G4VHitsCollection &right) const |
virtual void | DrawAllHits () |
virtual void | PrintAllHits () |
const G4String & | GetName () const |
const G4String & | GetSDname () const |
void | SetColID (G4int i) |
G4int | GetColID () const |
virtual G4VHit * | GetHit (size_t) const |
virtual size_t | GetSize () const |
Protected Member Functions | |
template<typename U = store_type, enable_if_t<(is_pointer_t(U)), G4int > = 0> | |
void | resize (vector_type *&theHitsVector, const G4int &key) const |
template<typename U = store_type, enable_if_t<(!is_pointer_t(U)), G4int > = 0> | |
void | resize (vector_type *&theHitsVector, const G4int &key) const |
vector_type * | GetVector (const G4int &key) const |
template<typename U = store_type, enable_if_t< is_pointer_t(U), G4int > = 0> | |
void | _assign (vector_type *&theHitsVector, const G4int &key, T &val) const |
template<typename U = store_type, enable_if_t< is_pointer_t(U), G4int > = 0> | |
void | _assign (vector_type *&theHitsVector, const G4int &key, T *&val) const |
template<typename U = store_type, enable_if_t< is_pointer_t(U), G4int > = 0> | |
void | _add (vector_type *&theHitsVector, const G4int &key, T &val) const |
template<typename U = store_type, enable_if_t< is_pointer_t(U), G4int > = 0> | |
void | _add (vector_type *&theHitsVector, const G4int &key, T *&val) const |
template<typename V , typename U = store_type, enable_if_t< is_pointer_t(U), G4int > = 0> | |
void | _add (vector_type *&theHitsVector, const G4int &key, V &val) const |
template<typename V , typename U = store_type, enable_if_t< is_pointer_t(U), G4int > = 0> | |
void | _add (vector_type *&theHitsVector, const G4int &key, V *&val) const |
template<typename U = store_type, enable_if_t< is_pointer_t(U), G4int > = 0> | |
T & | get (U &val) const |
template<typename U = store_type, enable_if_t< is_pointer_t(U), G4int > = 0> | |
void | delete_contents (vector_type *&theHitsVector) const |
template<typename U = store_type, enable_if_t< is_pointer_t(U), G4int > = 0> | |
T & | get_reference (U &val) const |
template<typename U = store_type, enable_if_t< !is_pointer_t(U), G4int > = 0> | |
void | _assign (vector_type *&theHitsVector, const G4int &key, T &val) const |
template<typename U = store_type, enable_if_t< !is_pointer_t(U), G4int > = 0> | |
void | _assign (vector_type *&theHitsVector, const G4int &key, T *&val) const |
template<typename U = store_type, enable_if_t< !is_pointer_t(U), G4int > = 0> | |
void | _add (vector_type *&theHitsVector, const G4int &key, T &val) const |
template<typename U = store_type, enable_if_t< !is_pointer_t(U), G4int > = 0> | |
void | _add (vector_type *&theHitsVector, const G4int &key, T *&val) const |
template<typename V , typename U = store_type, enable_if_t< !is_pointer_t(U), G4int > = 0> | |
void | _add (vector_type *&theHitsVector, const G4int &key, V &val) const |
template<typename V , typename U = store_type, enable_if_t< !is_pointer_t(U), G4int > = 0> | |
void | _add (vector_type *&theHitsVector, const G4int &key, V *&val) const |
template<typename U = store_type, enable_if_t< !is_pointer_t(U), G4int > = 0> | |
void | delete_contents (vector_type *&) const |
template<typename U = store_type, enable_if_t< !is_pointer_t(U), G4int > = 0> | |
T & | get_reference (U &val) const |
Additional Inherited Members | |
Protected Attributes inherited from G4HitsCollection | |
void * | theCollection |
Protected Attributes inherited from G4VHitsCollection | |
G4String | collectionName |
G4String | SDname |
G4int | colID |
Definition at line 52 of file G4THitsVector.hh.
typedef vector_type::const_iterator G4VTHitsVector< T, Vector_t >::const_iterator |
Definition at line 59 of file G4THitsVector.hh.
typedef vector_type::iterator G4VTHitsVector< T, Vector_t >::iterator |
Definition at line 58 of file G4THitsVector.hh.
typedef std::map<G4int, store_type> G4VTHitsVector< T, Vector_t >::map_t |
Definition at line 63 of file G4THitsVector.hh.
typedef std::multimap<G4int, store_type> G4VTHitsVector< T, Vector_t >::mmap_t |
Definition at line 65 of file G4THitsVector.hh.
typedef std::pair<G4int, store_type> G4VTHitsVector< T, Vector_t >::pair_t |
Definition at line 62 of file G4THitsVector.hh.
typedef Vector_t::value_type G4VTHitsVector< T, Vector_t >::store_type |
Definition at line 61 of file G4THitsVector.hh.
typedef G4VTHitsVector<T, Vector_t> G4VTHitsVector< T, Vector_t >::this_type |
Definition at line 55 of file G4THitsVector.hh.
typedef std::unordered_map<G4int, store_type> G4VTHitsVector< T, Vector_t >::uomap_t |
Definition at line 64 of file G4THitsVector.hh.
typedef std::unordered_multimap<G4int, store_type> G4VTHitsVector< T, Vector_t >::uommap_t |
Definition at line 66 of file G4THitsVector.hh.
typedef T G4VTHitsVector< T, Vector_t >::value_type |
Definition at line 56 of file G4THitsVector.hh.
typedef Vector_t G4VTHitsVector< T, Vector_t >::vector_type |
Definition at line 57 of file G4THitsVector.hh.
G4VTHitsVector< T, Vector_t >::G4VTHitsVector | ( | G4int | init_size = 0 | ) |
Definition at line 578 of file G4THitsVector.hh.
G4VTHitsVector< T, Vector_t >::G4VTHitsVector | ( | G4String | detName, |
G4String | colNam, | ||
G4int | init_size = 0 |
||
) |
Definition at line 591 of file G4THitsVector.hh.
|
virtual |
Definition at line 606 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 455 of file G4THitsVector.hh.
Referenced by G4VTHitsVector< T, Vector_t >::add().
|
inlineprotected |
Definition at line 524 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 462 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 531 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 469 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 539 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 476 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 547 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 439 of file G4THitsVector.hh.
Referenced by G4VTHitsVector< T, Vector_t >::resize(), and G4VTHitsVector< T, Vector_t >::set().
|
inlineprotected |
Definition at line 509 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 447 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 516 of file G4THitsVector.hh.
|
inline |
Definition at line 302 of file G4THitsVector.hh.
|
inline |
Definition at line 313 of file G4THitsVector.hh.
|
inline |
Definition at line 278 of file G4THitsVector.hh.
|
inline |
Definition at line 289 of file G4THitsVector.hh.
|
inline |
Definition at line 172 of file G4THitsVector.hh.
Referenced by G4VTHitsVector< T, Vector_t >::add(), G4VTHitsVector< T, Vector_t >::operator+=(), G4VTHitsVector< T, Vector_t >::resize(), and G4VTHitsVector< T, Vector_t >::set().
|
inline |
Definition at line 181 of file G4THitsVector.hh.
|
inline |
Definition at line 198 of file G4THitsVector.hh.
|
inline |
Definition at line 206 of file G4THitsVector.hh.
|
inline |
Definition at line 383 of file G4THitsVector.hh.
|
inline |
Definition at line 138 of file G4THitsVector.hh.
Referenced by G4VTHitsVector< T, Vector_t >::GetIndex().
|
inline |
Definition at line 140 of file G4THitsVector.hh.
|
inline |
Definition at line 142 of file G4THitsVector.hh.
|
inline |
Definition at line 143 of file G4THitsVector.hh.
|
inline |
Definition at line 668 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 554 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 490 of file G4THitsVector.hh.
|
virtual |
|
inline |
Definition at line 139 of file G4THitsVector.hh.
|
inline |
Definition at line 141 of file G4THitsVector.hh.
|
inline |
Definition at line 151 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 483 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 498 of file G4THitsVector.hh.
Referenced by G4VTHitsVector< T, Vector_t >::add(), G4VTHitsVector< T, Vector_t >::at(), G4VTHitsVector< T, Vector_t >::operator[](), and G4VTHitsVector< T, Vector_t >::set().
|
inlineprotected |
Definition at line 559 of file G4THitsVector.hh.
|
inline |
Definition at line 102 of file G4THitsVector.hh.
Referenced by G4VTHitsVector< T, Vector_t >::begin(), G4VTHitsVector< T, Vector_t >::cbegin(), G4VTHitsVector< T, Vector_t >::cend(), G4VTHitsVector< T, Vector_t >::end(), G4VTHitsVector< T, Vector_t >::GetObject(), and G4VTHitsVector< T, Vector_t >::size().
|
inlinevirtual |
Definition at line 157 of file G4THitsVector.hh.
|
inline |
Definition at line 111 of file G4THitsVector.hh.
|
inline |
Definition at line 108 of file G4THitsVector.hh.
|
inline |
Definition at line 625 of file G4THitsVector.hh.
|
inline |
Definition at line 123 of file G4THitsVector.hh.
|
inline |
Definition at line 135 of file G4THitsVector.hh.
|
inline |
Definition at line 115 of file G4THitsVector.hh.
|
inline |
Definition at line 127 of file G4THitsVector.hh.
|
inline |
Definition at line 119 of file G4THitsVector.hh.
|
inline |
Definition at line 131 of file G4THitsVector.hh.
|
inlinevirtual |
|
inline |
Definition at line 146 of file G4THitsVector.hh.
Referenced by G4VTHitsVector< T, Vector_t >::add(), G4VTHitsVector< T, Vector_t >::at(), G4VTHitsVector< T, Vector_t >::G4VTHitsVector(), G4VTHitsVector< T, Vector_t >::GetVector(), G4VTHitsVector< T, Vector_t >::operator+=(), G4VTHitsVector< T, Vector_t >::operator[](), and G4VTHitsVector< T, Vector_t >::set().
|
inlineprotected |
Definition at line 426 of file G4THitsVector.hh.
|
inline |
Definition at line 187 of file G4THitsVector.hh.
Referenced by G4VTHitsVector< T, Vector_t >::operator+=(), and G4VTHitsVector< T, Vector_t >::resize().
|
inline |
Definition at line 212 of file G4THitsVector.hh.
|
inline |
Definition at line 249 of file G4THitsVector.hh.
|
inline |
Definition at line 259 of file G4THitsVector.hh.
|
inline |
Definition at line 222 of file G4THitsVector.hh.
|
inline |
Definition at line 236 of file G4THitsVector.hh.
G4bool G4VTHitsVector< T, Vector_t >::operator== | ( | const this_type & | rhs | ) | const |
Definition at line 616 of file G4THitsVector.hh.
|
inline |
Definition at line 390 of file G4THitsVector.hh.
|
virtual |
Reimplemented from G4VHitsCollection.
Definition at line 647 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 401 of file G4THitsVector.hh.
Referenced by G4VTHitsVector< T, Vector_t >::at(), G4VTHitsVector< T, Vector_t >::G4VTHitsVector(), G4VTHitsVector< T, Vector_t >::GetVector(), and G4VTHitsVector< T, Vector_t >::operator[]().
|
inlineprotected |
Definition at line 418 of file G4THitsVector.hh.
|
inline |
Definition at line 360 of file G4THitsVector.hh.
|
inline |
Definition at line 371 of file G4THitsVector.hh.
|
inline |
Definition at line 330 of file G4THitsVector.hh.
|
inline |
Definition at line 341 of file G4THitsVector.hh.
|
inline |
Definition at line 105 of file G4THitsVector.hh.
Referenced by G4VTHitsVector< T, Vector_t >::GetObject().