Geant4 11.2.2
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 (G4String detName, 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 |
size_t | entries () const |
void | clear () |
G4VHit * | GetHit (size_t) const override |
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> | |
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> | |
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> | |
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> | |
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> | |
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> | |
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> | |
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> | |
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> | |
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> | |
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> | |
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> | |
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> | |
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> | |
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> | |
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 |
Public Member Functions inherited from G4HitsCollection | |
~G4HitsCollection () override=default | |
G4bool | operator== (const G4HitsCollection &right) const |
G4VHitsCollection ()=default | |
G4VHitsCollection (G4String detName, G4String colNam) | |
Public Member Functions inherited from G4VHitsCollection | |
G4VHitsCollection ()=default | |
G4VHitsCollection (G4String detName, 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 | |
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 49 of file G4THitsMap.hh.
using G4VTHitsMap< T, Map_t >::const_iterator = typename map_type::const_iterator |
Definition at line 85 of file G4THitsMap.hh.
using G4VTHitsMap< T, Map_t >::iterator = typename map_type::iterator |
Definition at line 84 of file G4THitsMap.hh.
using G4VTHitsMap< T, Map_t >::map_type = Map_t |
Definition at line 83 of file G4THitsMap.hh.
using G4VTHitsMap< T, Map_t >::this_type = G4VTHitsMap<T, Map_t> |
Definition at line 81 of file G4THitsMap.hh.
using G4VTHitsMap< T, Map_t >::value_type = T |
Definition at line 82 of file G4THitsMap.hh.
G4VTHitsMap< T, Map_t >::G4VTHitsMap | ( | ) |
Definition at line 448 of file G4THitsMap.hh.
G4VTHitsMap< T, Map_t >::G4VTHitsMap | ( | G4String | detName, |
G4String | colNam ) |
Definition at line 456 of file G4THitsMap.hh.
|
override |
Definition at line 465 of file G4THitsMap.hh.
|
inline |
Definition at line 218 of file G4THitsMap.hh.
|
inline |
Definition at line 233 of file G4THitsMap.hh.
|
inline |
Definition at line 245 of file G4THitsMap.hh.
|
inline |
Definition at line 257 of file G4THitsMap.hh.
|
inline |
Definition at line 174 of file G4THitsMap.hh.
Referenced by G4VTHitsMap< T, Map_t >::operator+=(), G4PSCellCharge::ProcessHits(), G4PSCellFlux::ProcessHits(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSDoseDeposit::ProcessHits(), G4PSEnergyDeposit::ProcessHits(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), G4PSNofCollision::ProcessHits(), G4PSNofSecondary::ProcessHits(), G4PSNofStep::ProcessHits(), G4PSPassageCellCurrent::ProcessHits(), G4PSPassageCellFlux::ProcessHits(), G4PSPassageTrackLength::ProcessHits(), G4PSPopulation::ProcessHits(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4PSTermination::ProcessHits(), G4PSTrackCounter::ProcessHits(), G4PSTrackLength::ProcessHits(), G4PSVolumeFlux::ProcessHits(), and G4RTRun::RecordEvent().
|
inline |
Definition at line 188 of file G4THitsMap.hh.
|
inline |
Definition at line 200 of file G4THitsMap.hh.
|
inline |
Definition at line 143 of file G4THitsMap.hh.
|
inline |
Definition at line 145 of file G4THitsMap.hh.
|
inline |
Definition at line 147 of file G4THitsMap.hh.
|
inline |
Definition at line 148 of file G4THitsMap.hh.
|
inline |
Definition at line 513 of file G4THitsMap.hh.
Referenced by G4PSCellCharge::clear(), G4PSCellFlux::clear(), G4PSCylinderSurfaceCurrent::clear(), G4PSCylinderSurfaceFlux::clear(), G4PSDoseDeposit::clear(), G4PSEnergyDeposit::clear(), G4PSFlatSurfaceCurrent::clear(), G4PSFlatSurfaceFlux::clear(), G4PSMinKinEAtGeneration::clear(), G4PSNofCollision::clear(), G4PSNofSecondary::clear(), G4PSNofStep::clear(), G4PSPassageCellCurrent::clear(), G4PSPassageCellFlux::clear(), G4PSPassageTrackLength::clear(), G4PSPopulation::clear(), G4PSSphereSurfaceCurrent::clear(), G4PSSphereSurfaceFlux::clear(), G4PSTermination::clear(), G4PSTrackCounter::clear(), G4PSTrackLength::clear(), G4PSVolumeFlux::clear(), and G4RTRun::~G4RTRun().
|
overridevirtual |
|
inline |
Definition at line 144 of file G4THitsMap.hh.
|
inline |
Definition at line 146 of file G4THitsMap.hh.
|
inline |
Definition at line 155 of file G4THitsMap.hh.
Referenced by G4PSCellCharge::PrintAll(), G4PSCellFlux::PrintAll(), G4PSCylinderSurfaceCurrent::PrintAll(), G4PSCylinderSurfaceFlux::PrintAll(), G4PSDoseDeposit::PrintAll(), G4PSEnergyDeposit::PrintAll(), G4PSFlatSurfaceCurrent::PrintAll(), G4PSFlatSurfaceFlux::PrintAll(), G4PSMinKinEAtGeneration::PrintAll(), G4PSNofCollision::PrintAll(), G4PSNofSecondary::PrintAll(), G4PSNofStep::PrintAll(), G4PSPassageCellCurrent::PrintAll(), G4PSPassageCellFlux::PrintAll(), G4PSPassageTrackLength::PrintAll(), G4PSPopulation::PrintAll(), G4PSSphereSurfaceCurrent::PrintAll(), G4PSSphereSurfaceFlux::PrintAll(), G4PSTermination::PrintAll(), G4PSTrackCounter::PrintAll(), G4PSTrackLength::PrintAll(), and G4PSVolumeFlux::PrintAll().
|
inline |
Definition at line 119 of file G4THitsMap.hh.
Referenced by G4VTHitsMap< T, Map_t >::begin(), G4VTHitsMap< T, Map_t >::begin(), G4VTHitsMap< T, Map_t >::cbegin(), G4VTHitsMap< T, Map_t >::cend(), G4VTHitsMap< T, Map_t >::end(), G4VTHitsMap< T, Map_t >::end(), G4VTHitsMap< T, Map_t >::GetObject(), and G4VTHitsMap< T, Map_t >::size().
|
inlineoverridevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 160 of file G4THitsMap.hh.
|
inline |
Definition at line 125 of file G4THitsMap.hh.
|
inline |
Definition at line 123 of file G4THitsMap.hh.
|
inline |
Definition at line 152 of file G4THitsMap.hh.
Referenced by G4VTHitsMap< T, Map_t >::add(), G4VTHitsMap< T, Map_t >::add(), G4GMocrenFileSceneHandler::AddCompound(), G4GMocrenFileSceneHandler::AddCompound(), G4TheMTRayTracer::CreateBitMap(), G4VTHitsMap< T, Map_t >::operator+=(), G4VTHitsVector< T, Vector_t >::operator+=(), G4VTHitsMap< T, Map_t >::operator[](), G4PSCellCharge::PrintAll(), G4PSCellFlux::PrintAll(), G4PSCylinderSurfaceCurrent::PrintAll(), G4PSCylinderSurfaceFlux::PrintAll(), G4PSDoseDeposit::PrintAll(), G4PSEnergyDeposit::PrintAll(), G4PSFlatSurfaceCurrent::PrintAll(), G4PSFlatSurfaceFlux::PrintAll(), G4PSMinKinEAtGeneration::PrintAll(), G4PSNofCollision::PrintAll(), G4PSNofSecondary::PrintAll(), G4PSNofStep::PrintAll(), G4PSPassageCellCurrent::PrintAll(), G4PSPassageCellFlux::PrintAll(), G4PSPassageTrackLength::PrintAll(), G4PSPopulation::PrintAll(), G4PSSphereSurfaceCurrent::PrintAll(), G4PSSphereSurfaceFlux::PrintAll(), G4PSTermination::PrintAll(), G4PSTrackCounter::PrintAll(), G4PSTrackLength::PrintAll(), G4PSVolumeFlux::PrintAll(), G4VTHitsMap< T, Map_t >::set(), and G4VTHitsMap< T, Map_t >::set().
|
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 |
|
inline |
Definition at line 102 of file G4THitsMap.hh.
G4bool G4VTHitsMap< T, Map_t >::operator== | ( | const G4VTHitsMap< T, Map_t > & | right | ) | const |
Definition at line 476 of file G4THitsMap.hh.
|
inline |
Definition at line 410 of file G4THitsMap.hh.
|
inline |
Definition at line 418 of file G4THitsMap.hh.
|
overridevirtual |
Reimplemented from G4VHitsCollection.
Definition at line 492 of file G4THitsMap.hh.
|
inline |
Definition at line 344 of file G4THitsMap.hh.
|
inline |
Definition at line 360 of file G4THitsMap.hh.
|
inline |
Definition at line 374 of file G4THitsMap.hh.
|
inline |
Definition at line 390 of file G4THitsMap.hh.
|
inline |
Definition at line 276 of file G4THitsMap.hh.
Referenced by G4PSMinKinEAtGeneration::ProcessHits().
|
inline |
Definition at line 288 of file G4THitsMap.hh.
|
inline |
Definition at line 304 of file G4THitsMap.hh.
|
inline |
Definition at line 320 of file G4THitsMap.hh.
|
inline |
Definition at line 121 of file G4THitsMap.hh.