|
Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4THitsVector.hh>
Inheritance diagram for G4VTHitsVector< T, Vector_t >:Public Types | |
| using | this_type = G4VTHitsVector<T, Vector_t> |
| using | value_type = T |
| using | vector_type = Vector_t |
| using | iterator = typename vector_type::iterator |
| using | const_iterator = typename vector_type::const_iterator |
| using | store_type = typename Vector_t::value_type |
| using | pair_t = std::pair<G4int, store_type> |
| using | map_t = std::map<G4int, store_type> |
| using | uomap_t = std::unordered_map<G4int, store_type> |
| using | mmap_t = std::multimap<G4int, store_type> |
| using | uommap_t = std::unordered_multimap<G4int, store_type> |
Public Member Functions | |
| G4VTHitsVector (G4int init_size=0) | |
| G4VTHitsVector (const G4String &detName, const G4String &colNam, G4int init_size=0) | |
| ~G4VTHitsVector () override | |
| G4bool | operator== (const this_type &rhs) const |
| void | DrawAllHits () override |
| void | PrintAllHits () override |
| 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 () |
| G4VHit * | GetHit (std::size_t) const override |
| std::size_t | GetSize () const override |
| 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 () override=default | |
| G4bool | operator== (const G4HitsCollection &right) const |
| G4VHitsCollection ()=default | |
| G4VHitsCollection (const G4String &detName, const G4String &colNam) | |
Public Member Functions inherited from G4VHitsCollection | |
| G4VHitsCollection ()=default | |
| G4VHitsCollection (const G4String &detName, const G4String &colNam) | |
| virtual | ~G4VHitsCollection ()=default |
| G4bool | operator== (const G4VHitsCollection &right) const |
| const G4String & | GetName () const |
| const G4String & | GetSDname () const |
| void | SetColID (G4int i) |
| G4int | GetColID () 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 = nullptr |
Protected Attributes inherited from G4VHitsCollection | |
| G4String | collectionName = "Unknown" |
| G4String | SDname = "Unknown" |
| G4int | colID = -1 |
Definition at line 53 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::const_iterator = typename vector_type::const_iterator |
Definition at line 61 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::iterator = typename vector_type::iterator |
Definition at line 60 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::map_t = std::map<G4int, store_type> |
Definition at line 65 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::mmap_t = std::multimap<G4int, store_type> |
Definition at line 67 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::pair_t = std::pair<G4int, store_type> |
Definition at line 64 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::store_type = typename Vector_t::value_type |
Definition at line 63 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::this_type = G4VTHitsVector<T, Vector_t> |
Definition at line 57 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::uomap_t = std::unordered_map<G4int, store_type> |
Definition at line 66 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::uommap_t = std::unordered_multimap<G4int, store_type> |
Definition at line 68 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::value_type = T |
Definition at line 58 of file G4THitsVector.hh.
| using G4VTHitsVector< T, Vector_t >::vector_type = Vector_t |
Definition at line 59 of file G4THitsVector.hh.
| G4VTHitsVector< T, Vector_t >::G4VTHitsVector | ( | G4int | init_size = 0 | ) |
Definition at line 546 of file G4THitsVector.hh.
Referenced by operator==().
| G4VTHitsVector< T, Vector_t >::G4VTHitsVector | ( | const G4String & | detName, |
| const G4String & | colNam, | ||
| G4int | init_size = 0 ) |
Definition at line 558 of file G4THitsVector.hh.
|
override |
Definition at line 571 of file G4THitsVector.hh.
|
inlineprotected |
|
inlineprotected |
Definition at line 499 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 445 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 505 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 451 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 511 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 457 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 517 of file G4THitsVector.hh.
|
inlineprotected |
|
inlineprotected |
Definition at line 486 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 432 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 492 of file G4THitsVector.hh.
|
inline |
Definition at line 304 of file G4THitsVector.hh.
|
inline |
Definition at line 314 of file G4THitsVector.hh.
|
inline |
Definition at line 282 of file G4THitsVector.hh.
Referenced by operator+=(), and operator+=().
|
inline |
Definition at line 292 of file G4THitsVector.hh.
|
inline |
Definition at line 178 of file G4THitsVector.hh.
Referenced by add(), operator+=(), resize(), set(), and set().
|
inline |
Definition at line 187 of file G4THitsVector.hh.
|
inline |
Definition at line 205 of file G4THitsVector.hh.
|
inline |
Definition at line 213 of file G4THitsVector.hh.
|
inline |
Definition at line 376 of file G4THitsVector.hh.
|
inline |
Definition at line 150 of file G4THitsVector.hh.
Referenced by GetIndex(), and GetIndex().
|
inline |
Definition at line 152 of file G4THitsVector.hh.
|
inline |
Definition at line 154 of file G4THitsVector.hh.
|
inline |
Definition at line 155 of file G4THitsVector.hh.
|
inline |
Definition at line 632 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 523 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 469 of file G4THitsVector.hh.
Referenced by clear(), and ~G4VTHitsVector().
|
overridevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 603 of file G4THitsVector.hh.
|
inline |
Definition at line 151 of file G4THitsVector.hh.
|
inline |
Definition at line 153 of file G4THitsVector.hh.
|
inline |
|
inlineprotected |
Definition at line 463 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 476 of file G4THitsVector.hh.
Referenced by add(), at(), operator[](), set(), and set().
|
inlineprotected |
Definition at line 527 of file G4THitsVector.hh.
|
inline |
Definition at line 103 of file G4THitsVector.hh.
Referenced by begin(), begin(), cbegin(), cend(), end(), end(), GetObject(), and size().
|
inlineoverridevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 167 of file G4THitsVector.hh.
|
inline |
Definition at line 109 of file G4THitsVector.hh.
|
inline |
Definition at line 107 of file G4THitsVector.hh.
|
inline |
Definition at line 589 of file G4THitsVector.hh.
|
inline |
Definition at line 127 of file G4THitsVector.hh.
|
inline |
Definition at line 145 of file G4THitsVector.hh.
|
inline |
Definition at line 115 of file G4THitsVector.hh.
|
inline |
Definition at line 133 of file G4THitsVector.hh.
|
inline |
Definition at line 121 of file G4THitsVector.hh.
|
inline |
Definition at line 139 of file G4THitsVector.hh.
|
inlineoverridevirtual |
|
inline |
Definition at line 158 of file G4THitsVector.hh.
Referenced by add(), add(), at(), clear(), G4VTHitsVector(), G4VTHitsVector(), GetMap(), GetVector(), operator+=(), operator[](), set(), set(), and ~G4VTHitsVector().
|
inlineprotected |
Definition at line 413 of file G4THitsVector.hh.
|
inline |
Definition at line 194 of file G4THitsVector.hh.
Referenced by operator+=(), and resize().
|
inline |
Definition at line 220 of file G4THitsVector.hh.
|
inline |
Definition at line 255 of file G4THitsVector.hh.
|
inline |
|
inline |
Definition at line 231 of file G4THitsVector.hh.
|
inline |
Definition at line 243 of file G4THitsVector.hh.
| G4bool G4VTHitsVector< T, Vector_t >::operator== | ( | const this_type & | rhs | ) | const |
Definition at line 581 of file G4THitsVector.hh.
|
inline |
Definition at line 383 of file G4THitsVector.hh.
|
overridevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 611 of file G4THitsVector.hh.
|
inlineprotected |
Definition at line 394 of file G4THitsVector.hh.
Referenced by at(), G4VTHitsVector(), G4VTHitsVector(), GetVector(), and operator[]().
|
inlineprotected |
Definition at line 407 of file G4THitsVector.hh.
|
inline |
Definition at line 356 of file G4THitsVector.hh.
|
inline |
Definition at line 366 of file G4THitsVector.hh.
|
inline |
Definition at line 329 of file G4THitsVector.hh.
|
inline |
Definition at line 339 of file G4THitsVector.hh.
|
inline |