Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4THitsMultiMap< _Tp > Class Template Reference

#include <G4THitsMap.hh>

+ Inheritance diagram for G4THitsMultiMap< _Tp >:

Public Types

using parent_type = G4VTHitsMap<_Tp, std::multimap<G4int, _Tp *>>
 
- Public Types inherited from G4VTHitsMap< _Tp, std::multimap< G4int, _Tp * > >
using this_type
 
using value_type
 
using map_type
 
using iterator
 
using const_iterator
 

Public Member Functions

 G4THitsMultiMap ()
 
 G4THitsMultiMap (G4String detName, G4String colName)
 
- Public Member Functions inherited from G4VTHitsMap< _Tp, std::multimap< G4int, _Tp * > >
 G4VTHitsMap ()
 
 G4VTHitsMap (G4String detName, G4String colNam)
 
 ~G4VTHitsMap () override
 
G4bool operator== (const G4VTHitsMap< _Tp, std::multimap< G4int, _Tp * > > &right) const
 
this_typeoperator+= (const G4VTHitsMap< U, MapU_t > &right) const
 
void DrawAllHits () override
 
void PrintAllHits () override
 
std::multimap< G4int, _Tp * > * GetContainer () const
 
std::multimap< G4int, _Tp * >::size_type size ()
 
std::multimap< G4int, _Tp * >::size_type GetIndex (iterator itr)
 
std::multimap< G4int, _Tp * >::size_type GetIndex (const_iterator itr) const
 
_Tp * GetObject (G4int idx) const
 
_Tp * GetObject (G4int idx) const
 
_Tp * GetObject (iterator itr) const
 
const _Tp * GetObject (const_iterator itr) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
std::multimap< G4int, _Tp * > * GetMap () const
 
size_t entries () const
 
void clear ()
 
G4VHitGetHit (size_t) const override
 
size_t GetSize () const override
 
size_t add (const G4int &key, U *&aHit) const
 
size_t add (const G4int &key, U *&aHit) const
 
size_t add (const G4int &key, U *&aHit) const
 
size_t add (const G4int &key, U &aHit) const
 
size_t add (const G4int &key, U &aHit) const
 
size_t add (const G4int &key, U &aHit) const
 
size_t add (const G4int &key, U &aHit) const
 
size_t set (const G4int &key, U *&aHit) const
 
size_t set (const G4int &key, U *&aHit) const
 
size_t set (const G4int &key, U *&aHit) const
 
size_t set (const G4int &key, U *&aHit) const
 
size_t set (const G4int &key, U &aHit) const
 
size_t set (const G4int &key, U &aHit) const
 
size_t set (const G4int &key, U &aHit) const
 
size_t set (const G4int &key, U &aHit) const
 
_Tp * operator[] (G4int key) const
 
_Tp * 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 G4StringGetName () const
 
const G4StringGetSDname () 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
 

Detailed Description

template<typename _Tp>
class G4THitsMultiMap< _Tp >

Definition at line 560 of file G4THitsMap.hh.

Member Typedef Documentation

◆ parent_type

template<typename _Tp >
using G4THitsMultiMap< _Tp >::parent_type = G4VTHitsMap<_Tp, std::multimap<G4int, _Tp *>>

Definition at line 563 of file G4THitsMap.hh.

Constructor & Destructor Documentation

◆ G4THitsMultiMap() [1/2]

template<typename _Tp >
G4THitsMultiMap< _Tp >::G4THitsMultiMap ( )
inline

Definition at line 566 of file G4THitsMap.hh.

566: parent_type() {}
G4VTHitsMap< _Tp, std::multimap< G4int, _Tp * > > parent_type

◆ G4THitsMultiMap() [2/2]

template<typename _Tp >
G4THitsMultiMap< _Tp >::G4THitsMultiMap ( G4String detName,
G4String colName )
inline

Definition at line 567 of file G4THitsMap.hh.

567: parent_type(detName, colName) {}

The documentation for this class was generated from the following file: