Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4THitsMap.hh>
Public Types | |
using | this_type = G4VTHitsMap<T, Map_t> |
using | value_type = T |
using | map_type = Map_t |
using | iterator = typename map_type::iterator |
using | const_iterator = typename map_type::const_iterator |
Public Member Functions | |
G4VTHitsMap () | |
G4VTHitsMap (const G4String &detName, const G4String &colNam) | |
~G4VTHitsMap () override | |
G4bool | operator== (const G4VTHitsMap< T, Map_t > &right) const |
template<typename U, typename MapU_t> | |
this_type & | operator+= (const G4VTHitsMap< U, MapU_t > &right) const |
void | DrawAllHits () override |
void | PrintAllHits () override |
Map_t * | GetContainer () const |
Map_t::size_type | size () |
Map_t::size_type | GetIndex (iterator itr) |
Map_t::size_type | GetIndex (const_iterator itr) const |
template<typename MapU_t = Map_t, enable_if_t<! is_mmap_t(MapU_t), G4int > = 0> | |
T * | GetObject (G4int idx) const |
template<typename MapU_t = Map_t, enable_if_t< is_mmap_t(MapU_t), G4int > = 0> | |
T * | GetObject (G4int idx) const |
T * | GetObject (iterator itr) const |
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 |
Map_t * | GetMap () const |
std::size_t | entries () const |
void | clear () |
G4VHit * | GetHit (std::size_t) const override |
std::size_t | GetSize () const override |
template<typename U = T, typename MapU_t = Map_t, enable_if_t< is_same_t(U, T) &&! is_mmap_t(MapU_t), G4int > = 0> | |
std::size_t | add (const G4int &key, U *&aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(is_same_t(U, T) &&is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | add (const G4int &key, U *&aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(! is_same_t(U, T) &&is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | add (const G4int &key, U *&aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(is_same_t(U, T) &&! is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | add (const G4int &key, U &aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(! is_same_t(U, T) &&! is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | add (const G4int &key, U &aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(is_same_t(U, T) &&is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | add (const G4int &key, U &aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(! is_same_t(U, T) &&is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | add (const G4int &key, U &aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(is_same_t(U, T) &&! is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | set (const G4int &key, U *&aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(is_same_t(U, T) &&is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | set (const G4int &key, U *&aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(! is_same_t(U, T) &&! is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | set (const G4int &key, U *&aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(! is_same_t(U, T) &&is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | set (const G4int &key, U *&aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(is_same_t(U, T) &&! is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | set (const G4int &key, U &aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(is_same_t(U, T) &&is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | set (const G4int &key, U &aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(! is_same_t(U, T) &&! is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | set (const G4int &key, U &aHit) const |
template<typename U = T, typename MapU_t = Map_t, enable_if_t<(! is_same_t(U, T) &&is_mmap_t(MapU_t)), G4int > = 0> | |
std::size_t | set (const G4int &key, U &aHit) const |
template<typename MapU_t = Map_t, enable_if_t<! is_mmap_t(MapU_t), G4int > = 0> | |
T * | operator[] (G4int key) const |
template<typename MapU_t = Map_t, enable_if_t< is_mmap_t(MapU_t), G4int > = 0> | |
T * | operator[] (G4int key) const |
![]() | |
~G4HitsCollection () override=default | |
G4bool | operator== (const G4HitsCollection &right) const |
G4VHitsCollection ()=default | |
G4VHitsCollection (const G4String &detName, const G4String &colNam) | |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
void * | theCollection = nullptr |
![]() | |
G4String | collectionName = "Unknown" |
G4String | SDname = "Unknown" |
G4int | colID = -1 |
Definition at line 51 of file G4THitsMap.hh.
using G4VTHitsMap< T, Map_t >::const_iterator = typename map_type::const_iterator |
Definition at line 88 of file G4THitsMap.hh.
using G4VTHitsMap< T, Map_t >::iterator = typename map_type::iterator |
Definition at line 87 of file G4THitsMap.hh.
using G4VTHitsMap< T, Map_t >::map_type = Map_t |
Definition at line 86 of file G4THitsMap.hh.
using G4VTHitsMap< T, Map_t >::this_type = G4VTHitsMap<T, Map_t> |
Definition at line 84 of file G4THitsMap.hh.
using G4VTHitsMap< T, Map_t >::value_type = T |
Definition at line 85 of file G4THitsMap.hh.
G4VTHitsMap< T, Map_t >::G4VTHitsMap | ( | ) |
Definition at line 438 of file G4THitsMap.hh.
Referenced by operator==().
G4VTHitsMap< T, Map_t >::G4VTHitsMap | ( | const G4String & | detName, |
const G4String & | colNam ) |
Definition at line 446 of file G4THitsMap.hh.
|
override |
Definition at line 455 of file G4THitsMap.hh.
|
inline |
Definition at line 214 of file G4THitsMap.hh.
|
inline |
Definition at line 229 of file G4THitsMap.hh.
|
inline |
Definition at line 241 of file G4THitsMap.hh.
|
inline |
Definition at line 253 of file G4THitsMap.hh.
|
inline |
Definition at line 171 of file G4THitsMap.hh.
Referenced by G4THitsMap< G4double >::add(), and operator+=().
|
inline |
Definition at line 185 of file G4THitsMap.hh.
|
inline |
Definition at line 197 of file G4THitsMap.hh.
|
inline |
|
inline |
Definition at line 145 of file G4THitsMap.hh.
|
inline |
|
inline |
|
inline |
Definition at line 503 of file G4THitsMap.hh.
Referenced by G4THitsMap< G4double >::clear().
|
overridevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 474 of file G4THitsMap.hh.
Referenced by G4THitsMap< G4double >::DrawAllHits().
|
inline |
|
inline |
Definition at line 146 of file G4THitsMap.hh.
|
inline |
Definition at line 154 of file G4THitsMap.hh.
Referenced by G4THitsMap< G4double >::entries(), and PrintAllHits().
|
inline |
Definition at line 119 of file G4THitsMap.hh.
Referenced by begin(), begin(), cbegin(), cend(), end(), end(), GetObject(), and size().
|
inlineoverridevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 158 of file G4THitsMap.hh.
Referenced by G4THitsMap< G4double >::GetHit().
|
inline |
Definition at line 125 of file G4THitsMap.hh.
|
inline |
Definition at line 123 of file G4THitsMap.hh.
|
inline |
Definition at line 151 of file G4THitsMap.hh.
Referenced by add(), add(), clear(), G4THitsMap< G4double >::GetMap(), operator+=(), G4VTHitsVector< T, Vector_t >::operator+=(), operator[](), set(), set(), and ~G4VTHitsMap().
|
inline |
Definition at line 141 of file G4THitsMap.hh.
|
inline |
Definition at line 128 of file G4THitsMap.hh.
|
inline |
Definition at line 134 of file G4THitsMap.hh.
|
inline |
Definition at line 139 of file G4THitsMap.hh.
|
inlineoverridevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 159 of file G4THitsMap.hh.
Referenced by G4THitsMap< G4double >::GetSize().
|
inline |
Definition at line 104 of file G4THitsMap.hh.
G4bool G4VTHitsMap< T, Map_t >::operator== | ( | const G4VTHitsMap< T, Map_t > & | right | ) | const |
Definition at line 466 of file G4THitsMap.hh.
|
inline |
Definition at line 400 of file G4THitsMap.hh.
|
inline |
Definition at line 408 of file G4THitsMap.hh.
|
overridevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 482 of file G4THitsMap.hh.
Referenced by G4THitsMap< G4double >::PrintAllHits().
|
inline |
Definition at line 336 of file G4THitsMap.hh.
|
inline |
Definition at line 352 of file G4THitsMap.hh.
|
inline |
Definition at line 366 of file G4THitsMap.hh.
|
inline |
Definition at line 382 of file G4THitsMap.hh.
|
inline |
Definition at line 270 of file G4THitsMap.hh.
Referenced by G4THitsMap< G4double >::set().
|
inline |
Definition at line 282 of file G4THitsMap.hh.
|
inline |
Definition at line 298 of file G4THitsMap.hh.
|
inline |
Definition at line 314 of file G4THitsMap.hh.
|
inline |
Definition at line 121 of file G4THitsMap.hh.